Skip to content

Commit

Permalink
#208 Release 0.16.1 with requirement Python >= 2.7
Browse files Browse the repository at this point in the history
  • Loading branch information
tobgu committed Sep 13, 2020
1 parent ff4b649 commit 239a9c0
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 5 deletions.
4 changes: 4 additions & 0 deletions CHANGES.txt
@@ -1,5 +1,9 @@
Revision history
----------------
0.16.1, 2020-09-13
* Add "python_requires >= 2.7" to setup.py in preparation for Python 2.7 incompatible updates
in 0.17.

0.16.0, 2020-03-24
* No major updates but Python 2 support no longer guaranteed.
* Fix #192, 'ignore_extra' for 'pvector_field'. Thanks @ss18 for this!
Expand Down
9 changes: 6 additions & 3 deletions README.rst
Expand Up @@ -702,12 +702,15 @@ Run test for Python 2.7: ``tox -epy27``

Release
~~~~~~~
* `pip install -r requirements.txt`
* Update CHANGES.txt
* Update README with any new contributors and potential info needed.
* Update _pyrsistent_version.py
* python setup.py sdist upload
* Commit and tag with new version: git add -u . && git commit -m 'Prepare version vX.Y.Z' && git tag -a vX.Y.Z -m 'vX.Y.Z'
* Push commit and tags: git push && git push --tags
* `rm -rf dist/* && python setup.py sdist`
* (`twine upload -r testpypi dist/*`), if testing the distribution on testpypi
* `twine upload dist/*`
* Commit and tag with new version: `git add -u . && git commit -m 'Prepare version vX.Y.Z' && git tag -a vX.Y.Z -m 'vX.Y.Z'`
* Push commit and tags: `git push && git push --tags`

Project status
--------------
Expand Down
2 changes: 1 addition & 1 deletion _pyrsistent_version.py
@@ -1 +1 @@
__version__ = '0.16.0'
__version__ = '0.16.1'
5 changes: 4 additions & 1 deletion requirements.txt
@@ -1,3 +1,4 @@
# Requirements for developing, testing and releasing pyrsistent
Sphinx
pytest<5
sphinx-rtd-theme==0.1.5
Expand All @@ -7,4 +8,6 @@ tox
six
pyperform
hypothesis<5
setuptools
setuptools>=0.16.1
twine>=3.2
pip>=20.2.3
1 change: 1 addition & 0 deletions setup.py
Expand Up @@ -78,4 +78,5 @@ def build_extension(self, ext):
install_requires=['six'],
packages=['pyrsistent'],
package_data={'pyrsistent': ['py.typed', '__init__.pyi', 'typing.pyi']},
python_requires='>=2.7',
)

0 comments on commit 239a9c0

Please sign in to comment.