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

Allow implementers to specify their minimum Python version #212

Open
tonyandrewmeyer opened this issue Dec 9, 2024 · 1 comment
Open

Comments

@tonyandrewmeyer
Copy link
Contributor

Currently, the matrix tests run using Python 3.8. 3.8 is a sensible choice for ops and for 'infrastructure charms' that should support all the bases that currently supported Juju provides, but for 'application charms' it's reasonable to say that a more recent base (and therefore Python) is required.

Ideally, the matrix tests would be able to use either the base or a minimum Python version (e.g. in pyproject.toml) to determine which Python should be use for the compatibility test with the interface.

@PietroPasotti
Copy link
Contributor

in general, I think it'd be handy to start using uv to generate the venvs for the various interface tests. At the all packages for a test suite are installed in a fresh venv, but with the same python.

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

No branches or pull requests

2 participants