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

Add failing incomplete markers scenarios #200

Merged

Conversation

konstin
Copy link
Member

@konstin konstin commented Jul 9, 2024

We're currently (astral-sh/uv#4732) failing to install c from the added scenario:

$ echo "fork-incomplete-markers-8137fed5" | uv pip compile --index-url http://127.0.0.1:3141 -p 3.9 --universal -
Resolved 4 packages in 38ms
# This file was autogenerated by uv via the following command:
#    uv pip compile -p 3.9 --universal -
fork-incomplete-markers-8137fed5==0.0.0
fork-incomplete-markers-a-8137fed5==1.0.0 ; python_version < '3.10'
    # via fork-incomplete-markers-8137fed5
fork-incomplete-markers-a-8137fed5==2.0.0 ; python_version >= '3.11'
    # via fork-incomplete-markers-8137fed5
fork-incomplete-markers-b-8137fed5==1.0.0
    # via fork-incomplete-markers-8137fed5

This is one particular scenario that we need to test for solving astral-sh/uv#4732

I had to update the lockfile for the recent uv lockfile changes, split out to #199 which removes it from the diff here.

@konstin konstin requested a review from BurntSushi July 9, 2024 18:20
description = '''
The root cause the resolver to fork over `a`, but the markers on the variant
of `a` don't cover the entire marker space, they are missing Python 3.10.
Later, we have a dependency this very hole, which we still need to select.
Copy link
Member

Choose a reason for hiding this comment

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

Can you say what the expected versus actual result is here? Just a quick prose mention is fine. (We don't have a structured way yet of describing universal resolutions in packse scenarios.)

Copy link
Member Author

Choose a reason for hiding this comment

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

Add a sentence that we're testing for c being present

Copy link
Member

@BurntSushi BurntSushi left a comment

Choose a reason for hiding this comment

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

Perfect, thank you!

We're currently (astral-sh/uv#4732) failing to install `c` from this scenario:

```
$ echo "fork-incomplete-markers-8137fed5" | uv pip compile --index-url http://127.0.0.1:3141 -p 3.9 --universal -
Resolved 4 packages in 38ms
# This file was autogenerated by uv via the following command:
#    uv pip compile -p 3.9 --universal -
fork-incomplete-markers-8137fed5==0.0.0
fork-incomplete-markers-a-8137fed5==1.0.0 ; python_version < '3.10'
    # via fork-incomplete-markers-8137fed5
fork-incomplete-markers-a-8137fed5==2.0.0 ; python_version >= '3.11'
    # via fork-incomplete-markers-8137fed5
fork-incomplete-markers-b-8137fed5==1.0.0
    # via fork-incomplete-markers-8137fed5
```

This is one particular scenario that we need to test for solving astral-sh/uv#4732

I had to update the lockfile for the recent uv lockfile changes.
@konstin konstin force-pushed the konsti/failing-incomplete-marker-scenario branch from c305fe2 to add2be1 Compare July 9, 2024 19:05
@konstin konstin merged commit b280fed into astral-sh:main Jul 9, 2024
6 checks passed
@konstin konstin deleted the konsti/failing-incomplete-marker-scenario branch July 9, 2024 19:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants