Skip to content

Update CI python version matrix to 3.10-3.13#312

Merged
IvanGrigorik merged 3 commits intokokkos:mainfrom
kennykos:upd-ci-py-vrs
Nov 17, 2025
Merged

Update CI python version matrix to 3.10-3.13#312
IvanGrigorik merged 3 commits intokokkos:mainfrom
kennykos:upd-ci-py-vrs

Conversation

@kennykos
Copy link
Collaborator

@kennykos kennykos commented Nov 14, 2025

Python versions now aligns with pykokkos-base.

@kennykos
Copy link
Collaborator Author

@JBludau, @IvanGrigorik the CI is failing with python 3.13. This is in line with results on my local machine.
The error being thrown is RuntimeError: lib/ or lib64/ directories not found in installed pykokkos-base package. Try setting PK_KOKKOS_LIB_PATH instead. This makes me think it's an scikit-build issue, but I'm not sure. The cmake-install directory is not being copied to pykokkos-base.egg-info, which is unexpected. However, when I copy over the cmake-install directory manually I get the same error.

@IvanGrigorik
Copy link
Collaborator

Fixed, should work with any Python version now.

The problem was with scikit-build indeed. It should be a problem from Python 3.10, but they decided to go with functions, marked as deprecated (distutil, used by scikit-build).

References:
https://peps.python.org/pep-0632/
https://scikit-build.readthedocs.io/en/latest/#known-issues

@gliga
Copy link
Contributor

gliga commented Nov 16, 2025

Looks good to me.

Can we please (fine to be a separate PR) remove support for Python 10 both for pykokkos-base and pykokkos. Maintaining three versions of Python at a time is more than enough (and we might go to two if three turns out to take a lot of time).

Copy link
Contributor

@JBludau JBludau left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree, 3 versions is a wide enough band to support

@IvanGrigorik
Copy link
Collaborator

Removed.
Created PR for pykokkos-base: kokkos/pykokkos-base#81

@IvanGrigorik IvanGrigorik merged commit 7b8f960 into kokkos:main Nov 17, 2025
5 checks passed
@kennykos kennykos linked an issue Jan 2, 2026 that may be closed by this pull request
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

Successfully merging this pull request may close these issues.

Updated install instructions and/or support for Python 3.12

4 participants