Skip to content

Stabilize CI dependency resolutions - #22532

Closed
konstin wants to merge 8 commits into
mainfrom
konsti/ci-exclude-newer
Closed

konstin wants to merge 8 commits into
mainfrom
konsti/ci-exclude-newer

Conversation

@konstin

@konstin konstin commented Oct 14, 2026 •

Copy link
Copy Markdown
Member

The Python 3.6 system test installs pylint==2.12.2 without a lockfile, so a new platformdirs release can change the resolution and trigger a resolver panic (CI failure).

Apply a fixed 2026-10-11 exclude-newer cutoff to unlocked PyPI resolutions in the system, smoke, integration, and ecosystem tests. Registry and publishing tests keep their own configuration for custom indexes and newly published packages.

The release sdist smoke tests use pip rather than uv, so constrain their isolated build backend to the same maturin version used to build the distributions.

The underlying uv bug is fixed in #22589.

Comment thread .github/workflows/test-integration.yml Outdated

- name: "Run registry tests with text store backend"
run: ./uv run --locked --python "${PYTHON_VERSION}" --no-build --script scripts/registries-test.py --uv ./uv --color always --all --auth-method text-store
run: env -u UV_EXCLUDE_NEWER ./uv run --locked --python "${PYTHON_VERSION}" --no-build --script scripts/registries-test.py --uv ./uv --color always --all --auth-method text-store

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Can you opt-out by just using UV_EXCLUDE_NEWER="" with a comment on the run step instead of env?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

We currently don't support UV_EXCLUDE_NEWER="", we'd have to add that

@konstin
konstin force-pushed the konsti/ci-exclude-newer branch from 71f1466 to 319740b Compare November 17, 2026 08:16

This branch was previously deployed

1 inactive deployment
automations — 319740bc Deployed Nov 17, 2026 by konstin via review | security / security review #54018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

internal A refactor or improvement that is not user-facing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

⌂ 换网址