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

Fix rate limiting backoff behavior #113

Merged
merged 4 commits into from
Apr 6, 2022
Merged

Conversation

AlecRosenbaum
Copy link
Contributor

@AlecRosenbaum AlecRosenbaum commented Apr 6, 2022

This change:

  • drops python 2 (so I can use contextlib)
  • bumps the major version of the library
  • adds testing on python versions 3.7-3.10
  • updates the images to not use the deprecated circleci/ images, instead preferring cimg/
  • fixes rate limit backoff logic to read headers instead of the json body
  • bumps the pinned responses version, so headers can be added to mocked responses
  • bumps the pinned requests and pytest versions as well

Once this merges, a new release should be published to PyPi

@AlecRosenbaum AlecRosenbaum merged commit 8dd7fa3 into master Apr 6, 2022
@AlecRosenbaum AlecRosenbaum deleted the fix-rate-limiting-backoff branch April 6, 2022 20:17
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