Skip to content

fix: select compatible Python for downstream tests - #2725

Merged
wolfv merged 1 commit into
mainfrom
fix/downstream-python-version-solve
Aug 6, 2026
Merged

fix: select compatible Python for downstream tests#2725
wolfv merged 1 commit into
mainfrom
fix/downstream-python-version-solve

Conversation

@wolfv

@wolfv wolfv commented Aug 6, 2026

Copy link
Copy Markdown
Member

Summary

  • ignore a downstream package's declared Python test matrix when testing it against a specific upstream artifact
  • let the upstream and downstream runtime dependencies select a mutually compatible Python version
  • add a regression test for an arch-specific Python 3.10 upstream testing a noarch: python downstream whose own matrix includes Python 3.10 and 3.14

This prevents downstream tests from trying every Python version supported by the downstream package even when some versions are incompatible with the particular upstream artifact under test.

Tests

  • cargo check -p rattler_build_core
  • cargo test -p rattler_build_core package_test::run_test::tests --lib
  • pixi run pytest test/end-to-end/test_simple.py::test_downstream_test -q
  • cargo fmt --check

@wolfv
wolfv merged commit 6048176 into main Aug 6, 2026
17 of 19 checks passed
@wolfv
wolfv deleted the fix/downstream-python-version-solve branch August 6, 2026 15:35
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.

1 participant