-
-
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
python3Packages.markdown-it-py: 0.6.2 -> 1.0.0; python3Packages.jupytext: 1.11.0 -> 1.11.2 #121648
Conversation
Result of 2 packages failed to build:
10 packages built successfully:
Note that build failures may predate this PR, and could be nondeterministic or hardware dependent. Result of 2 packages failed to build:
10 packages built successfully:
Note that build failures may predate this PR, and could be nondeterministic or hardware dependent. |
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.
Lately we stop to add the coverage parts of the tests. This doesn't add value for us. There is no rule or guideline for that and depends on the maintainer's choice. Thus, don't consider it a blocker.
pytest | ||
''; | ||
# pre-commit tests require a Git repository. | ||
pytestFlagsArray = [ "--ignore-glob='tests/test_pre_commit_*.py'" ]; |
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.
You could give disabledTestPaths
a try to exclude tests.
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 thought of doing that at first, but it'd require listing tests individually (it passes --ignore
instead of --ignore-glob
). This way I can ignore them by prefix.
c6c01db
to
6b004b5
Compare
6b004b5
to
e6d1079
Compare
Changes in latest push:
|
Result of 2 packages failed to build:
10 packages built:
Here's what I got on darwin. The errors look something like this
|
Looks like jupyter depends on send2trash, and send2trash doesn't work correctly in tests on Darwin, and that altogether is down to #105038. |
Does this work even on NixOS/Linux? I see
|
It builds on Nix on Debian, producing Can anyone reproduce the Hydra failure? |
Yes, it fails for me in the same way when building for master on NixOS. Here's (the end of) my build log. |
Yeah, also fails for me in the same way as on Hydra. Are you running the tests without sandboxes in a single-user debian install? |
Well…
So yes, it seems I've been building stuff without a sandbox while thinking otherwise. I'll turn it into a multi-user install so I can get the tests fixed and avoid this happening in the future. |
Due to improper sandboxing, I didn't notice the failed tests while upgrading jupytext in NixOS#121648. The errors come from jupyter_core so the same fix is used here as there: set $HOME to a writable directory.
Due to improper sandboxing, I didn't notice the failed tests while upgrading jupytext in #121648. The errors come from jupyter_core so the same fix is used here as there: set $HOME to a writable directory.
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)