Skip to content

Commit 73d28fa

Browse files
authored
Merge pull request #31 from UDST/dev
Finalize v0.1.7
2 parents e57d5e5 + 47cfec0 commit 73d28fa

File tree

13 files changed

+124
-71
lines changed

13 files changed

+124
-71
lines changed

.travis.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
language: python
22

33
python:
4-
- '3.5'
5-
- '3.6'
6-
- '3.7'
74
- '3.8'
5+
- '3.9'
6+
- '3.10'
87

98
install:
109
- pip install .

CHANGELOG.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
v0.1.7
2+
======
3+
4+
2023/8/7
5+
6+
* adds support for Shapely 2.0
7+
18
v0.1.6
29
======
310

CONTRIBUTING.md

Lines changed: 42 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,46 +1,67 @@
1-
## If you have found an error:
1+
Thanks for using OSMnet!
22

3-
- check the error message and [documentation](https://udst.github.io/osmnet/index.html)
4-
- search the previously opened and closed issues to see if the problem has already been reported
5-
- if the problem is with a dependency of OSMnet, please open an issue on the dependency's repo
6-
- if the problem is with OSMnet and you think you may have a fix, please submit a PR, otherwise please open an issue in the [issue tracker](https://github.com/UDST/osmnet/issues) following the issue template
3+
This is an open source project that's part of the Urban Data Science Toolkit. Development and maintenance is a collaboration between UrbanSim Inc, U.C. Berkeley's Urban Analytics Lab, and other contributors.
74

8-
## Making a feature proposal or contributing code:
5+
## If you have a problem:
6+
7+
- Take a look at the [open issues](https://github.com/UDST/osmnet/issues) and [closed issues](https://github.com/UDST/osmnet/issues?q=is%3Aissue+is%3Aclosed) to see if there's already a related discussion
8+
9+
- Open a new issue describing the problem -- if possible, include any error messages, a full reproducible example of the code that generated the error, the operating system and version of Python you're using, and versions of any libraries that may be relevant
10+
11+
## Feature proposals:
12+
13+
- Take a look at the [open issues](https://github.com/UDST/osmnet/issues) and [closed issues](https://github.com/UDST/osmnet/issues?q=is%3Aissue+is%3Aclosed) to see if there's already a related discussion
14+
15+
- Post your proposal as a new issue, so we can discuss it (some proposals may not be a good fit for the project)
16+
17+
## Contributing code:
18+
19+
- Create a new branch of `UDST/osmnet/dev`, or fork the repository to your own account
20+
21+
- Make your changes, following the existing styles for code and inline documentation
22+
23+
- Add [tests](https://github.com/UDST/osmnet/tree/dev/osmnet/tests) if possible
24+
- We use the test suite: Pytest
25+
26+
- Run tests and address any issues that may be flagged. If flags are raised that are not due to the PR note that in a new comment in the PR
27+
- Run Pytest test suite: `py.test`
28+
- OSMnet currently supports Python 3.5, 3.6, 3.7, 3.8. Tests will be run in these environments when the PR is created but any flags raised in these environments should also be addressed
29+
- Run pycodestyle Python style guide checker: `pycodestyle --max-line-length=100 osmnet`
30+
31+
- Open a pull request to the `UDST/osmnet` `dev` branch, including a writeup of your changes -- take a look at some of the closed PR's for examples
32+
33+
- Current maintainers will review the code, suggest changes, and hopefully merge it and schedule it for an upcoming release
934

10-
- post your requested feature on the [issue tracker](https://github.com/UDST/osmnet/issues) and mark it with a `New feature` label so it can be reviewed
11-
- fork the repo, make your change (your code should attempt to conform to OSMnet's existing coding, commenting, and docstring styles), add new or update [unit tests](https://github.com/UDST/osmnet/tree/master/osmnet/tests), and submit a PR
12-
- respond to the code review
1335
## Updating the documentation:
1436

1537
- See instructions in `docs/README.md`
1638

17-
1839
## Preparing a release:
1940

2041
- Make a new branch for release prep
2142

22-
- Update the version number and changelog
43+
- Update the version number and changelog:
2344
- `CHANGELOG.md`
2445
- `setup.py`
2546
- `osmnet/__init__.py`
2647
- `docs/source/index.rst`
48+
- `docs/source/conf.py`
2749

2850
- Make sure all the tests are passing, and check if updates are needed to `README.md` or to the documentation
2951

30-
- Open a pull request to the master branch to finalize it
31-
32-
- After merging, tag the release on GitHub and follow the distribution procedures below
52+
- Open a pull request to the `dev` branch to finalize it and wait for a PR review and approval
3353

54+
- After the PR has been approved, it can be merged to `dev`. Then a release PR can be created from `dev` to merge into `master`. Once merged, tag the release on GitHub and follow the distribution procedures below:
3455

3556
## Distributing a release on PyPI (for pip installation):
3657

3758
- Register an account at https://pypi.org, ask one of the current maintainers to add you to the project, and `pip install twine`
3859

3960
- Check out the copy of the code you'd like to release
4061

41-
- Run `python setup.py sdist bdist_wheel --universal`
62+
- Run `python setup.py sdist bdist_wheel` (WITHOUT the `--universal` flag, since OSMnet no longer supports Python 2)
4263

43-
- This should create a `dist` directory containing two package files -- delete any old ones before the next step
64+
- This should create a `dist` directory containing a gzip package file -- delete any old ones before the next step
4465

4566
- Run `twine upload dist/*` -- this will prompt you for your pypi.org credentials
4667

@@ -49,8 +70,12 @@
4970

5071
## Distributing a release on Conda Forge (for conda installation):
5172

52-
- The [conda-forge/osmnet-feedstock](https://github.com/conda-forge/osmnet-feedstock) repository controls the Conda Forge release
73+
- The [conda-forge/osmnet-feedstock](https://github.com/conda-forge/osmnet-feedstock) repository controls the Conda Forge release, including which GitHub users have maintainer status for the repo
5374

5475
- Conda Forge bots usually detect new releases on PyPI and set in motion the appropriate feedstock updates, which a current maintainer will need to approve and merge
5576

77+
- Maintainers can add on additional changes before merging the PR, for example to update the requirements or edit the list of maintainers
78+
79+
- You can also fork the feedstock and open a PR manually. It seems like this must be done from a personal account (not a group account like UDST) so that the bots can be granted permission for automated cleanup
80+
5681
- Check https://anaconda.org/conda-forge/osmnet for the new version (may take a few minutes for it to appear)

LICENSE.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
GNU AFFERO GENERAL PUBLIC LICENSE
22
Version 3, 19 November 2007
33

4-
Copyright (C) 2020 UrbanSim Inc.
4+
Copyright (C) 2022 UrbanSim Inc.
55

66
Everyone is permitted to copy and distribute verbatim copies
77
of this license document, but changing it is not allowed.

README.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,11 @@ Overview
1212

1313
OSMnet offers tools to download street network data from OpenStreetMap
1414
and extract a graph network comprised of nodes and edges to be used in
15-
`Pandana`_ street network accessibility calculations.
15+
`Pandana`_ street network accessibility calculations and or `UrbanAccess`_
16+
to connect GTFS transit networks to road networks.
1617

1718
Let us know what you are working on or if you think you have a great use case
18-
by tweeting us at ``@urbansim`` or post on the UrbanSim `forum`_.
19+
by tweeting us at ``@urbansim``.
1920

2021
Library Status
2122
--------------
@@ -84,7 +85,6 @@ Related UDST libraries
8485
.. _OSMnet repo: https://github.com/udst/osmnet
8586
.. _here: https://udst.github.io/osmnet/index.html
8687
.. _UrbanAccess: https://github.com/UDST/urbanaccess
87-
.. _forum: http://discussion.urbansim.com/
8888

8989
.. |Build Status| image:: https://travis-ci.org/UDST/osmnet.svg?branch=master
9090
:target: https://travis-ci.org/UDST/osmnet

appveyor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ build: false
22

33
environment:
44
matrix:
5-
- PYTHON: 3.6
5+
- PYTHON: 3.8
66

77
init:
88
- "ECHO %PYTHON%"

docs/source/conf.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,10 @@
2828
source_suffix = '.rst'
2929
master_doc = 'index'
3030
project = u'OSMnet'
31-
copyright = u'2020, UrbanSim Inc.'
31+
copyright = u'2023, UrbanSim Inc.'
3232
author = u'UrbanSim Inc.'
33-
version = u'0.1.6'
34-
release = u'0.1.6'
33+
version = u'0.1.7'
34+
release = u'0.1.7'
3535
language = None
3636

3737
nitpicky = True

docs/source/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ OSMnet
33

44
Tools for the extraction of `OpenStreetMap`_ (OSM) street network data. Intended to be used in tandem with `Pandana`_ and `UrbanAccess`_ libraries to extract street network nodes and edges.
55

6-
v0.1.6, released July 13, 2020.
6+
v0.1.7, released August 7, 2023.
77

88
Contents
99
--------

docs/source/introduction.rst

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Introduction
44
OSMnet provides tools for the extraction of `OpenStreetMap`_ (OSM) street network data. OSMnet is intended to be used in tandem with `Pandana`_ and `UrbanAccess`_ libraries to extract street network nodes and edges.
55

66
Let us know what you are working on or if you think you have a great use case
7-
by tweeting us at ``@urbansim`` or post on the UrbanSim `forum`_.
7+
by tweeting us at ``@urbansim``.
88

99
Reporting bugs
1010
~~~~~~~~~~~~~~~~~~~~~~~~
@@ -39,5 +39,3 @@ Related UDST libraries
3939
.. _Pandana: https://github.com/UDST/pandana
4040

4141
.. _UrbanAccess: https://github.com/UDST/urbanaccess
42-
43-
.. _forum: http://discussion.urbansim.com/

osmnet/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
from .load import *
22

3-
__version__ = "0.1.6"
3+
__version__ = "0.1.7"
44

55
version = __version__

0 commit comments

Comments
 (0)