Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Python 3.12 #6516

Merged
merged 10 commits into from
May 9, 2024
Merged

Commits on May 8, 2024

  1. Configuration menu
    Copy the full SHA
    94fcf5c View commit details
    Browse the repository at this point in the history
  2. Bump up to virtualenv>=20.23

    Older versions failed to create venv from already virtual Python 3.12.
    Also allow never filelock versions needed by virtualenv.
    pavoljuhas committed May 8, 2024
    Configuration menu
    Copy the full SHA
    3da0975 View commit details
    Browse the repository at this point in the history
  3. Adjust package presence assertion in test_isolated_env_cloning

    For Python 3.12 the new environment may not have setuptools and wheel.
    pavoljuhas committed May 8, 2024
    Configuration menu
    Copy the full SHA
    ce7960a View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    a689285 View commit details
    Browse the repository at this point in the history
  5. Bump to pylatex-1.4.*

    pylatex-1.4.2 is the first version compatible with Python 3.12.
    pavoljuhas committed May 8, 2024
    Configuration menu
    Copy the full SHA
    115b10f View commit details
    Browse the repository at this point in the history

Commits on May 9, 2024

  1. Bump up to grpcio-tools~=1.59.0

    Needed for compatibility with Python 3.12
    pavoljuhas committed May 9, 2024
    Configuration menu
    Copy the full SHA
    eb05000 View commit details
    Browse the repository at this point in the history
  2. Compile protos with grpcio-tools 1.59.3

    Executed  dev_tools/build-protos.sh
    pavoljuhas committed May 9, 2024
    Configuration menu
    Copy the full SHA
    5352404 View commit details
    Browse the repository at this point in the history
  3. Relax requirement on qiskit-aer-0.12 so it installs on Python 3.12

    Allow qiskit-aer-0.12.0 which has source distribution on PyPI and thus
    can be installed for Python 3.12.  The later qiskit-aer-0.12.X releases
    are provided as binary wheels only without a variant for Python 3.12.
    pavoljuhas committed May 9, 2024
    Configuration menu
    Copy the full SHA
    0806f86 View commit details
    Browse the repository at this point in the history
  4. Bump up to quimb~=1.7 which installs correctly with Python 3.12

    Remove quimb dependencies from our requirements specifications
    as we do not import them directly in Cirq.
    Keep `opt_einsum` requirement which is an optional quimb dependency.
    Otherwise let quimb sort out its dependencies.
    pavoljuhas committed May 9, 2024
    Configuration menu
    Copy the full SHA
    1352b5d View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    65bfddf View commit details
    Browse the repository at this point in the history