Skip to content

chore(deps): unpin inputs where possible#19993

Open
miketheman wants to merge 1 commit intopypi:mainfrom
miketheman:miketheman/unpin-reqs-in
Open

chore(deps): unpin inputs where possible#19993
miketheman wants to merge 1 commit intopypi:mainfrom
miketheman:miketheman/unpin-reqs-in

Conversation

@miketheman
Copy link
Copy Markdown
Member

Dependabot will run pip-compile for updates, and when it does, it bumps the values in the .in files as well as the rendered .txt files.

Touching the .in files impacts local developers needlessly running the same pip-compile steps that have already been done via CI, slowing them down when nothing has effectively changed.

This should minimize the amount of locally-run pip-compile.

Dependabot will run `pip-compile` for updates, and when it does, it
bumps the values in the .in files as well as the rendered .txt files.

Touching the .in files impacts local developers needlessly running the
same `pip-compile` steps that have already been done via CI, slowing
them down when nothing has effectively changed.

This should minimize the amount of locally-run pip-compile.

Signed-off-by: Mike Fiedler <miketheman@gmail.com>
@miketheman miketheman added the developer experience Anything that improves the experience for Warehouse devs label May 1, 2026
@miketheman miketheman requested a review from a team as a code owner May 1, 2026 17:10
@miketheman miketheman added dependencies Pull requests that update a dependency file core-team labels May 1, 2026
Copy link
Copy Markdown
Member

@dstufft dstufft left a comment

Choose a reason for hiding this comment

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

There's a couple more of these that I found in the uv poc:

  • sqlalchemy[asyncio]>=2.0,<3.0
  • webauthn>=1.0.0,<3.0.0
  • pytest-postgresql>=3.1.3,<9.0.0
  • pypi-attestations==0.0.29
  • kombu[redis]>=5.6,<5.7

All of those are ones where we're on the latest version and the upper bounds is not excluding anything today (so it's not adding any value at the moment), and most of them are ones where we've had dependabot bumping the upper bounds whenever a new release came out that was excluded by the pin.

That leaves only redis>=2.8.0,<7.0.0, which we are legitimately excluding versions using that pin.

Thanks for picking this up though!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

core-team dependencies Pull requests that update a dependency file developer experience Anything that improves the experience for Warehouse devs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants