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

mention "order of installation" topic on the "Installation of Niquests" page #220

Open
andrei-korshikov opened this issue Feb 22, 2025 · 0 comments
Labels
documentation Improvements or additions to documentation

Comments

@andrei-korshikov
Copy link

There is already excellent and very detailed section "Notes / Frequently Asked Questions" in the urllib3.future Project description.

I think, a link to it should be placed somewhere in the Installation of Niquests along with short description of user's possibilities, e.g.:

  • If you install niquests first, and another package which requires urllib3 second, then another package will use urllib3 (you call it "legacy", I call it "ordinary" or "plain").
  • If you install niquests after another package, then another package will use urllib3.future (because of fork/shadowing magic).
  • If you install niquests and another package simultaneously (e.g. via requirements.txt)—I don't know if the answer is predictable:))
  • In case of upgrade, another package will use urllib3 or urllib3.future depending on which will be installed (upgraded) last.

And, of course, easy workaround for getting deterministic result: install / upgrade in any order, and then use

  • pip install --force-reinstall urllib3, or
  • pip install --force-reinstall urllib3.future.
@Ousret Ousret added the documentation Improvements or additions to documentation label Mar 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants