-
Notifications
You must be signed in to change notification settings - Fork 38
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
Pin python <3.12
for 2.10 release
#2250
Comments
indeed python 3.12 environment now builds without any incantations https://github.com/ESMValGroup/ESMValCore/actions/runs/6708774145/job/18230325803?pr=2228 but we are running into these flake8 distaters, I think we need to pin < 3.12 asap |
flake8
hell breaks loose with python=3.12
in a condalock environmentpython <3.12
for 2.10 release
It looks like it's just a few code formatting issues, those should be easy enough to fix and as far as I can see they will not affect the proper functioning of the tool. |
indeed! I too am for allowing Python 3.12 to trick-or-treat us, but there may be other issues that'll pop up - that's why I am leaving this to the RM and RMXO to decide - @zklaus and you 😁 (RMXO - release manager executive officer) |
Actually, the alleged Flake8 violations seem to stem from Flake8 now checking the contents of f-strings, e.g. missing space after |
saw this was enforced by Flake8 as something valid, folks, it's on their list of no-no's (my way of calling it since I forgot the actual standard's code). I am thinking, if we allow 3.12 in Core, we'll prob have some issues in Tool - do we want to do that and fix anything that may go belly-up in Tool, while we're doing the release? If so, I can work on this today, see if anything's broken in Tool with 3.12-Core |
Could you point us to where they say that? |
shall dig it out in a jiffy, bud |
here is the E231 gents - it does, however, look like a fairly old rule, and I don't know why it's decided to wake up only now for 3.12 |
there is also |
see eg all manners of failed flake8 tests - python=3.12 seems to be bringing in massive PITAs - and, more importantly, conda-lock found a solution for the environment to build which means two things:
< 3.12
in the release and package build on feedstock -> @zklausThe text was updated successfully, but these errors were encountered: