Server IP : 92.204.138.22 / Your IP : 18.189.170.205 Web Server : Apache System : Linux ns1009439.ip-92-204-138.us 4.18.0-553.8.1.el8_10.x86_64 #1 SMP Tue Jul 2 07:26:33 EDT 2024 x86_64 User : internationaljou ( 1019) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /proc/self/root/proc/thread-self/root/usr/share/doc/platform-python-setuptools/ |
Upload File : |
=============== Release Process =============== In order to allow for rapid, predictable releases, Setuptools uses a mechanical technique for releases, enacted by Travis following a successful build of a tagged release per `PyPI deployment <https://docs.travis-ci.com/user/deployment/pypi>`_. Prior to cutting a release, please use `towncrier`_ to update ``CHANGES.rst`` to summarize the changes since the last release. To update the changelog: 1. Install towncrier via ``pip install towncrier`` if not already installed. 2. Preview the new ``CHANGES.rst`` entry by running ``towncrier --draft --version {new.version.number}`` (enter the desired version number for the next release). If any changes are needed, make them and generate a new preview until the output is acceptable. Run ``git add`` for any modified files. 3. Run ``towncrier --version {new.version.number}`` to stage the changelog updates in git. Once the changelog edits are staged and ready to commit, cut a release by installing and running ``bump2version {part}`` where ``part`` is major, minor, or patch based on the scope of the changes in the release. Then, push the commits to the master branch:: $ git push origin master $ git push --tags If tests pass, the release will be uploaded to PyPI (from the Python 3.6 tests). .. _towncrier: https://pypi.org/project/towncrier/ Release Frequency ----------------- Some have asked why Setuptools is released so frequently. Because Setuptools uses a mechanical release process, it's very easy to make releases whenever the code is stable (tests are passing). As a result, the philosophy is to release early and often. While some find the frequent releases somewhat surprising, they only empower the user. Although releases are made frequently, users can choose the frequency at which they use those releases. If instead Setuptools contributions were only released in batches, the user would be constrained to only use Setuptools when those official releases were made. With frequent releases, the user can govern exactly how often he wishes to update. Frequent releases also then obviate the need for dev or beta releases in most cases. Because releases are made early and often, bugs are discovered and corrected quickly, in many cases before other users have yet to encounter them. Release Managers ---------------- Additionally, anyone with push access to the master branch has access to cut releases.