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

ci: Fix dependencies installation with Python 3.12 #2337

Closed
wants to merge 11 commits into from

Conversation

taratatach
Copy link
Member

@taratatach taratatach commented Jul 8, 2024

The distutils python package has been removed in Python 3.12.
It is however required by node-gyp which we use to compile some
native dependencies.

Installing the setuptools python package is enough to fix the
problem until we upgrade node-gyp to v10+.

Please make sure the following boxes are checked:

  • PR is not too big
  • it improves UX & DX in some way
  • it includes unit tests matching the implementation changes
  • it includes scenarios matching a new behaviour or has been manually tested
  • it includes relevant documentation

  The `distutils` python package has been removed in Python 3.12.
  It is however required by `node-gyp` which we use to compile some
  native dependencies.

  Installing the `setuptools` python package is enough to fix the
  problem until we upgrade `node-gyp` to v10+.
@taratatach taratatach self-assigned this Jul 8, 2024
@taratatach taratatach force-pushed the ci/fix-deps-installation-with-python-312 branch 12 times, most recently from 078a544 to 5093559 Compare July 19, 2024 16:19
@taratatach taratatach force-pushed the ci/fix-deps-installation-with-python-312 branch from 5093559 to c7d0556 Compare July 22, 2024 14:45
@taratatach
Copy link
Member Author

Closing in favor of #2338

@taratatach taratatach closed this Jul 23, 2024
@taratatach taratatach deleted the ci/fix-deps-installation-with-python-312 branch July 23, 2024 16:14
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.

1 participant