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.14 support? #168

Open
marklit opened this issue Dec 2, 2024 · 4 comments
Open

Python 3.14 support? #168

marklit opened this issue Dec 2, 2024 · 4 comments

Comments

@marklit
Copy link

marklit commented Dec 2, 2024

I run tests on making sure morecantile, along with other dependencies install nicely with Python 3.8+ in one of my projects. With Python 3.14.0-alpha.2 I'm seeing the following failure:

https://github.com/marklit/tiles2columns/actions/runs/12119420259/job/33785961051

Collecting pyproj~=3.1 (from morecantile->-r requirements.txt (line 3))
  Downloading pyproj-3.7.0.tar.gz (225 kB)
  Installing build dependencies: started
  Installing build dependencies: finished with status 'done'
  Getting requirements to build wheel: started
  Getting requirements to build wheel: finished with status 'error'
  error: subprocess-exited-with-error
  
  × Getting requirements to build wheel did not run successfully.
  │ exit code: 1
  ╰─> [1 lines of output]
      proj executable not found. Please set the PROJ_DIR variable. For more information see: https://pyproj4.github.io/pyproj/stable/installation.html
      [end of output]

To be clear, the above runs without issue on Python 3.8 through to 3.13.

It looks like pyproj has released version 3.7.0: https://github.com/pyproj4/pyproj/releases

But their tests are only going up to Python 3.12: https://github.com/pyproj4/pyproj/actions/runs/12101161977

Are there any plans to work on getting newer versions of pyproj and Python supported in this project?

@vincentsarago
Copy link
Member

@marklit I'm happy to review PR that update the pyproj version 🙏

@marklit
Copy link
Author

marklit commented Dec 2, 2024

Will do #169

@vincentsarago
Copy link
Member

As mentioned in the PR we cannot easily test python 3.14 because pyproj doesn't provide python wheels for it yet.

Because python3.14 is not released yet I don't think this would be available soon

@marklit
Copy link
Author

marklit commented Dec 19, 2024

Perhaps we can let the dust settle on this ticket and wait for pyproj to catch up to Python 3.14. Python 3.13 works and my use of your library in tiles2columns with pyproj 3.1 seems to run without issue.

I don't know all the fixes that have occurred in pyproj between 3.1 and 3.6 but I can revisit it when Python 3.14 support comes around.

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

2 participants