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 newer Python versions #1168

Open
bbudescu opened this issue Nov 21, 2024 · 1 comment
Open

Support for newer Python versions #1168

bbudescu opened this issue Nov 21, 2024 · 1 comment
Assignees
Labels
dependency Pull requests that update a dependency file. enhancement

Comments

@bbudescu
Copy link

At the time of this writing, the current latest stable CPython version is 3.13. However, the SMAC PyPI package only lists support for versions up to 3.10. For my and possibly others' use cases, it would be nice to be able to use SMAC with more recent versions for a few reasons like:

  • support for newer language features, and not having to either give them up or maintain separate code versions
  • performance gains in the target code for optimization (here, an alternative would be to run the target code with a different interpreter, which can be achieved by using the CLI)
  • easier deployment on various OSs

Now, I can see there's a note in #1116 about this, so I assume the problem is probably generated by compatibility with pyrfr via swig (that issue says "(see Eddies comment Feb 23rd in SMAC3)", but I couldn't find them :) ), so I guess the work is more complex, as I imagine it would probably entail either making, adding and maintaining some new pre-compiled binaries for rfr/pyrfr, or dropping it all together and replacing it, which in itself is a bag of snakes, because that's what benchmarking the performance of machine learning algorithm implementations usually is. I just wanted to leave this issue out here to show there's some interest for it. So no pressure, and thanks for your hard work :).

@benjamc benjamc self-assigned this Nov 27, 2024
@benjamc benjamc added enhancement dependency Pull requests that update a dependency file. labels Dec 4, 2024
@benjamc
Copy link
Collaborator

benjamc commented Dec 4, 2024

Hi Bogdan,
thanks for your suggestion.
We are looking into supporting newer python versions.
I sometimes run SMAC in python 3.12 without any problems.
We are also in the process of replacing the random forest, however this might take a while until we properly benchmarked the new version.
Best

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependency Pull requests that update a dependency file. enhancement
Projects
None yet
Development

No branches or pull requests

2 participants