-
Notifications
You must be signed in to change notification settings - Fork 104
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
Increase minimum ensureconda version for py3.12 compatibility #597
Conversation
Prior to ensureconda v1.4.4 distutils is used, which was removed in python 3.12. This prevents conda-lock running under python newer than 3.11, so the minimum version of ensureconda is increased. Fixes #542
✅ Deploy Preview for conda-lock ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
Thanks @jfrost-mo! Feel free to ping me if it's green and not merged. |
Just pushed a fix for #596 |
I was too slow with #598 then. You probably want to add packaging as an explicit dependency to the pyproject.toml now its directly used. I'll go ahead and do that. |
No, it's already there, thanks though! |
Line 57 in 2c2999b
|
Oops, I'll revert my change then. |
@maresb CI is all passing now. |
Prior to ensureconda v1.4.4 distutils is used, which was removed in python 3.12. This prevents conda-lock running under python newer than 3.11, so the minimum version of ensureconda is increased.
Fixes #542
Fixes #596
The fix involves switching from distutils.version to packaging.version from the packaging package, which is maintained by the pypa.
The conda-lock.yml files will need regenerating after this PR.