Skip to content

Commit

Permalink
Update expectations for no-source-distribution cases (#225)
Browse files Browse the repository at this point in the history
  • Loading branch information
charliermarsh authored Nov 3, 2024
1 parent 70abfe8 commit e220329
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ description = "The user requires a package which requires a incompatible Python
requires = ["a==1.0.0"]

[expected]
satisfiable = false
explanation = "Since there are no compatible wheels for the package and it is not compatible with the local installation, we cannot build the source distribution to determine its dependencies."
satisfiable = true
explanation = "Since there are no compatible wheels for the package and it is not compatible with the local installation, we cannot build the source distribution to determine its dependencies. However, the source distribution includes static metadata, which we can use to determine dependencies without building the package."

[packages.a.versions."1.0.0"]
requires_python = ">=3.10"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ description = "The user requires a package which requires a incompatible Python
requires = ["a"]

[expected]
satisfiable = false
explanation = "Since there are no wheels for the version of the package compatible with the target and it is not compatible with the local installation, we cannot build the source distribution to determine its dependencies. The other version has wheels available, but is not compatible with the target version and cannot be used."
satisfiable = true
explanation = "Since there are no wheels for the version of the package compatible with the target and it is not compatible with the local installation, we cannot build the source distribution to determine its dependencies. However, the source distribution includes static metadata, which we can use to determine dependencies without building the package."

[packages.a.versions."1.0.0"]
requires_python = ">=3.10"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ description = "The user requires a package which requires a incompatible Python
requires = ["a==1.0.0"]

[expected]
satisfiable = false
explanation = "Since there are no wheels for the package and it is not compatible with the local installation, we cannot build the source distribution to determine its dependencies."
satisfiable = true
explanation = "Since there are no wheels for the package and it is not compatible with the local installation, we cannot build the source distribution to determine its dependencies. However, the source distribution includes static metadata, which we can use to determine dependencies without building the package."

[packages.a.versions."1.0.0"]
requires_python = ">=3.10"
Expand Down

0 comments on commit e220329

Please sign in to comment.