Skip to content
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

Filter irrelevant requirements from source annotations #3479

Merged
merged 1 commit into from
May 9, 2024

Conversation

charliermarsh
Copy link
Member

Summary

If a requirement is omitted due to a marker expression, we shouldn't include it as the "source" of a package in the output.

For example, if your constraints include pathspec ; python_version < '3.12', and you're on Python 3.12, we should not include the constraint file as a "source" in the output annotations.

@charliermarsh charliermarsh added the bug Something isn't working label May 9, 2024
@charliermarsh charliermarsh force-pushed the charlie/struct branch 3 times, most recently from d20b2c5 to 6922b49 Compare May 9, 2024 04:30
Base automatically changed from charlie/struct to main May 9, 2024 04:40
@charliermarsh charliermarsh enabled auto-merge (squash) May 9, 2024 04:49
@charliermarsh charliermarsh merged commit 3d7a0a2 into main May 9, 2024
43 checks passed
@charliermarsh charliermarsh deleted the charlie/filter branch May 9, 2024 04:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant