-
Notifications
You must be signed in to change notification settings - Fork 251
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into legacy-specifier-set
- Loading branch information
Showing
27 changed files
with
626 additions
and
121 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
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 |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
*.egg | ||
*.py[co] | ||
|
||
.tox/ | ||
.[nt]ox/ | ||
.cache/ | ||
.coverage | ||
.idea | ||
|
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
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
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 |
---|---|---|
@@ -1,35 +1,26 @@ | ||
Release Process | ||
=============== | ||
|
||
#. Checkout the current ``master`` branch, with a clean working directory. | ||
#. Modify the ``CHANGELOG.rst`` to include changes made since the last release | ||
and update the section header for the new release. | ||
#. Bump the version in ``packaging/__about__.py`` | ||
|
||
#. Install the latest ``setuptools``, ``wheel`` and ``twine`` packages | ||
from PyPI:: | ||
|
||
$ pip install --upgrade setuptools wheel twine | ||
|
||
#. Ensure no ``dist/`` folder exists and then create the distribution files:: | ||
#. Checkout the current ``master`` branch. | ||
#. Install the latest ``nox``:: | ||
|
||
$ python setup.py sdist bdist_wheel | ||
$ pip install nox | ||
|
||
#. Check the built distribution files with ``twine``:: | ||
|
||
$ twine check dist/* | ||
#. Modify the ``CHANGELOG.rst`` to include changes made since the last release | ||
and update the section header for the new release. | ||
|
||
#. Commit the changes to ``master``. | ||
#. Run the release automation with the required version number (YY.N):: | ||
|
||
#. If all goes well, upload the build distribution files:: | ||
$ nox -s release -- YY.N | ||
|
||
$ twine upload dist/* | ||
#. Modify the ``CHANGELOG.rst`` to reflect the development version does not | ||
have any changes since the last release. | ||
|
||
#. Create a | ||
`release on GitHub <https://github.com/pypa/packaging/releases>`_ and | ||
include the artifacts uploaded to PyPI. | ||
#. Notify the other project owners of the release. | ||
|
||
#. Bump the version for development in ``packaging/__about__.py`` and | ||
``CHANGELOG.rst``. | ||
.. note:: | ||
Access needed for making the release are: | ||
|
||
#. Notify the other project owners of the release. | ||
- PyPI maintainer (or owner) access to `packaging` | ||
- push directly to the `master` branch on the source repository | ||
- push tags directly to the source repository |
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
Oops, something went wrong.