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.10 #120

Closed
john-science opened this issue Oct 31, 2021 · 6 comments · Fixed by #126
Closed

Support Python 3.10 #120

john-science opened this issue Oct 31, 2021 · 6 comments · Fixed by #126

Comments

@john-science
Copy link
Owner

The new version of the language is out, and NumPy says they support it.

So let's give it a try.

If it works, this will also require a release to PyPI.

@john-science
Copy link
Owner Author

john-science commented Oct 31, 2021

The Problem: the Python dev team removed distutils, and that broke a lot of PIP and VirtualEnv workflows:

pypa/get-pip#124

In particular, Python 3.10 is pretty broken on all Debian distros right now. So I'm going to put off working on this until that gets fixed.

@john-science
Copy link
Owner Author

Travis does not seem to support Python 3.10 in the same way as with other Python versions:

https://app.travis-ci.com/github/john-science/mazelib/jobs/553005530

@debnet
Copy link

debnet commented Jan 18, 2022

Any news about supporting Python 3.10? :)

@john-science
Copy link
Owner Author

Any news about supporting Python 3.10? :)

I haven't tried since the new year. The major problem is that the Python language team has removed distutils from the standard library, which breaks backwards compatibility. (If you remember the Python v2 to v3 transition, this is like that.)

I would like it if there was some standard way to move forward, but I haven't had time to see what other people are doing. Do you know what solutions people are using?

I can do a little more research after work this week. It's annoying that the Python team did this to us, but I'm sure there are work-arounds. I probably just have to change the build process in the project.

@debnet
Copy link

debnet commented Jan 20, 2022

According to the changelog documentation, you have to rely on setuptools and packaging third-party packages to do what you need. They are already well-known by the community and are often used as dependancies for building packages.

@john-science
Copy link
Owner Author

@debnet Please note: Mazelib now supports Python 3.10: https://pypi.org/project/mazelib/0.9.13/#description

I had to switch from TravisCI to GitHub Actions for this project to do it, but it works now.

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

Successfully merging a pull request may close this issue.

2 participants