-
-
Notifications
You must be signed in to change notification settings - Fork 635
feat(pypi): support env markers in requirements files #2059
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
rickeylev
merged 43 commits into
bazel-contrib:main
from
aignas:feat/support-requirement-markers
Aug 15, 2024
Merged
Changes from 38 commits
Commits
Show all changes
43 commits
Select commit
Hold shift + click to select a range
fbc6a88
feat(pypi): support env markers in python requirements files
aignas ffcde83
chore: use watch_tree and watch from repo_utils
aignas 969a43b
chore: use uv to create a universal lock file for sphinx
aignas 3e691b9
reset the .bazelrc
aignas 2106402
clarify logs
aignas fe69b9d
use `dev_dependency` for `dev_dependency` toolchains
aignas d102ea1
mark the requirements updating incompatible
aignas 3fa1379
disable sandbox for the requirements compilation
aignas 1a82dad
fix: watch_srcs and more things in repo_utils.
aignas eb75a85
revert examples/bzlmod changes
aignas 8e8e400
use a simpler way to define sphinx requirements
aignas afb25f9
add marker eval to workspace
aignas 751006c
fix a typo
aignas 3749199
tidy up the requirement generation
aignas 3884f7e
support updating requirements on Windows (in theory)
aignas 96da9b5
fail if env vars are not defined
aignas a433d76
simplify the script
aignas 9848dc5
fixup imports for the code
aignas 366253d
Merge branch 'main' into feat/support-requirement-markers
aignas e345aad
Merge branch 'main' into feat/support-requirement-markers
aignas 4da4967
add logger to evaluate markers and pass ctx explicitly
aignas 566a654
use mrctx
aignas d62a2ff
use mrctx everywhere
aignas a3f6a11
more usage of mrctx
aignas d53e04a
comment: docstring
aignas 3d2f314
add a comment about the runtime cost
aignas 2522ccd
fixup tests
aignas 56c1fdc
default logger to None
aignas 04447ee
update changelog to clarify wording
aignas b25e62d
remove shebang
aignas 99e401b
pass pythonpath entries as a default attribute to the rule or tag_class
aignas 282592b
just hardcode the sources for the marker evaluation for now
aignas 3521c4d
just hardcode the sources for the marker evaluation for now
aignas ec44390
add a build_test for marker evaluation as a stop gap, before the PR i…
aignas 44c46d2
fixup tests
aignas 26d9d77
bump the sphinx deps
aignas 51424cf
create a utility method to run python scripts and ensure the srcs are…
aignas 8f14806
distil the interface
aignas 20c643c
Apply suggestions from self code review
aignas 824491b
buildifier
aignas c454a7d
clarify changelog doc
rickeylev b424d36
typo: bazel -> Bazel
rickeylev 3515466
Merge branch 'main' of https://github.com/bazelbuild/rules_python int…
rickeylev File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.