Skip to content
This repository has been archived by the owner on Jan 2, 2021. It is now read-only.

Commit

Permalink
Release 7.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
brettcannon committed Nov 1, 2019
1 parent 9791b59 commit 70617bc
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 17 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,15 +103,15 @@ 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
```

# 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))
Expand Down
25 changes: 13 additions & 12 deletions RELEASING.md
Original file line number Diff line number Diff line change
@@ -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)
2 changes: 1 addition & 1 deletion dev_requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
mock
pylint
unittest2
unittest2;python_version=="2.7"
tox
6 changes: 4 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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='[email protected]',
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"',
Expand All @@ -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': [
Expand Down

0 comments on commit 70617bc

Please sign in to comment.