-
-
Notifications
You must be signed in to change notification settings - Fork 14.6k
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
bpython: fix build #120909
bpython: fix build #120909
Conversation
Result of 6 packages built:
|
Result of 6 packages built successfully:
3 suggestions:
Result of 6 packages built successfully:
1 suggestion:
|
Done
Done
Not part of this PR |
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.
- Diff mostly LGTM. Could use small improvements to
cwcwidth
. - Commits: could squash the two bpython commits.
- Builds via
nix-review
on x86-64-linux
6 packages built:
python38Packages.bpython python38Packages.curtsies python38Packages.cwcwidth python39Packages.bpython python39Packages.curtsies python39Packages.cwcwidth
@@ -24,7 +26,7 @@ buildPythonPackage rec { | |||
which = "${which}/bin/which"; | |||
})]; | |||
|
|||
propagatedBuildInputs = [ curtsies greenlet pygments requests urwid ]; | |||
propagatedBuildInputs = [ curtsies greenlet pygments requests urwid pyxdg ]; |
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.
These could be sorted alphabetically on separate lines.
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.
Done
description = "Python bindings for wc(s)width"; | ||
homepage = "https://github.com/sebastinas/cwcwidth"; | ||
license = licenses.mit; |
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.
description = "Python bindings for wc(s)width"; | |
homepage = "https://github.com/sebastinas/cwcwidth"; | |
license = licenses.mit; | |
description = "Python bindings for wc(s)width"; | |
homepage = "https://github.com/sebastinas/cwcwidth"; | |
changelog = "https://github.com/sebastinas/cwcwidth/blob/main/CHANGELOG.md"; | |
license = licenses.mit; |
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.
Done
|
||
buildPythonPackage rec { | ||
pname = "cwcwidth"; | ||
version = "0.1.4"; |
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.
version = "0.1.4"; | |
version = "0.1.4"; | |
format = "pyproject"; |
https://github.com/sebastinas/cwcwidth/blob/v0.1.4/pyproject.toml
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.
What's the advantage over setuptools?
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.
pyproject is likely to be the more supported use case moving forward
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.
Changed then
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: |
ZHF: #122042 |
Motivation for this change
Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)