-
-
Notifications
You must be signed in to change notification settings - Fork 14.8k
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
pgcli: 1.11.0 -> 2.0.0 #49853
pgcli: 1.11.0 -> 2.0.0 #49853
Conversation
Currently running |
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.
Especially major bumps of Python modules in nixpkgs
are unfortunately quite error-prone.
I identified the following packages that seem to break with prompt_toolkit
bumped to 2.x:
pkgs.haxor-news
pkgs.pythonPackages.ptpython
pkgs.xonsh
(pygments
is missing, this may be happening because of the removedpygments
inprompt_tools
, but in that case it's certainly an issue ofxonsh
)pkgs.python3Packages.jupyterhub
(same as above)
It would be great if you could fix these packages (or provide pythonPackages.prompt_tools
and pythonPackages.prompt_tools2
temporarily until all affected packages support v2).
Feel free to ping me if I can help you :)
@Ma27 thanks for your review, I didn't know about nix-review. I believe I've fixed the errors
also ipython5 and ipython6 only work with prompt_toolkit 1.x and don't have plans to upgrade to prompt_toolkit 2. ipython7 (not yet in nixpkgs) works prompt_toolkit 2. |
First of all, thanks a lot for the additional effort! I'll look into it in further detail later. Regarding |
So, I had a second look at your PR. As far as I can tell the main intention is still to bump Additionally, I observed that the sandboxed build of |
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.
I pushed onto your branch to disable remaining impure tests you seem to have missed (they are already disabled on master
).
I checked the functionality of xonsh
, ptpython
and pgcli
locally, all of them remained functional.
By default prompt_tools
is still v1 ATM, so no further breakage is expected (confirmed by running nix-review
locally). When all of the remaining applications are moved, v1 can be dropped entirely.
And thanks a lot for your effort of course 👍
Motivation for this change
Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)nix path-info -S
before and after)