astral-sh / packse

Python packaging scenarios
Apache License 2.0
93 stars 9 forks source link

Trying to understand "local-transitive-confounding" scenario #159

Closed notatallshaw closed 5 months ago

notatallshaw commented 5 months ago

In the scenario "local-transitive-confounding": https://github.com/astral-sh/packse/blob/0.3.12/scenarios/local.json#L280

Has expected:

"expected": {
    "satisfiable": true,
    "packages": {
        "a": "2.0.0+foo"
    },

But there is no package a==2.0.0+foo:

"packages": {
    "a": {
        "versions": {
            "1.0.0": {
                "requires": [
                    "b==2.0.0"
                ]
            }
        }
    },
zanieb commented 5 months ago

Yes this looks incorrect, thanks for flagging! cc @BurntSushi / @charliermarsh

charliermarsh commented 5 months ago

For once it’s not my fault 😂

charliermarsh commented 5 months ago

Can fix on Monday.