Skip to content

Pin test tool versions - #447

Merged
pehrsoderman merged 5 commits into
Kattis:masterfrom
gkreitz:331_pin_test_tools
Jul 31, 2026
Merged

Pin test tool versions#447
pehrsoderman merged 5 commits into
Kattis:masterfrom
gkreitz:331_pin_test_tools

Conversation

@gkreitz

@gkreitz gkreitz commented Jul 31, 2026

Copy link
Copy Markdown
Contributor

Apparently, ruff 0.16 adds a lot of new checks by default. This caused CI to fail for our latest PR.

This PR pins versions of our dev tools (and pins ruff to 0.15.22 so we can slowly start going through the fixes required for 0.16). I also did some additional QoL fixes:

  • Run CI on python 3.14 (the default version in Ubuntu 26.04)
  • Add a script ./run_tests.sh to easily run all tests locally. Or make test if you prefer make.
  • Add a script to ensure the pinned ruff version stays in sync with the ruff version in our pre-commit-config
  • Remove some copy-paste in pyproject.toml - read requirements as a dynamic property

I intentionally decided not to pin the libraries we depend on. I think it's good if CI pulls in the latest pip versions and blows up if upstream changes.

Fixes #331

Comment thread admin/check_ruff_version.py
@gkreitz
gkreitz force-pushed the 331_pin_test_tools branch from d321cab to 0a3a5ca Compare July 31, 2026 11:25
@pehrsoderman
pehrsoderman merged commit f2ab31d into Kattis:master Jul 31, 2026
7 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.

Pin versions of libraries and test tools

2 participants