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

Automatically manage python versions in tox environments #761

Open
ca-scribner opened this issue Nov 28, 2023 · 2 comments
Open

Automatically manage python versions in tox environments #761

ca-scribner opened this issue Nov 28, 2023 · 2 comments
Labels
enhancement New feature or request

Comments

@ca-scribner
Copy link
Contributor

Why it needs to get done

Because we strictly pin requirements, our tox unit and integration environments are particular about the python versions they're executed in. This requires devs and CI to execute tox -e unit, etc, in a particular python version

tox provides automated management for python version as part of an environment (for example, you can write a tox file that tests the same thing on multiple python versions) - we should use this to encapsulate the python version required into tox and avoid the developer from needing to change their python version

What needs to get done

Figure out how (and if) tox can be used to manage the python version for our tests, then implement this

When is the task considered done

  • tox.ini files in all our charm repos are updated to manage python environments
  • remove any references to python version that are no longer needed (for example, if a CI file previous set a specific python version)
@ca-scribner ca-scribner added the enhancement New feature or request label Nov 28, 2023
Copy link

Thank you for reporting us your feedback!

The internal ticket has been created: https://warthogs.atlassian.net/browse/KF-5053.

This message was autogenerated

@ca-scribner
Copy link
Contributor Author

canonical/katib-operators#139 has additional discussion for this issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Labeled
Development

No branches or pull requests

1 participant