Skip to content
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

Support for python 3.12 #179

Open
gygabyte017 opened this issue May 6, 2024 · 6 comments
Open

Support for python 3.12 #179

gygabyte017 opened this issue May 6, 2024 · 6 comments

Comments

@gygabyte017
Copy link

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

@bkemper24
Copy link
Contributor

There are no specific plans to update at this time, but I'll keep you posted if/when that changes.

@chunky
Copy link

chunky commented May 28, 2024

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"

@gygabyte017
Copy link
Author

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

@chunky
Copy link

chunky commented Aug 23, 2024

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.

@chunky
Copy link

chunky commented Oct 22, 2024

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?

@bkemper24
Copy link
Contributor

support for Python 3.12 is now available in python-swat version 1.15.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants