-
-
Notifications
You must be signed in to change notification settings - Fork 14.9k
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
pythonPackages.pyexcel-ods, pythonPackages.pyexcel-xls: migrate to pynose, pep517 builder #325825
Conversation
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/issue-building-nixos-due-to-sip-package/48702/6 |
Result of 8 packages built:
|
Result of 8 packages built:
|
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.
Rewriting the entire test suite of anything that uses |
It's almost a drop-in replacement. The necessary changes could be made using sed. |
Even if it could be done with only sed (I'm skeptical that it will work that way for non-trivial test suites) it doesn't feel like it scales very well. I'd much rather lean on upstreams to try to fix this more permanently. Otherwise, every package that uses nose needs additional patching, and that patching may need to be updated whenever any of those packages are updated. We can fix Nose once per Python upgrade, for all packages that depend on it. I took a look and Alpine Linux already has patches for this: https://github.com/alpinelinux/aports/tree/master/community/py3-nose - If I pull in Are you sure patching Nose isn't the better approach? |
Failing any strong consensus, I went ahead and made #325935. Personally, it seems to me that it's the best thing for Nixpkgs right now. If people feel strongly enough that it is the wrong way to go, I'll concede, but it really does seem a lot simpler to me. |
This should probably be closed now? |
Yep, good call. This is fixed in staging. |
Description of changes
This should fix the build issues with pyexcel.
Couldn't really find a whole lot to test here, but at least the checks do pass.
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.