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

ci: try using tox-uv #738

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

ci: try using tox-uv #738

wants to merge 4 commits into from

Conversation

henryiii
Copy link
Contributor

@henryiii henryiii commented Feb 22, 2024

Speeds up CI a little bit. Closes #858.

@gaborbernat gaborbernat marked this pull request as draft February 22, 2024 23:23
@henryiii henryiii force-pushed the henryiii/ci/ub branch 2 times, most recently from b03b9bd to e8bb33c Compare September 6, 2024 20:22
@FFY00
Copy link
Member

FFY00 commented Feb 4, 2025

Perhaps we could try using https://github.com/tox-dev/tox-gh?

@henryiii
Copy link
Contributor Author

henryiii commented Feb 5, 2025

The hope here was to make the tests a bit faster; tox-gh might shorten the config, but wouldn't be faster (AFAIK). I don't understand why one test now uninstalls setuptools when it didn't before when running with tox-uv.

Signed-off-by: Henry Schreiner <[email protected]>
@henryiii henryiii marked this pull request as ready for review March 9, 2025 20:54
@@ -68,10 +71,15 @@ jobs:
- name: Setup python for tox
uses: actions/setup-python@v5
with:
python-version: 3.9
python-version: 3.12
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
python-version: 3.12
python-version: "3.12"

Copy link
Contributor Author

@henryiii henryiii Mar 9, 2025

Choose a reason for hiding this comment

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

Actually, I think this isn't needed anymore, since I changed tox to be installed via uv tool. Let's check that first.

@henryiii
Copy link
Contributor Author

henryiii commented Mar 9, 2025

Interesting, the three failures are: AssertionError: Expected 'get_paths' to be called once. Called 4 times. from test_can_get_venv_paths_with_posix_local_default_scheme[False].

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.

3 participants