question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Consider dropping upper pin on h11

See original GitHub issue

Hi! By pinning the upper version of h11 in setup.py each time they make a release projects that depend on httpcore can fail with version requirement issues.

For example:

ERROR: httpcore 0.14.7 has requirement h11<0.13,>=0.11, but you'll have h11 0.13.0 which is incompatible.
...
pkg_resources.ContextualVersionConflict: (h11 0.13.0 (/.../python3.8/lib/python3.8/site-packages), Requirement.parse('h11<0.13,>=0.11'), {'httpcore'})

Could you remove the upper pin and allow consumers of this important library to use compatible versions on release or restrict the version themselves if necessary?

Of course, part of this is pip’s fault as it should be resolving these constraints, but it does not appear to do so consistently.

A discussion of upper bounds: https://iscinumpy.dev/post/bound-version-constraints/

Related to: https://github.com/encode/httpcore/pull/503

This could be extended to all of the versioning in the setup.py which mostly pin to major versions.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:3
  • Comments:9 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
madkinszcommented, Mar 25, 2022

Hi bot, this issue is still relevant. The upper pin remains and furthermore httpcore is not compatible with h11 0.13+.

0reactions
tomchristiecommented, Sep 29, 2022

Right, let’s consider https://github.com/encode/httpcore/pull/579 as resolving this. We’ll keep the pinning (because, we’re careful like that) but we’ve bumped up the version to the latest.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Amazon.com: Customer Questions & Answers
Q: Is 9006 the same as an h11 bulb ? Answer this question. Answer this question ... H11 contact pins are in a...
Read more >
How To Tell If A Headlight Is Bad - Testing A Headlight Bulb
Testing a headlight is sometimes important because these days bulbs can cost you over $30 a piece! You can easily test your bulb...
Read more >
How To Install LED Resistors - Everything You Need To Know
This means the vehicle will think you have a light bulb burnt out and, as an indicator to you, will flash quicker than...
Read more >
H11‌ ‌vs.‌ ‌9005‌ ‌Bulbs‌: Which One Should You Choose?
H11 and 9005 headlight bulbs often pop up when searching forreplacement lights, but which one should you choose? Here is the whole story!...
Read more >
H11 or H7? - Kia Forum
Here you go - no way the H11 would work (the connector for the bulb is also the holder, and mates directly onto...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found