Docs: add instructions on config to default to new resolver
See original GitHub issueSome people would like to set an environment variable manually on the command line, or something in pypi.rc
or pip.conf
, so they can tell pip to default to the new resolver #6536 #988 and test it more easily, without having to manually include --use-feature=2020-resolver
each time. Example via Twitter:
It would be handy to be able to enable the new deps resolver via an env var. This would allow testing it in conjunction with tools such as poetry and pipenv.
@Julian in IRC logs suggested editing pip.conf
and daturkel
says this worked:
[install]
use-feature = 2020-resolver
We should decide whether we want to support this, and then if we do, we should add a line about it to the how-to-test docs.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:2
- Comments:10 (9 by maintainers)
Top Results From Across the Web
Configuring Metro - Meta Open Source
Metro's default resolver processes each of these fields according to the browser field spec, including the ability to replace and ignore ...
Read more >Resolvers - Apollo GraphQL Docs
Apollo Server needs to know how to populate data for every field in your schema so that it can respond to requests for...
Read more >git-config Documentation - Git
A list of all available configuration variables can be obtained using the git help --config command. OPTIONS. --replace-all. Default behavior is to replace...
Read more >User Guide - pip documentation v22.3.1
Users of pip 20.2 who want pip to default to using the new resolver can run pip config set global.use-feature 2020-resolver (for more...
Read more >Configuring resolvers (VTL) - AWS AppSync
On the Create Resolver page, choose the data source you created in the Attaching a data source guide. In the Configure mapping templates...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Note that if you modify configuration using
it isn’t possible to disable the resolver simply using
Instead, you’ll need
I see this behavior on Fedora 30, Python 3.7 and pip 20.2.
I can’t reproduce this on my Debian machine with CPython 3.8 and pip 20.2.
pip config unset global.use-feature
does unset the feature, but I notice that it unsets the entire option and AFAIK there’s yet to be a way to deselect just one feature. I’m wondering if we want to support that, and if so I’ll file a separate ticket tracking it.@akaihola, I wonder what
pip config debug
says on your system.