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.12 status and blockers #3322

Open
SimonHeybrock opened this issue Nov 9, 2023 · 2 comments
Open

Python 3.12 status and blockers #3322

SimonHeybrock opened this issue Nov 9, 2023 · 2 comments

Comments

@SimonHeybrock
Copy link
Member

SimonHeybrock commented Nov 9, 2023

Status of 3.12 support

pip -> done in #3321

  • Building wheels works with conan==1.62. Note that this is not released yet (2023-11-09), but we can install from the develop branch. This has been released now. See Add Python 3.12 for PyPI #3321
  • Numba does not support 3.12 yet, this is an optional dependency. If we avoid installing it in the wheel tests those will be skipped.
  • h5py does not support 3.12 yet, this is an optional Scipp dependency, but our tests are currently not configured to be skipped. has been released now.

conda

  • On conda-forge, there latest conan is 1.59, i.e., there will likely never be a 1.62 version.
  • We would need to move to conan 2. This is currently blocked by cmake-conan not fully supporting it. There is a develop2 branch which we could try.
  • conda-forge-pinning supports only up to 3.11. We could make packages without pinning, but the setup would become more complicated.
@SimonHeybrock SimonHeybrock self-assigned this Dec 14, 2023
@SimonHeybrock SimonHeybrock removed their assignment Dec 14, 2023
@jl-wynen
Copy link
Member

jl-wynen commented Jan 5, 2024

conda-forge-pinning supports only up to 3.11. We could make packages without pinning, but the setup would become more complicated.

There is a way to add 3.12 to the pinning: #3353
This isn't ideal but it should not cause any problems. The 3.12 packages would be incompatible with the pinning but can be installed along with other compatible packages.

@SimonHeybrock
Copy link
Member Author

SimonHeybrock commented Jan 23, 2024

cmake-conan now describes experimental Conan 2 support: https://github.com/conan-io/cmake-conan.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Blocked
Development

No branches or pull requests

2 participants