-
Notifications
You must be signed in to change notification settings - Fork 49
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
cf-units doesn't install with pip on Python 3.12.3 #432
Comments
There are no wheels for py312. You need to build it from source there. You will need udunits2 to build it from source. |
In the OSGeo/grass-addons repo, trying to use Python 3.12thus creating a wheel locally fails even in CI. Is it possible to take a new look at this? We are getting closer to the next 3.13 release in October than we are from the last 3.12 release |
I guess we need #423 since that adds support for py312. Then of course we need a new release. |
I see... I postponed the migration to Python 3.12 (I was syncing the CI workflows with the changes that the non-addons repo grass was using, and the new release would have used 3.12 by default). |
I believe that we don't need #423, PR #368, that was already merged, would do. I am building cf-units for Python 3.12 in conda-forge for a while now. All we need is a new release here. Note that #427 would be nice though, that one adds numpy 2.0 support. |
Just to confirm from a conversation with @bjlittle: the error reported by @huaracheguarache (love the name!) is always expected - UDUNITS2 is not available via Pip and must therefore always be installed by other means (e.g. Conda). This is part of the motive for #446. |
As for the various other comments - which are not truly related to this error - we have made progress in the last few days:
After that I'm assuming a release won't be far away @pp-mo? |
🐛 Bug Report
I am unable to install cf-units using a Python venv together with pip using Python version 3.12.3. I get an error message saying that wheel failed to build for cf-units (see attached traceback).
How to Reproduce
Steps to reproduce the behaviour:
python -m venv .venv
source .venv/bin/activate
python -m pip install --upgrade pip
python -m pip install cf-units
Expected Behaviour
cf-units installs without issues.
Environment
Additional Context
Click to expand this section...
The text was updated successfully, but these errors were encountered: