-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #66 from UDST/release-prep
Preparing v0.2.1 release
- Loading branch information
Showing
26 changed files
with
285 additions
and
252 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,45 +1,39 @@ | ||
language: python | ||
sudo: false | ||
|
||
python: | ||
- '2.7' | ||
- '3.6' | ||
- '2.7' | ||
- '3.5' | ||
- '3.6' | ||
- '3.7' | ||
- '3.8' | ||
|
||
matrix: | ||
allow_failures: | ||
- python: '3.6' # travis hangs in demo notebook | ||
env: PANDANA=">=0.4" | ||
fast_finish: true | ||
services: | ||
- xvfb # allows matplotlib display | ||
|
||
install: | ||
- wget http://bit.ly/miniconda -O miniconda.sh | ||
- bash miniconda.sh -b -p $HOME/miniconda | ||
- export PATH="$HOME/miniconda/bin:$PATH" | ||
- hash -r | ||
- conda config --set always_yes yes --set changeps1 no | ||
- conda update -q conda | ||
- conda info -a | ||
- conda config --add channels udst | ||
- conda config --add channels conda-forge | ||
- conda create -q -n test-env python=$TRAVIS_PYTHON_VERSION pip numpy pandas pytest jupyter pycodestyle matplotlib scikit-learn pyyaml basemap basemap-data-hires pandana$PANDANA geopy osmnet | ||
- source activate test-env | ||
- conda list | ||
- pip install . | ||
|
||
after_success: | ||
- bin/build_docs.sh | ||
- wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh | ||
- bash miniconda.sh -b -p $HOME/miniconda | ||
- export PATH="$HOME/miniconda/bin:$PATH" | ||
- hash -r | ||
- conda config --set always_yes yes --set show_channel_urls true | ||
- conda update -n base conda | ||
- conda config --prepend channels conda-forge | ||
- conda create -n test-environment python=$TRAVIS_PYTHON_VERSION pyyaml --file requirements-dev.txt | ||
- source activate test-environment | ||
- conda info --all | ||
- pip install . | ||
- pip list | ||
- pip show urbanaccess | ||
|
||
script: | ||
- pycodestyle urbanaccess | ||
- py.test | ||
- cd demo; jupyter nbconvert --to python simple_example.ipynb | ||
- cd ../urbanaccess/tests/integration; python remove_nb_magic.py -in simple_example.py -out simple_example_clean.py | ||
- cd ../../../demo; python simple_example_clean.py | ||
- cd ../urbanaccess/tests/integration; python integration_madison.py | ||
- python integration_sandiego.py && cd $TRAVIS_BUILD_DIR | ||
|
||
env: | ||
matrix: | ||
- PANDANA="=0.3" | ||
- PANDANA=">=0.4" | ||
global: | ||
secure: SW6dfeQen1oZUYa2pr/qMdJGDK5c3tIbJsF1POLSMtgpbYaRQvogCkCd7sFXiTkxTCaNnz/eQyT2nDyUZJyDmYpntZmRthuN1zDgNk8ziDpmy/PF1bD4eshDr3MeoI4HgNYryl5qD8brEP0up0P/rvaAMoi26w4eyk0r+sO3PDVF6Jy4MwTufY4a4B4qYpi7V8yhExExytshHOEjD8C2IqEQDkwyR9oto2Gx8EpoCJEvxETG+aqLw1xj2UnXnbWND10Ni6pkeRpjAHFv4qM0i35griG2RKu9075Dubz/6UPMvpIEy581Zx5cqaSuOSUzde1L172vLTgOH31lnFXe1flHau1wI2gxOiamSdlVTAnVtL5P1aEtm1L5FjBcPlIs9rHmNGnydByX1Qe16HRLUopgAVm+jLZqWxrlesC5ax3uJ6Q3g0ZyKfmTJ5uWDeRusMVZswBT3NJc0BhkHDq7tE+3fokBfFApJcQwoXIplvRwXPkGFtKnL2IgCMTrKbDzGEYfdm/v7eV2xYe5hrEUIC9cUhkC1Ns2azAERXSgWcyM7ciFH3r1Jz9ixT+fuw9bTXibqcMjAmxdcQAW9y/rIPRJ3GMSdT7WEzYX19naGr+oyKqVMgsHFQ+wL7U5iblAGIy8VLNpE7Aa67dyG6SVAPTGzp0RouYLY9LYiRIybrI= | ||
- pycodestyle urbanaccess | ||
- py.test | ||
- cd demo | ||
- jupyter nbconvert --to python simple_example.ipynb | ||
- cd ../urbanaccess/tests/integration | ||
- python remove_nb_magic.py -in simple_example.py -out simple_example_clean.py | ||
- cd ../../../demo | ||
- python simple_example_clean.py | ||
- cd ../urbanaccess/tests/integration | ||
- python integration_madison.py | ||
- python integration_sandiego.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,11 @@ | ||
v0.2.1 | ||
====== | ||
|
||
2020/08/28 | ||
|
||
* Support for GeoPy 2.0+ | ||
* Support for Pandas 1.0+ | ||
|
||
v0.2.0 | ||
====== | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
## Preparing a release: | ||
|
||
- Make a new branch for release prep | ||
|
||
- Update the version number and changelog | ||
- `CHANGELOG.md` | ||
- `setup.py` | ||
- `urbanaccess/__init__.py` | ||
- `docs/source/conf.py` | ||
- `docs/source/index.rst` | ||
|
||
- Make sure all the tests are passing, and check if updates are needed to `README.md` or to the documentation | ||
|
||
- Open a pull request to the master branch to finalize it | ||
|
||
- After merging, tag the release on GitHub and follow the distribution procedures below | ||
|
||
|
||
## Distributing a release on PyPI (for pip installation): | ||
|
||
- Register an account at https://pypi.org, ask one of the current maintainers to add you to the project, and `pip install twine` | ||
|
||
- Check out the copy of the code you'd like to release | ||
|
||
- Run `python setup.py sdist bdist_wheel --universal` | ||
|
||
- This should create a `dist` directory containing two package files -- delete any old ones before the next step | ||
|
||
- Run `twine upload dist/*` -- this will prompt you for your pypi.org credentials | ||
|
||
- Check https://pypi.org/project/osmnet/ for the new version | ||
|
||
|
||
## Distributing a release on Conda Forge (for conda installation): | ||
|
||
- The [conda-forge/urbanaccess-feedstock](https://github.com/conda-forge/urbanaccess-feedstock) repository controls the Conda Forge release | ||
|
||
- 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 | ||
|
||
- Check https://anaconda.org/conda-forge/urbanaccess for the new version (may take a few minutes for it to appear) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# files to include in the source distribution on pypi (setup and README are included automatically) | ||
|
||
include CHANGELOG.rst | ||
include License.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.