-
Notifications
You must be signed in to change notification settings - Fork 79
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
fix: loosen restriction on the limits dependency #157
Conversation
Thanks @sanders41 ! I hope it gets merged and released 🙏🏻 |
Hi @sanders41 thanks for opening this. It looks ok to me, particularly seeing that the CI checks used |
hi @laurentS first of all thank you so much for addressing this so quickly ❤️ I temporary changed my # slowapi==0.1.7
git+https://github.com/laurentS/slowapi@master and rerun our tests and I confirm I'm not getting that error anymore 🎉 It's worth noticing two things:
warnings.warn("pkg_resources is deprecated as an API", DeprecationWarning)
E DeprecationWarning: pkg_resources is deprecated as an API was enough, in my case to make
p.s: I'm looking forward to switch to the new version once released, in the mean time I will keep using the Thanks again 🙏🏻 |
@andreagrandi I am guessing this isn't the reason, but any chance you have the environment variable |
if I do |
Your result is the same as mine. I figured it was a long shot. |
Shameless call for help, I've opened #109 a few days ago to try and fix the blocking point around releases. If anyone has time to take a look, it'll be helpful. @andreagrandi I don't know where your error comes from, I've never used |
No pressure :)
|
I prepared this #159 but I still need to take care of |
➜ slowapi git:(prepare-release-0-1-8) poetry lock
Updating dependencies
Resolving dependencies... (4.0s)
➜ slowapi git:(prepare-release-0-1-8) git status
On branch prepare-release-0-1-8
Your branch is up to date with 'origin/prepare-release-0-1-8'.
nothing to commit, working tree clean uhm |
I ran the lock to make sure |
Perfect then! Please double check the changelog file, because I generated it by reading meaningful (imho) commit messages that were done after the last release. Thanks |
Closes #156
This is one possible solution to #156 if you want to keep supporting
limits
<3.0. The current setting capslimits
at 2.x, this change will allow anything >= 2.3. All the tests are passing so my assumption is none of the breaking changes in 3.0 cause issues here.