-
Notifications
You must be signed in to change notification settings - Fork 739
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
Collapse unavailable packages in resolver errors #6154
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -241,10 +241,15 @@ fn prune_unzipped() -> Result<()> { | |
╰─▶ Because only the following versions of iniconfig are available: | ||
iniconfig<=0.1 | ||
iniconfig>=1.0.0 | ||
and iniconfig==0.1 network connectivity is disabled, but the metadata wasn't found in the cache, we can conclude that iniconfig<1.0.0 cannot be used. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Okay what this error was bad? Need to improve this separately There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. See #6156 |
||
And because iniconfig==1.0.0 network connectivity is disabled, but the metadata wasn't found in the cache and iniconfig==1.0.1 network connectivity is disabled, but the metadata wasn't found in the cache, we can conclude that iniconfig<1.1.0 cannot be used. | ||
And because iniconfig==1.1.0 network connectivity is disabled, but the metadata wasn't found in the cache and iniconfig==1.1.1 network connectivity is disabled, but the metadata wasn't found in the cache, we can conclude that iniconfig<2.0.0 cannot be used. | ||
And because iniconfig==2.0.0 network connectivity is disabled, but the metadata wasn't found in the cache and you require iniconfig, we can conclude that your requirements are unsatisfiable. | ||
and any of: | ||
iniconfig==0.1 | ||
iniconfig==1.0.0 | ||
iniconfig==1.0.1 | ||
iniconfig==1.1.0 | ||
iniconfig==1.1.1 | ||
iniconfig==2.0.0 | ||
network connectivity is disabled, but the metadata wasn't found in the cache, we can conclude that iniconfig<1.0.0 cannot be used. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think this says "and any of network connectivity is disabled" There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
And because you require iniconfig, we can conclude that your requirements are unsatisfiable. | ||
|
||
hint: Pre-releases are available for iniconfig in the requested range (e.g., 0.2.dev0), but pre-releases weren't enabled (try: `--prerelease=allow`) | ||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1925,95 +1925,51 @@ fn install_only_binary_all_and_no_binary_all() { | |
anyio>=3.0.0,<=3.6.2 | ||
anyio>=3.7.0,<=3.7.1 | ||
anyio>=4.0.0 | ||
and anyio==1.0.0 has no usable wheels and building from source is disabled, we can conclude that any of: | ||
and any of: | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Should it be "all of"? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yeah it's a little confusing. I think it's saying "any of a or b" instead of "all of a and b" — we don't use "and" or "or" so "all" and "any" do that. We can probably make this better somehow... |
||
anyio==1.0.0 | ||
anyio==1.1.0 | ||
anyio==1.2.0 | ||
anyio==1.2.1 | ||
anyio==1.2.2 | ||
Comment on lines
-1928
to
+1933
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Now we enumerate all the versions in a single clause instead of having a clause for each! I think now we can simplify this range with the known available versions and it'll be way better. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. See #6155 |
||
anyio==1.2.3 | ||
anyio==1.3.0 | ||
anyio==1.3.1 | ||
anyio==1.4.0 | ||
anyio==2.0.0 | ||
anyio==2.0.1 | ||
anyio==2.0.2 | ||
anyio==2.1.0 | ||
anyio==2.2.0 | ||
anyio==3.0.0 | ||
anyio==3.0.1 | ||
anyio==3.1.0 | ||
anyio==3.2.0 | ||
anyio==3.2.1 | ||
anyio==3.3.0 | ||
anyio==3.3.1 | ||
anyio==3.3.2 | ||
anyio==3.3.3 | ||
anyio==3.3.4 | ||
anyio==3.4.0 | ||
anyio==3.5.0 | ||
anyio==3.6.0 | ||
anyio==3.6.1 | ||
anyio==3.6.2 | ||
anyio==3.7.0 | ||
anyio==3.7.1 | ||
anyio==4.0.0 | ||
anyio==4.1.0 | ||
anyio==4.2.0 | ||
anyio==4.3.0 | ||
anyio==4.4.0 | ||
has no usable wheels and building from source is disabled, we can conclude that any of: | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Needs to be plural form "have no usable wheels" — will require more changes separately. |
||
anyio<1.1.0 | ||
anyio>1.4.0,<2.0.0 | ||
anyio>2.2.0,<3.0.0 | ||
anyio>3.6.2,<3.7.0 | ||
anyio>3.7.1,<4.0.0 | ||
cannot be used. | ||
And because anyio==1.1.0 has no usable wheels and building from source is disabled and anyio==1.2.0 has no usable wheels and building from source is disabled, we can conclude that any of: | ||
anyio<1.2.1 | ||
anyio>1.4.0,<2.0.0 | ||
anyio>2.2.0,<3.0.0 | ||
anyio>3.6.2,<3.7.0 | ||
anyio>3.7.1,<4.0.0 | ||
cannot be used. | ||
And because anyio==1.2.1 has no usable wheels and building from source is disabled and anyio==1.2.2 has no usable wheels and building from source is disabled, we can conclude that any of: | ||
anyio<1.2.3 | ||
anyio>1.4.0,<2.0.0 | ||
anyio>2.2.0,<3.0.0 | ||
anyio>3.6.2,<3.7.0 | ||
anyio>3.7.1,<4.0.0 | ||
cannot be used. | ||
And because anyio==1.2.3 has no usable wheels and building from source is disabled and anyio==1.3.0 has no usable wheels and building from source is disabled, we can conclude that any of: | ||
anyio<1.3.1 | ||
anyio>1.4.0,<2.0.0 | ||
anyio>2.2.0,<3.0.0 | ||
anyio>3.6.2,<3.7.0 | ||
anyio>3.7.1,<4.0.0 | ||
cannot be used. | ||
And because anyio==1.3.1 has no usable wheels and building from source is disabled and anyio==1.4.0 has no usable wheels and building from source is disabled, we can conclude that any of: | ||
anyio<2.0.0 | ||
anyio>2.2.0,<3.0.0 | ||
anyio>3.6.2,<3.7.0 | ||
anyio>3.7.1,<4.0.0 | ||
cannot be used. | ||
And because anyio==2.0.0 has no usable wheels and building from source is disabled and anyio==2.0.1 has no usable wheels and building from source is disabled, we can conclude that any of: | ||
anyio<2.0.2 | ||
anyio>2.2.0,<3.0.0 | ||
anyio>3.6.2,<3.7.0 | ||
anyio>3.7.1,<4.0.0 | ||
cannot be used. | ||
And because anyio==2.0.2 has no usable wheels and building from source is disabled and anyio==2.1.0 has no usable wheels and building from source is disabled, we can conclude that any of: | ||
anyio<2.2.0 | ||
anyio>2.2.0,<3.0.0 | ||
anyio>3.6.2,<3.7.0 | ||
anyio>3.7.1,<4.0.0 | ||
cannot be used. | ||
And because anyio==2.2.0 has no usable wheels and building from source is disabled and anyio==3.0.0 has no usable wheels and building from source is disabled, we can conclude that any of: | ||
anyio<3.0.1 | ||
anyio>3.6.2,<3.7.0 | ||
anyio>3.7.1,<4.0.0 | ||
cannot be used. | ||
And because anyio==3.0.1 has no usable wheels and building from source is disabled and anyio==3.1.0 has no usable wheels and building from source is disabled, we can conclude that any of: | ||
anyio<3.2.0 | ||
anyio>3.6.2,<3.7.0 | ||
anyio>3.7.1,<4.0.0 | ||
cannot be used. | ||
And because anyio==3.2.0 has no usable wheels and building from source is disabled and anyio==3.2.1 has no usable wheels and building from source is disabled, we can conclude that any of: | ||
anyio<3.3.0 | ||
anyio>3.6.2,<3.7.0 | ||
anyio>3.7.1,<4.0.0 | ||
cannot be used. | ||
And because anyio==3.3.0 has no usable wheels and building from source is disabled and anyio==3.3.1 has no usable wheels and building from source is disabled, we can conclude that any of: | ||
anyio<3.3.2 | ||
anyio>3.6.2,<3.7.0 | ||
anyio>3.7.1,<4.0.0 | ||
cannot be used. | ||
And because anyio==3.3.2 has no usable wheels and building from source is disabled and anyio==3.3.3 has no usable wheels and building from source is disabled, we can conclude that any of: | ||
anyio<3.3.4 | ||
anyio>3.6.2,<3.7.0 | ||
anyio>3.7.1,<4.0.0 | ||
cannot be used. | ||
And because anyio==3.3.4 has no usable wheels and building from source is disabled and anyio==3.4.0 has no usable wheels and building from source is disabled, we can conclude that any of: | ||
anyio<3.5.0 | ||
anyio>3.6.2,<3.7.0 | ||
anyio>3.7.1,<4.0.0 | ||
cannot be used. | ||
And because anyio==3.5.0 has no usable wheels and building from source is disabled and anyio==3.6.0 has no usable wheels and building from source is disabled, we can conclude that any of: | ||
anyio<3.6.1 | ||
anyio>3.6.2,<3.7.0 | ||
anyio>3.7.1,<4.0.0 | ||
cannot be used. | ||
And because anyio==3.6.1 has no usable wheels and building from source is disabled and anyio==3.6.2 has no usable wheels and building from source is disabled, we can conclude that any of: | ||
anyio<3.7.0 | ||
anyio>3.7.1,<4.0.0 | ||
cannot be used. | ||
And because anyio==3.7.0 has no usable wheels and building from source is disabled and anyio==3.7.1 has no usable wheels and building from source is disabled, we can conclude that anyio<4.0.0 cannot be used. | ||
And because anyio==4.0.0 has no usable wheels and building from source is disabled and anyio==4.1.0 has no usable wheels and building from source is disabled, we can conclude that anyio<4.2.0 cannot be used. | ||
And because anyio==4.2.0 has no usable wheels and building from source is disabled and anyio==4.3.0 has no usable wheels and building from source is disabled, we can conclude that anyio<4.4.0 cannot be used. | ||
And because anyio==4.4.0 has no usable wheels and building from source is disabled and you require anyio, we can conclude that your requirements are unsatisfiable. | ||
And because you require anyio, we can conclude that your requirements are unsatisfiable. | ||
|
||
hint: Pre-releases are available for anyio in the requested range (e.g., 4.0.0rc1), but pre-releases weren't enabled (try: `--prerelease=allow`) | ||
"### | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Need to see the tree before and after reduction when doing complex transforms