From 70617bc5fff96d4cb1277cbc725f86d1bf69a765 Mon Sep 17 00:00:00 2001 From: Brett Cannon Date: Fri, 1 Nov 2019 15:33:28 -0700 Subject: [PATCH] Release 7.2.0 --- README.md | 4 ++-- RELEASING.md | 25 +++++++++++++------------ dev_requirements.txt | 2 +- setup.py | 6 ++++-- 4 files changed, 20 insertions(+), 17 deletions(-) diff --git a/README.md b/README.md index 4e90830..3d48a94 100644 --- a/README.md +++ b/README.md @@ -103,7 +103,7 @@ You can add the following hook in your `.pre-commit-config.yaml` file. ] stages: [commit] # Change it to `manual`, if `caniusepython3` takes too long between commits, so as to only run them manually in build jobs. ``` - + If you are running manually somewhere, we can run the following command: ``` pre-commit run --hook-stage manual caniusepython3 --files requirements.txt @@ -111,7 +111,7 @@ pre-commit run --hook-stage manual caniusepython3 --files requirements.txt # Change Log -# 7.2.0 (in development) +# 7.2.0 * Add an `--index`/`-i` flag to specify an index URL (thanks [macleodbroad-wf](https://github.com/macleodbroad-wf)) * Add support for [pre-commit](https://pre-commit.com/) (thanks [Milind Shakya](https://github.com/milind-shakya-sp)) * Update overrides data (thanks [Andriy Yablonskyy](https://github.com/yablonsky)) diff --git a/RELEASING.md b/RELEASING.md index a063d53..f5f63aa 100644 --- a/RELEASING.md +++ b/RELEASING.md @@ -1,12 +1,13 @@ -0. Make sure all changes are live and that Travis is green -0. Delete all packaging-related directories(including `dist/`) -0. Verify there are no stale overrides -0. Update README.md with release notes -0. Update setup.py for the new version number -0. `python3 -m pip install --upgrade setuptools twine wheel` -0. `python3 setup.py sdist` -0. `python3 setup.py bdist_wheel` -0. `python3 -m twine upload dist/*` -0. Commit everything for the release -0. `git push` -0. Create a [release on GitHub](https://github.com/brettcannon/caniusepython3/releases) +1. Make sure all changes are live and that Travis is green +1. Delete all packaging-related directories(including `dist/`) +1. Verify there are no stale overrides +1. Update `README.md` with release notes +1. Update `setup.py` with the new version number +1. `python3 -m pip install --upgrade setuptools twine wheel` +1. `python3 setup.py sdist` +1. `python3 setup.py bdist_wheel` +1. `python3 -m twine check dist/*` +1. `python3 -m twine upload dist/*` +1. Commit everything from the release +1. `git push` +1. Create a [release on GitHub](https://github.com/brettcannon/caniusepython3/releases) diff --git a/dev_requirements.txt b/dev_requirements.txt index 48010cb..2b519ca 100644 --- a/dev_requirements.txt +++ b/dev_requirements.txt @@ -1,4 +1,4 @@ mock pylint -unittest2 +unittest2;python_version=="2.7" tox diff --git a/setup.py b/setup.py index 5cd356c..2fb82ab 100644 --- a/setup.py +++ b/setup.py @@ -13,15 +13,16 @@ tests_require = [dep.strip() for dep in file.readlines()] setup(name='caniusepython3', - version='7.1.0', + version='7.2.0', description='Determine what projects are blocking you from porting to Python 3', long_description=long_description, + long_description_content_type='text/x-rst', author='Brett Cannon', author_email='brett@python.org', url='https://github.com/brettcannon/caniusepython3', packages=['caniusepython3', 'caniusepython3.test'], include_package_data=True, - requires_python='>=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*', + requires_python='>=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*', install_requires=['distlib', 'setuptools', 'packaging', # Input flexibility 'argparse', 'backports.functools_lru_cache', 'futures ; python_version=="2.7"', @@ -39,6 +40,7 @@ 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', + 'Programming Language :: Python :: 3.8', ], entry_points={ 'console_scripts': [