Skip to content

Simplify testing minimum direct dependencies#1528

Merged
seifertm merged 1 commit into
pytest-dev:mainfrom
tjkuson:simplify-pytest-min
Jul 24, 2026
Merged

Simplify testing minimum direct dependencies#1528
seifertm merged 1 commit into
pytest-dev:mainfrom
tjkuson:simplify-pytest-min

Conversation

@tjkuson

@tjkuson tjkuson commented Jul 23, 2026

Copy link
Copy Markdown
Contributor

Instead of defining a pytest-min dependency group to test against the lowest supported dependencies (which needs to be maintained), configure tox to use uv's lowest-direct resolution strategy to achieve the same thing.

Rename the test env to be more accurate (it's not just pytest minimum dependencies it checks). Prefixing with py310 means tox -e py310-lower-bounds will use Python 3.10 instead of relying on the gh-actions configuration.

@codecov-commenter

codecov-commenter commented Jul 23, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 94.50%. Comparing base (01ff313) to head (23c624f).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1528   +/-   ##
=======================================
  Coverage   94.50%   94.50%           
=======================================
  Files           2        2           
  Lines         510      510           
  Branches       62       62           
=======================================
  Hits          482      482           
  Misses         22       22           
  Partials        6        6           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@tjkuson
tjkuson force-pushed the simplify-pytest-min branch 2 times, most recently from 372f6bb to 6a84593 Compare July 23, 2026 08:44
@tjkuson
tjkuson force-pushed the simplify-pytest-min branch from 6a84593 to 23c624f Compare July 24, 2026 07:52
@tjkuson
tjkuson marked this pull request as ready for review July 24, 2026 08:44

@seifertm seifertm left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Very nice! This also avoids having to maintain the minimum supported pytest version in multiple places.

@seifertm
seifertm added this pull request to the merge queue Jul 24, 2026
Merged via the queue into pytest-dev:main with commit 72da9d8 Jul 24, 2026
23 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants