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

Third party requests-cache breaks Python 3.12 compatibility #299

Open
aaronsteers opened this issue Jan 30, 2025 · 2 comments
Open

Third party requests-cache breaks Python 3.12 compatibility #299

aaronsteers opened this issue Jan 30, 2025 · 2 comments

Comments

@aaronsteers
Copy link
Contributor

Re:

@natikgadzhi
Copy link
Contributor

Is it loud failure or obscure failure? Seems like requests-cache should play nice with 3.12, perhaps we should update this to latest in CDK?

@aaronsteers
Copy link
Contributor Author

aaronsteers commented Feb 9, 2025

@natikgadzhi - It is a more obscure error. The linked issue from `requests-cache repo points specifically to issues with concurrency, which is where it bit us:

It looks like requests-cache is currently compatible with python 3.12, with a few minor exceptions:

  • Multiprocess usage with SQLite
  • In-memory cache reads responses twice on request
  • DeprecationWarning with datetime.utcnow()

Specifically we ran into it as a blocker here:

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

No branches or pull requests

2 participants