-
Notifications
You must be signed in to change notification settings - Fork 15
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
latest release pulls in ax 0.4 #208
Comments
Hi @berceanu, Good timing! We were just today preparing a new release (https://github.com/optimas-org/optimas/releases/tag/v0.6.0) that includes support for the latest Ax version (#206). You should already be able to get optimas |
Good, now imagine the following scenario: some time from now, Or am I missing something? |
That's a general question about how to handle dependencies. Do you want to force a particular version, or allow a wider range? The first one gives you a certain peace of mind, but might easily lead to conflicts with other libraries in your environment if they require a different version. So, I think that in principle we should be as flexible as possible, but all the last few releases of Ax have broken something in optimas (even the small releases like |
In any case, imagine that Ax |
Hi @AngelFP, thanks for the detailed reply, you made some very good points. I was not aware that even patch number |
My hope is that this will get better in the future. In previous releases we were using some low-level functions from Ax that are probably not meant for everyone, and which were the reason behind some of these issues. We've been slowly moving away from that, so hopefully this will be more robust going forward. |
Latest stable release of
optimas
on PyPI (0.5.0
at the time of writing), has anax
dependency specified asax-platform >= 0.3.4
. Right now this pulls inax 0.4
, which doesn't work, on thefbpic
example it gives:In order to avoid this in the future, perhaps the dependencies on
ax-platform
(and maybelibensemble
as well) inpyproject.toml
could be narrower, ie limited to0.4.x
instead of>= 0.4.0
?The text was updated successfully, but these errors were encountered: