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 with pytest always runs with pinned Python versions #124

Closed
9 tasks done
redeboer opened this issue Jan 17, 2025 · 1 comment · Fixed by #125
Closed
9 tasks done

CI with pytest always runs with pinned Python versions #124

redeboer opened this issue Jan 17, 2025 · 1 comment · Fixed by #125
Assignees
Labels
🐛 Bug Something isn't working
Milestone

Comments

@redeboer
Copy link
Member

redeboer commented Jan 17, 2025

The .github/workflows/pytest.yml always runs pytest with the version specified in .python-version (if committed). The fix would be to specify --python=3.x, --python-preference=only-system, and optionally --no-python-downloads.

Rerun tests on repositories

Preview Give feedback
  1. 🐛 Bug 🔨 Maintenance 🖱️ DX
    grayson-helmholz
  2. 🔨 Maintenance 🖱️ DX
    grayson-helmholz
  3. 🔨 Maintenance 🖱️ DX
    grayson-helmholz redeboer
  4. 🐛 Bug
    redeboer
  5. 🔨 Maintenance 🖱️ DX
    grayson-helmholz
  6. 🐛 Bug
    grayson-helmholz
  7. 🔨 Maintenance 🖱️ DX
    redeboer
  8. 🔨 Maintenance 🖱️ DX
    grayson-helmholz
  9. 🔨 Maintenance 🖱️ DX
    redeboer
@redeboer redeboer added the 🐛 Bug Something isn't working label Jan 17, 2025
@redeboer redeboer self-assigned this Jan 17, 2025
@redeboer
Copy link
Member Author

Note that UV_SYSTEM_PYTHON was set, but not for every step.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 Bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants