-
-
Notifications
You must be signed in to change notification settings - Fork 14.7k
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
grass: pin to python 3.11 #325731
grass: pin to python 3.11 #325731
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Result of nixpkgs-review pr 325731
run on x86_64-linux 1
1 package failed to build:
- qgis-ltr
2 packages built:
- grass
- qgis
Thanks, fixed qgis-ltr. |
qgis-ltr still fails. But this is not due to the update of the python version but the update of gqgis-ltr to 3.34.8: https://hydra.nixos.org/job/nixpkgs/trunk/qgis-ltr.x86_64-linux. Thus unrelated to this PR. |
QGIS is building successfully even without this PR on Hydra. |
I am not sure why QGIS-LTR fails. It was building successfully at the moment of 3.34.8 update. |
Then it maybe was the gdal update? Not sure judging by hydra. |
Pin to Python 3.11 since wxpython is not yet compatible to Python 3.12. Co-authored-by: Ivan Mincik <[email protected]>
Grass depends on Python 3.11 as wxwidgets doesn't support Python 3.12.
Grass depends on Python 3.11 as wxwidgets doesn't support Python 3.12.
6dbe31b
to
5bdcce6
Compare
@fpletz , thanks for taking my suggestion for GRASS. What about removing QGIS changes from this PR so we can merge GRASS now. I need to investigate more what's going on with QGIS (I'm traveling right now and will have a look in next few days). |
@imincik I disagree because right now QGIS doesn't work at all. With this PR at least |
The be more precise: Without this PR,
With the grass changes With the grass and qgis changes from this PR, |
I am not able to investigate now, but we have python312Packages.wxpython. Will have a look ASAP. |
Which fails to evaluate. 😸 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The pins can be removed again when wxpython supports python 3.12. This is the logical solution for the time being.
Nixpkgs PR: NixOS/nixpkgs#325731
Description of changes
Pin to Python 3.11 since wxpython is not yet compatible to Python 3.12.
Things done
nix.conf
? (See Nix manual)sandbox = relaxed
sandbox = true
nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)Add a 👍 reaction to pull requests you find important.