You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This change adds support for Python 3.13. It does the following:
- The latest Python version that presubmit tests use is now Python 3.13, instead of Python 3.12.
- Remove `psycopg2-binary` package from `requirements-test.txt`, because Python 3.13 requires psycopg version 2.9.10. But 2.9.10 is not yet fully supported on Windows and Mac. As a result, we cannot run [test_psycopg2_direct_connection.py](https://github.com/GoogleCloudPlatform/alloydb-python-connector/pull/383/files#diff-58b933e0c009174fe693b297def131f462f39e29de5b887468865f45efb5dea8) as part of our presubmit tests. So we move it to the `docs/samples/` folder for now. Re-adding `psycopg2-binary` package and `test_psycopg2_direct_connection.py` to our presubmit tests is being tracked in #388.
Feature Description
psycopg 2.9.10 isn't supported on Python 3.13 for Windows yet: psycopg/psycopg2#1736. Until it gets supported, we should do the following:
requirements-test.txt
test_psycopg2_direct_connection.py
intodocs/samples
folder for now.Also, psycopg 2.9.10 isn't supported on Python 3.9 for
macos-14
. So when we decide to add psycopg back intorequirements-test.txt
, we should only have tests run undermacos-12
, instead ofmacos-latest
: https://github.com/GoogleCloudPlatform/alloydb-python-connector/blob/main/.github/workflows/tests.yaml#L40Sample code
No response
Alternatives Considered
No response
Additional Details
No response
The text was updated successfully, but these errors were encountered: