-
Notifications
You must be signed in to change notification settings - Fork 116
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
Account for distutils being deprecated and python3.10 becoming default on Ubuntu 22.04 #348
Conversation
I think this is starting to head in the right direction. I am giving it a CI test to see if the new
|
@Patol75 you might want to have a look at https://github.com/nektos/act . I use it for local Actions testing. Maybe you can use it with only a couple failing tests, on a single docker container and get some info on the errors. Also, I am not sure if this is relevant but |
Thanks for the suggestion. I tried, but I did not manage to get a successful build, unfortunately. I thought that Locally, if I run |
I am closing this PR as I will likely open a new one based on the deprecate_distutils_2 branch. |
Closes #346
I am opening this PR as a draft; it will be needed in the future given changes in the Python distribution. Please feel free to contribute, as it is likely I will succeed in figuring everything out.
I have tried to identify instances where
distutils
is used and replace them with equivalent logic from eithersetuptools
orsysconfig
.Something of potential interest is
setuptools
indicating that thesetup.py
approach is deprecated. Instead,pyproject.toml
andsetup.cfg
files should be used, in combination with thebuild
andpip
packages. I have tried to build thefluidity
package this way.Judging from Actions, Focal is successful, but Bionic does not find a valid version of Python.