datajoint / datajoint-python

Relational data pipelines for the science lab
https://datajoint.com/docs
GNU Lesser General Public License v2.1
163 stars 83 forks source link

PLAT-143: Test compatibility with Python 3.10 and 3.11 #1146

Closed ethho closed 5 months ago

ethho commented 6 months ago

Add Python 3.10 and 3.11 to the CI strategy.matrix.py_ver.

Includes changes from #1141.

ethho commented 6 months ago

When using 3.10 or 3.11 with MySQL v5.7, PyMySQL is not able to connect, throwing the error in CI:

pymysql.err.OperationalError: (2003, "Can't connect to MySQL server on 'fakeservices.datajoint.io' ([SSL: SSLV3_ALERT_HANDSHAKE_FAILURE] sslv3 alert handshake failure (_ssl.c:997))")

Next, I'll test 3.10 and 3.11 compatibility with only MySQL 8.0.

A-Baji commented 6 months ago

When using 3.10 or 3.11 with MySQL v5.7, PyMySQL is not able to connect, throwing the error in CI:

pymysql.err.OperationalError: (2003, "Can't connect to MySQL server on 'fakeservices.datajoint.io' ([SSL: SSLV3_ALERT_HANDSHAKE_FAILURE] sslv3 alert handshake failure (_ssl.c:997))")

Next, I'll test 3.10 and 3.11 compatibility with only MySQL 8.0.

Is this something we want/ is worth fixing?

ethho commented 5 months ago

When using 3.10 or 3.11 with MySQL v5.7, PyMySQL is not able to connect, throwing the error in CI:

pymysql.err.OperationalError: (2003, "Can't connect to MySQL server on 'fakeservices.datajoint.io' ([SSL: SSLV3_ALERT_HANDSHAKE_FAILURE] sslv3 alert handshake failure (_ssl.c:997))")

Is this something we want/ is worth fixing?

@A-Baji I spent some time this morning looking into this error. I documented some findings and partial fixes in #1149 and #1148. This appears to be out of scope for the nosetest migration, so let's deal with it in the separate issues I created.