-
Notifications
You must be signed in to change notification settings - Fork 778
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
less aggressive overlapping markers #5887
Merged
Merged
Commits on Aug 13, 2024
-
Configuration menu - View commit details
-
Copy full SHA for ad18222 - Browse repository at this point
Copy the full SHA ad18222View commit details -
uv/tests: "mundane" updates to snapshots
I believe these are all changes that aren't necessarily expected, but also seem harmless. Like the order in which fork markers are written to the lock file. (Although one wonders if we should fix that once and for all by defining a complete sort function for forks.)
Configuration menu - View commit details
-
Copy full SHA for 8465a39 - Browse repository at this point
Copy the full SHA 8465a39View commit details -
Configuration menu - View commit details
-
Copy full SHA for 88ff427 - Browse repository at this point
Copy the full SHA 88ff427View commit details -
uv/tests: only consider dependency specification for fork matching ma…
…rker The test in this case has this comment: ``` /// If a dependency requests a prerelease version with an overlapping marker expression, /// we should prefer the prerelease version in both forks. ``` With this setup: ``` let pyproject_toml = context.temp_dir.child("pyproject.toml"); pyproject_toml.write_str(indoc! {r#" [project] name = "example" version = "0.0.0" dependencies = [ "cffi >= 1.17.0rc1 ; os_name == 'Linux'" ] requires-python = ">=3.11" "#})?; let requirements_in = context.temp_dir.child("requirements.in"); requirements_in.write_str(indoc! {" cffi . "})?; ``` The change in this commit _seems_ more correct that what we had, although it does seem to contradict the comment. Namely, in the `os_name != "Linux"` fork, we don't prefer the pre-release version since the `cffi >= 1.17.0rc1` bound doesn't apply. It's not quite clear what to do in this instance.
Configuration menu - View commit details
-
Copy full SHA for dd16235 - Browse repository at this point
Copy the full SHA dd16235View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9bffe19 - Browse repository at this point
Copy the full SHA 9bffe19View commit details -
For working around linked errors: https://github.com/astral-sh/uv/actions/runs/10371457087/job/28711821180?pr=5887
Configuration menu - View commit details
-
Copy full SHA for a3b4d26 - Browse repository at this point
Copy the full SHA a3b4d26View commit details -
ecosystem: remove superfluous lock files
I didn't mean to commit these in #5970.
Configuration menu - View commit details
-
Copy full SHA for ca708f2 - Browse repository at this point
Copy the full SHA ca708f2View commit details
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.