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

Python 3.11 support #78

Closed
Tenzer opened this issue Nov 2, 2022 · 3 comments
Closed

Python 3.11 support #78

Tenzer opened this issue Nov 2, 2022 · 3 comments

Comments

@Tenzer
Copy link
Contributor

Tenzer commented Nov 2, 2022

I just tried to see if I could use thumbor-aws with Python 3.11, but the project specifies explicitly it's not compatible with Python 3.11:

python = ">=3.7,<3.11"

When I tried to bump that to instead be python = ">=3.7,<3.12" Poetry started complaining because the later version of SciPy that supports Python 3.11 explicitly doesn't support Python 3.7, which required the version range instead to be specified as >=3.8.<3.12.

The next problem, however, was installing frozenlist for Python 3.11. It doesn't have wheels available for Python 3.11 yet and it looks like it needs adjustments to work with the C API changes in 3.11: aio-libs/frozenlist#342.

This issue is mostly to document what the current blocker is for getting this project working with Python 3.11.

@Tenzer
Copy link
Contributor Author

Tenzer commented Nov 15, 2022

Frozenlist 1.3.3 has now been released which includes support for Python 3.11.

@Tenzer
Copy link
Contributor Author

Tenzer commented Dec 1, 2022

I had a look at this again, and the only blocking dependency is the lack of wheels for yarl, but that's being addressed in aio-libs/yarl#781.

I was able to work around that by setting the YARL_NO_EXTENSIONS=1 environment variable for now, but it's probably a good idea to wait until wheels are available before moving forward with this.

@Tenzer
Copy link
Contributor Author

Tenzer commented Dec 16, 2022

Yarl have released an update that has wheels for Python 3.11, so this should be possible to progress with, and I can see @guilhermef already have done that with #89 🎉

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

No branches or pull requests

1 participant