-
Notifications
You must be signed in to change notification settings - Fork 205
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.11 #1087
Comments
Fiona will most likely not directly implement Features of Python 3.11 to maintain backward compatibility. From history, the highest probability to cause compatibility issues with new Python versions is Cython. Adding Python 3.11 to the CI makes sense towards the final release. Typically, new packages are uploaded to PyPI with each new release of Fiona. Meanwhile, it is possible to build Fiona from source. |
Hi there -- I'm testing an install of Fiona with Python 3.11 beta 1, and I ran into an issue. Software Being Used
Issue To Reproduce
Here is the docker build command I'm using: It could be due to CPython header files moving around in 3.11: Thanks! |
The issue in the previous comment is that source distribution for Fiona 1.8.21 includes the cythonized |
@dennytron some progress has been done. Some changes to the Dockerfile would add:
and then another attempt with:
(or use pip's @sgillies is it necessary to pin Cython here? Or should it be unpinned? Line 3 in b3be31f
|
Good news, this issue is resolved by the fiona==1.9a2 pre-release, which can be built for Python 3.11 |
#1145 helps unblock building for Python 3.11.
Awesome! Could we get wheel building for Python 3.11 going on the 1.9 branch? Even just wheels for pre-releases would help the ecosystem. |
The large_image_wheels project now has Python 3.11 wheels for manylinux available, including the latest GDAL (3.5.2). I would love to see #1145 reviewed, and try how far I can get in building Python 3.11 wheels. |
@sgillies Thanks for merging #1145! The next step is #1147, in which a Python 3.11 job is added to the Linux CI. And it passed! I also have a questions about the wheel building. The docs state that's done with AppVeyor, is that still the case? The configuration files indicates that only wheels up to Python 3.8 are build? So what would be needed to test wheel building for Python 3.11? |
Fiona wheels are built by https://github.com/sgillies/fiona-wheels. I'm trying 3.11 at its sister project rasterio/rasterio-wheels#93 and will copy changes over to fiona-wheels when I succeed. |
I saw rasterio/rasterio-wheels#93 was merged, awesome! How is it going on the Fiona wheels? |
Is see that there are Python 3.11 wheels on PyPI for both Fiona 1.8.22 and 1.9a3, which is awesome! Thanks for the effort! |
Currently Python 3.11 isn't fully supported in Fiona yet, including testing in CI and publishing wheels to PyPI.
Python 3.11 is expected to be released as stable in October 2022, with many new features including:
Fiona is an import package in the geospatial stack, so early support will help speed up Python 3.11 adoption. The last alpha release in the 3.11 series, Python 3.11.0a7, has been released earlier this week, and early May the first beta release will be published, after which no new features will be added.
I think it would be an amazing feat to have full Python 3.11 support in Fiona by the time Python 3.11.0 beta 1 gets released, (expected Friday May 6th, 2022). This includes testing in CI and publishing wheels to PyPI.
The text was updated successfully, but these errors were encountered: