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

Add testing workflow #374

Merged
merged 3 commits into from
Jan 27, 2025
Merged

Add testing workflow #374

merged 3 commits into from
Jan 27, 2025

Conversation

thomaspinder
Copy link
Contributor

This PR alters the testing workflow to consider all supported Python versions. Additionally, tests are executed on a Linux and Mac machine.

As part of my larger review, I suggest increasing the lower bound on supported Python versions. Should this suggested be adopted, then the workflow should be altered to reflect the bump.

This PR is part of my JOSS review: openjournals/joss-reviews#7069

@slinderman
Copy link
Collaborator

Thanks again, @thomaspinder. This is a very good suggestion. Unfortunately, we're a bit limited on which versions we support because of our dependencies on JAX and dm-tree (inherited from TensorFlow Probability). JAX officially supports Python 3.10+ and dm-tree does not yet support Python 3.13 (it currently fails to compile).

I tried testing on earlier versions of Python anyway, and some did pass even though they're not officially supported by JAX! However, I also ran into some issues with the github test suite not having certain version/architecture combos. Hopefully supporting 3.10-3.12 for now, and adding 3.13 as soon as dm-tree is resolved, will be sufficient for our users.

@slinderman slinderman merged commit 7ce8427 into probml:main Jan 27, 2025
7 of 8 checks passed
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.

2 participants