Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions cirq-aqt/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,7 @@
author_email='cirq-dev@googlegroups.com',
maintainer="Google Quantum AI open-source maintainers",
maintainer_email="quantum-oss-maintainers@google.com",
# TODO: #6648 - update when internal docs build supports python3.11
python_requires='>=3.10.0',
python_requires='>=3.11.0',
install_requires=requirements,
license='Apache 2',
description=description,
Expand Down
11 changes: 5 additions & 6 deletions cirq-core/cirq/_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,20 +13,19 @@
# limitations under the License.

"""Define version number here, read it from setup.py automatically,
and warn users that the latest version of cirq uses python 3.11+"""
and warn users that the latest version of Cirq uses Python 3.11+"""

import sys

# TODO: #6648 - update when internal docs build supports python3.11
if sys.version_info < (3, 11 - 1, 0): # pragma: no cover
if sys.version_info < (3, 11, 0): # pragma: no cover
raise SystemError(
"You installed the latest version of cirq but aren't on python 3.11+.\n"
"You installed the latest version of Cirq but aren't on Python 3.11+.\n"
'To fix this error, you need to either:\n'
'\n'
'A) Update to python 3.11 or later.\n'
'A) Update to Python 3.11 or later.\n'
'- OR -\n'
'B) Explicitly install an older deprecated-but-compatible version '
'of cirq (e.g. "python -m pip install cirq==1.5.0")'
'of Cirq (e.g. "python -m pip install cirq==1.5.0")'
)

__version__ = "1.6.0.dev0"
3 changes: 1 addition & 2 deletions cirq-core/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,7 @@
author_email='cirq-dev@googlegroups.com',
maintainer="The Quantum AI open-source software maintainers",
maintainer_email="quantum-oss-maintainers@google.com",
# TODO: #6648 - update when internal docs build supports python3.11
python_requires='>=3.10.0',
python_requires='>=3.11.0',
install_requires=requirements,
extras_require={'contrib': contrib_requirements},
license='Apache 2',
Expand Down
11 changes: 5 additions & 6 deletions cirq-google/cirq_google/_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,20 +13,19 @@
# limitations under the License.

"""Define version number here, read it from setup.py automatically,
and warn users that the latest version of cirq uses python 3.11+"""
and warn users that the latest version of Cirq uses Python 3.11+"""

import sys

# TODO: #6648 - update when internal docs build supports python3.11
if sys.version_info < (3, 11 - 1, 0): # pragma: no cover
if sys.version_info < (3, 11, 0): # pragma: no cover
raise SystemError(
"You installed the latest version of cirq but aren't on python 3.11+.\n"
"You installed the latest version of Cirq but aren't on Python 3.11+.\n"
'To fix this error, you need to either:\n'
'\n'
'A) Update to python 3.11 or later.\n'
'A) Update to Python 3.11 or later.\n'
'- OR -\n'
'B) Explicitly install an older deprecated-but-compatible version '
'of cirq (e.g. "python -m pip install cirq==1.5.0")'
'of Cirq (e.g. "python -m pip install cirq==1.5.0")'
)

__version__ = "1.6.0.dev0"
3 changes: 1 addition & 2 deletions cirq-google/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,7 @@
author_email='cirq-dev@googlegroups.com',
maintainer="Google Quantum AI open-source maintainers",
maintainer_email="quantum-oss-maintainers@google.com",
# TODO: #6648 - update when internal docs build supports python3.11
python_requires='>=3.10.0',
python_requires='>=3.11.0',
install_requires=requirements,
license='Apache 2',
description=description,
Expand Down
3 changes: 1 addition & 2 deletions cirq-ionq/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,7 @@
author_email='cirq-dev@googlegroups.com',
maintainer="Google Quantum AI open-source maintainers",
maintainer_email="quantum-oss-maintainers@google.com",
# TODO: #6648 - update when internal docs build supports python3.11
python_requires='>=3.10.0',
python_requires='>=3.11.0',
install_requires=requirements,
license='Apache 2',
description=description,
Expand Down
3 changes: 1 addition & 2 deletions cirq-pasqal/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,7 @@
author_email='cirq-dev@googlegroups.com',
maintainer="Google Quantum AI open-source maintainers",
maintainer_email="quantum-oss-maintainers@google.com",
# TODO: #6648 - update when internal docs build supports python3.11
python_requires='>=3.10.0',
python_requires='>=3.11.0',
install_requires=requirements,
license='Apache 2',
description=description,
Expand Down
3 changes: 1 addition & 2 deletions cirq-web/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,7 @@
author_email='cirq-dev@googlegroups.com',
maintainer="Google Quantum AI open-source maintainers",
maintainer_email="quantum-oss-maintainers@google.com",
# TODO: #6648 - update when internal docs build supports python3.11
python_requires='>=3.10.0',
python_requires='>=3.11.0',
install_requires=requirements,
license='Apache 2',
description=description,
Expand Down
3 changes: 1 addition & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,7 @@
author_email='cirq-dev@googlegroups.com',
maintainer="Google Quantum AI open-source maintainers",
maintainer_email="quantum-oss-maintainers@google.com",
# TODO: #6648 - update when internal docs build supports python3.11
python_requires='>=3.10.0',
python_requires='>=3.11.0',
install_requires=requirements,
extras_require={'dev_env': dev_requirements},
license='Apache 2',
Expand Down