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

Loosen dependency restriction on httpx #417

Merged
merged 2 commits into from
Jan 9, 2025
Merged

Loosen dependency restriction on httpx #417

merged 2 commits into from
Jan 9, 2025

Conversation

mathialo
Copy link
Collaborator

@mathialo mathialo commented Jan 9, 2025

Using ^0.x.y in poetry is quite problematic, since it locks it to minor version and only allows patch updates. This makes it very hard to depend on this package since it both makes it hard to update packages and makes the likelihood of unresolvable requirements much higher.

The same is really true for upper bounds in general, but to a lesser extent. There's a quite good blog post on it from one of the big guys in scientific python:

https://iscinumpy.dev/post/bound-version-constraints/

Using `^0.x.y` in poetry is quite problematic, since it locks it to
_minor_ version and only allows patch updates. This makes it very hard
to depend on this package since it both makes it hard to update packages
_and_ makes the likelihood of unresolvable requirements much higher.

The same is really true for upper bounds in general, but to a lesser
extent. There's a quite good blog post on it from one of the big guys in
scientific python:

https://iscinumpy.dev/post/bound-version-constraints/
@mathialo mathialo requested a review from a team as a code owner January 9, 2025 09:27
Copy link
Contributor

@rsjr rsjr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Copy link

codecov bot commented Jan 9, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 74.97%. Comparing base (a88cab3) to head (f82c56a).
Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #417      +/-   ##
==========================================
- Coverage   75.00%   74.97%   -0.03%     
==========================================
  Files          41       41              
  Lines        3409     3409              
==========================================
- Hits         2557     2556       -1     
- Misses        852      853       +1     
Files with missing lines Coverage Δ
cognite/extractorutils/__init__.py 100.00% <100.00%> (ø)

... and 1 file with indirect coverage changes

@mathialo mathialo merged commit 6bb421e into master Jan 9, 2025
5 checks passed
@mathialo mathialo deleted the looser-httpx branch January 9, 2025 11:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants