-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
NEP-29 - enforce minimum Python version 3.10 (#6591)
- Raise exception if running with Python <= 3.9.x - Clean up checks and notes relevant for old Pythons - Bump up to numpy~=1.22 which is effectively the minimum version that works with Python 3.10. We are a bit more permissive than NEP 29 which suggests numpy-1.23+. Fixes: #6463 Ref: https://numpy.org/neps/nep-0029-deprecation_policy.html
- Loading branch information
1 parent
46eab2d
commit f6bfb7f
Showing
17 changed files
with
28 additions
and
36 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -60,7 +60,7 @@ | |
url='http://github.com/quantumlib/cirq', | ||
author='The Cirq Developers', | ||
author_email='[email protected]', | ||
python_requires=('>=3.9.0'), | ||
python_requires=('>=3.10.0'), | ||
install_requires=requirements, | ||
license='Apache 2', | ||
description=description, | ||
|
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 |
---|---|---|
|
@@ -63,7 +63,7 @@ | |
url='http://github.com/quantumlib/cirq', | ||
author='The Cirq Developers', | ||
author_email='[email protected]', | ||
python_requires=('>=3.9.0'), | ||
python_requires=('>=3.10.0'), | ||
install_requires=requirements, | ||
extras_require={'contrib': contrib_requirements}, | ||
license='Apache 2', | ||
|
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 |
---|---|---|
|
@@ -59,7 +59,7 @@ | |
url='http://github.com/quantumlib/cirq', | ||
author='The Cirq Developers', | ||
author_email='[email protected]', | ||
python_requires='>=3.9.0', | ||
python_requires='>=3.10.0', | ||
install_requires=requirements, | ||
license='Apache 2', | ||
description=description, | ||
|
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 |
---|---|---|
|
@@ -62,7 +62,7 @@ | |
url='http://github.com/quantumlib/cirq', | ||
author='The Cirq Developers', | ||
author_email='[email protected]', | ||
python_requires=('>=3.9.0'), | ||
python_requires=('>=3.10.0'), | ||
install_requires=requirements, | ||
license='Apache 2', | ||
description=description, | ||
|
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 |
---|---|---|
|
@@ -59,7 +59,7 @@ | |
url='http://github.com/quantumlib/cirq', | ||
author='The Cirq Developers', | ||
author_email='[email protected]', | ||
python_requires=('>=3.9.0'), | ||
python_requires=('>=3.10.0'), | ||
install_requires=requirements, | ||
license='Apache 2', | ||
description=description, | ||
|
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 |
---|---|---|
|
@@ -58,7 +58,7 @@ | |
url='http://github.com/quantumlib/cirq', | ||
author='The Cirq Developers', | ||
author_email='[email protected]', | ||
python_requires='>=3.9.0', | ||
python_requires='>=3.10.0', | ||
install_requires=requirements, | ||
license='Apache 2', | ||
description=description, | ||
|
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 |
---|---|---|
|
@@ -60,7 +60,7 @@ | |
url='http://github.com/quantumlib/cirq', | ||
author='The Cirq Developers', | ||
author_email='[email protected]', | ||
python_requires='>=3.9.0', | ||
python_requires='>=3.10.0', | ||
install_requires=requirements, | ||
license='Apache 2', | ||
description=description, | ||
|
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 |
---|---|---|
|
@@ -62,7 +62,7 @@ | |
url='http://github.com/quantumlib/cirq', | ||
author='The Cirq Developers', | ||
author_email='[email protected]', | ||
python_requires='>=3.9.0', | ||
python_requires='>=3.10.0', | ||
install_requires=requirements, | ||
license='Apache 2', | ||
description=description, | ||
|
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 |
---|---|---|
|
@@ -37,7 +37,7 @@ def test_modules(): | |
'url': 'http://github.com/quantumlib/cirq', | ||
'author': 'The Cirq Developers', | ||
'author_email': '[email protected]', | ||
'python_requires': '>=3.9.0', | ||
'python_requires': '>=3.10.0', | ||
'install_requires': ['req1', 'req2'], | ||
'license': 'Apache 2', | ||
'packages': ['pack1', 'pack1.sub'], | ||
|
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 |
---|---|---|
|
@@ -22,7 +22,7 @@ | |
url='http://github.com/quantumlib/cirq', | ||
author='The Cirq Developers', | ||
author_email='[email protected]', | ||
python_requires=('>=3.9.0'), | ||
python_requires=('>=3.10.0'), | ||
install_requires=requirements, | ||
license='Apache 2', | ||
packages=pack1_packages, | ||
|
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 |
---|---|---|
|
@@ -64,7 +64,7 @@ | |
url='http://github.com/quantumlib/cirq', | ||
author='The Cirq Developers', | ||
author_email='[email protected]', | ||
python_requires='>=3.9.0', | ||
python_requires='>=3.10.0', | ||
install_requires=requirements, | ||
extras_require={'dev_env': dev_requirements}, | ||
license='Apache 2', | ||
|