Skip to content

Pin CI python version#633

Merged
95-martin-orion merged 2 commits into
masterfrom
pin-ci-py
Oct 30, 2023
Merged

Pin CI python version#633
95-martin-orion merged 2 commits into
masterfrom
pin-ci-py

Conversation

@95-martin-orion
Copy link
Copy Markdown
Collaborator

Fixes #632.

The python version for the setup-python action does not need to match the version used by cibuildwheel; it simply needs to be before distutils gets removed in python 3.12.

Copy link
Copy Markdown
Collaborator

@NoureldinYosri NoureldinYosri left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like qsim's dependency on distuils is two folds.

  1. a superficial dependency in setup.py to get from distutils.version import LooseVersion which should be replaced by from packaging.version import parse as per https://peps.python.org/pep-0632/#migration-advice
  2. A transitive depdency that happens due to a dependency on an old version of tensorflow.

So LGTM for now until we upgrade to a newer version of tf

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Python test failing due to distutils deprecation

2 participants