-
Notifications
You must be signed in to change notification settings - Fork 8
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
Apache Superset: Use Python 3.12 on CI #336
base: main
Are you sure you want to change the base?
Conversation
52471dc
to
6b0ad69
Compare
3ef096f
to
921b434
Compare
921b434
to
5323288
Compare
5323288
to
1d1a6cb
Compare
a0f152d
to
e0035fa
Compare
e0035fa
to
d693f7f
Compare
d693f7f
to
345bfff
Compare
345bfff
to
041f9d1
Compare
041f9d1
to
eace67c
Compare
Hi @villebro, may I humbly ask you if you have any idea why this job, that aims to start using Python 3.12 on the test matrix, fails on CI/GHA with With kind regards, Footnotes |
Apparently, the job is failing when trying to install NumPy 1.23.5, which does not install well on Python 3.12.
-- https://github.com/crate/cratedb-examples/actions/runs/11940819371/job/33284315049?pr=336#step:6:87 Details$ python -V
Python 3.12.7 $ uv pip install numpy==1.23.5
Resolved 1 package in 5ms
error: Failed to prepare distributions
Caused by: Failed to download and build `numpy==1.23.5`
Caused by: Build backend failed to determine requirements with `build_wheel()` (exit status: 1)
[stderr]
Traceback (most recent call last):
File "<string>", line 8, in <module>
File "/Users/amo/.cache/uv/builds-v0/.tmpUqrhkg/lib/python3.12/site-packages/setuptools/__init__.py", line 10, in <module>
import distutils.core
ModuleNotFoundError: No module named 'distutils'
Caused by: distutils was removed from the standard library in Python 3.12. Consider adding a constraint (like `numpy >1.23.5`) to avoid building a version of numpy that depends on distutils. |
We have been able to dig out the corresponding ticket. |
NumPy 1.26 is available for Python 3.12, so maybe upgrading to that version from NumPy 1.23 might be feasible, because it's not too different? |
About
Probing Apache Superset with Python 3.12.
-- https://devguide.python.org/versions/