python-swat
python-swat copied to clipboard
Support for python 3.12
Hi, now that python 3.12 has been out there for several months, is it planned to update this package to support python 3.12, and if so do you have any forecast about when to expect it?
Thank you Regards
There are no specific plans to update at this time, but I'll keep you posted if/when that changes.
For us, this caused a concrete problem with one of our users preferentially using conda. They had a conda venv with 3.12, but had no success when installing the package using conda (they didn't know about that sas-institute channel). So they used pip install, which installed without complaint... Then struggled to figure out why nothing worked. The obvious path of least resistance is broken for that user, who didn't even realize he was doing anything problematic
Please chalk us up as a organization that would strongly like to see 3.12 correctly "just work"
Hi @bkemper24, just to ask, is anyone from SAS actively working on this, so that we can expect a release compatible with python 3.12 soon?
I ask because many projects I'm following are already migrated to python 3.12, and I am forced to install swat directly from the github master branch to support them, and clearly this is very bad for production. So we would like to understand what are SAS plans for the future of swat.
Also there are a few others reporting this, see #184 #182 #168 #170.
Thank you Regards
Also, we're one of the non profit research houses that anaconda has seen fit to try to extract too much money from ( https://www.theregister.com/2024/08/08/anaconda_puts_the_squeeze_on/ ). So anaconda is probably going away as an option, which means not supporting current python is even more of a pressing issue.
For what it's worth: I noticed there's a mismatch between swat versions available in pip for 3.12 vs 3.10; the one in 3.12 is much older [1.6.0 or so?].
Today I installed this git version, in a 3.12 venv on Linux [Ubuntu 22.04], and it worked fine with my viya instance. I used this command to do it:
python3 -m pip install swat@git+https://github.com/sassoftware/python-swat
I've also seen some recent commits in this repo; Can I infer that a working version for 3.12 is coming soon?
support for Python 3.12 is now available in python-swat version 1.15.0