move-coop / parsons

A python library of connectors for the progressive community.
Other
255 stars 125 forks source link

[Feature/Addition] Compatibility for Python 3.12 #1021

Closed crayolakat closed 6 days ago

crayolakat commented 3 months ago

Detailed Description

Provide compatibility for Python 3.12, the latest minor release of Python. Currently, Parsons is compatibility up to and including Python 3.10. #1012 brings the compatibility up to and including 3.11, but has not been merged into the main branch or released yet.

Possible Implementation

Update to Python 3.12 and test to see if anything breaks or is now incompatibile.

Priority

Low priority

shaunagm commented 2 months ago

Hi @crayolakat! In testing we discovered that PETL does not yet support 3.12, this is a crucial dependency so until PETL updates, we're stuck. Once they've updated, we can circle back and support 3.12

crayolakat commented 2 months ago

Ok, thanks for looking into this!

jdw25 commented 1 month ago

@shaunagm -- does this answer and this addition of 3.12 into PETL CI testing mean we we can now consider support for 3.12 not blocked by PETL?

I think supporting Python 3.12 would be beneficial -- 3.12 is the default install for Ubuntu 24 LTS (which is the latest-greatest LTS Ubuntu release)

shaunagm commented 1 month ago

Yes, you're right @jdw25 that PETL is not a blocker. So next step is for someone to open a PR adding 3.12 to our test suite in github actions, and see if everything passes (plus add it to our docs & readme & setup.py as well). If it does, adding 3.12 support is as simple as merging, otherwise we'll have additional work to do.

jdw25 commented 6 days ago

This should now be complete with https://github.com/move-coop/parsons/pull/1087

shaunagm commented 6 days ago

Thank you @jdw25!