-
Notifications
You must be signed in to change notification settings - Fork 64
Python 3.13 compatibility #24
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
Conversation
* assert shape of calls to unraisablehook and sanity check traceback contents instead of (varying) stderr output from default unraisablehook impl
b6716b8
to
364621f
Compare
First commit LGTM. I didn't review teh 2nd commit closely. |
With
Without |
1951 passed, 89 skipped, 4 xfailed, 367 warnings |
Testing the update unraisable tests to use sys.unraisablehook together with 49127c6 on the recent Python 3.13 git HEAD. |
tests passed, trying to build cryptography |
cryptography build succeeded as well |
Could you please release a new version with this fix? |
@mindflayer 1.17.0rc1 supports Python 3.13 |
Thank you @edgarrmondragon for sharing it. Do you happen to know when a stable one will be published? |
@mindflayer according to #71 (comment), the final release will be tagged soon after 3.13.0rc1 comes out. So some time after 2024-07-30. |
In addition to Python 3.8 (min version) We cannot support Python 3.13 untill this cffi issue is fixed: python-cffi/cffi#24
In addition to Python 3.8 (min version) We cannot support Python 3.13 until this cffi issue is fixed: python-cffi/cffi#24
## Description `testcontainers-python` is not compatible with python 3.13 because of several packages. ## Related issues Fixes #870 ## Packages update - bump cffi: python-cffi/cffi#24 - bump psycopg2: psycopg/psycopg2#1695 - bump trio: python-trio/trio#2955 - bump pytest: pytest-dev/pytest#12334 - bump pymilvus: milvus-io/pymilvus#2684 - bump twine: pypa/twine#1184 - bump cryptography: pyca/cryptography#11491 - bump greenlet: python-greenlet/greenlet@9497948 (python-greenlet/greenlet#392) - bump grpcio: grpc/grpc#36201 - bump httpx: encode/httpx#3460 - bump ibm-db: ibmdb/python-ibmdb#971 - bump orjson: https://github.com/ijl/orjson/releases/tag/3.10.15 - bump pandas: https://github.com/pandas-dev/pandas/releases/tag/v2.2.3 >⚠️ `cryptography` is not compatible with python `3.9.0` and `3.9.1` to be able to update to the version supporting Python 3.13 we have to exclude those version, meaning the minimum version is now 3.9.2 included. --------- Signed-off-by: axel7083 <[email protected]> Co-authored-by: David Ankin <[email protected]>
fixes #23
Full test suite passes locally on 3.13.0a1 under Linux x86_64 with these changes.