fix(deps): switch from pip-compile to uv pip compile#538
Merged
lawrence-u10d merged 3 commits intomainfrom Jan 21, 2026
Merged
Conversation
4bc7549 to
4c4fe3a
Compare
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.
awalker4
approved these changes
Jan 21, 2026
Switches dependency compilation from pip-compile to uv pip compile to fix Renovate compatibility issues with the --no-strip-extras flag. Benefits: - Renovate supports --no-strip-extras for uv pip compile - 10-100x faster compilation times - Aligns with unstructured and unstructured-inference - Drop-in replacement with same command structure Ref: Renovate pip-compile manager only supports --no-strip-extras for uv, not for regular pip-compile
4c4fe3a to
c3ad7e7
Compare
Updates Makefile to compile requirements for Python 3.12 instead of 3.10. Recompiles all requirement files with correct Python version target. Co-Authored-By: Claude Sonnet 4.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.5 (1M context) <noreply@anthropic.com>
jer
approved these changes
Jan 21, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Switches dependency compilation from pip-compile to uv pip compile to fix Renovate compatibility issues with the
--no-strip-extrasflag.Problem
Renovate's pip-compile manager has a bug where it only supports
--no-strip-extrasforuv pip compile, not for regularpip-compile. This blocks Renovate from creating security vulnerability PRs for Python dependencies.Solution
Switch from
pip-compiletouv pip compilewhich:--no-strip-extrasflag in RenovateChanges
Makefile
--python-version 3.12)--no-emit-package pipand--no-emit-package setuptoolsflagspip-compilecommands withuv pip compileRequirements Files
Expected differences from
pip-compiletouv pip compile:Cosmetic changes:
./prefix (e.g.,-r ./requirements/base.in)constraints.txt expansion:
uvincludes transitive dependencies of constrained packagescryptography,cffi,charset-normalizer,pycparser(all dependencies of pinnedpdfminer-six==20260107)No version changes to any packages - all dependencies remain at the same versions as before.
Testing
References
Note
Switches dependency compilation to
uv pip compileand updates generated requirement files accordingly.pip-compilewithuv pip compileinMakefile, targeting Python 3.12 and adding--no-emit-package pip/setuptools; updatecompile-all-baselooprequirements/base.txt,test.txt, andconstraints.txtwith uv headers/footers and./path prefixesconstraints.txtto include transitive deps of constrained packages (e.g.,cryptography,cffi,charset-normalizer,pycparser)Written by Cursor Bugbot for commit ba94b9a. This will update automatically on new commits. Configure here.