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.json-schema-for-humans: 0.27.1 -> 0.31.0 #115114
Conversation
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Why is this a draft? |
Because it would be nice if the package builds for Python 3.9. |
1186fed
to
87938cb
Compare
This comment has been minimized.
This comment has been minimized.
Down to 19 packages which are following the same pattern. |
@@ -16,16 +18,26 @@ buildPythonPackage rec { | |||
sha256 = "1dzs9a1pr23dhbvmnvms2jv7l7jk26023g5ysf0zvnq8b791s6wg"; | |||
}; | |||
|
|||
patches = lib.optional (pythonAtLeast "3.9") [ |
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.
Can we apply this unconditionally?
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 don't think so. I saw failures if the patch is applied to Python 3.7/3.8. Let me test again.
pkgs/development/python-modules/google-cloud-datastore/default.nix
Outdated
Show resolved
Hide resolved
Which pattern? |
preCheck = ''
# directory shadows imports
rm -r google
[...] and the builds failed because the |
Is that what's causing the |
That's something else [...]
File "/nix/store/yl69v76azrz4daiqksrhb8nnmdiqdjg9-python3-3.8.8/lib/python3.8/subprocess.py", line 340, in call
with Popen(*popenargs, **kwargs) as p:
File "/nix/store/yl69v76azrz4daiqksrhb8nnmdiqdjg9-python3-3.8.8/lib/python3.8/subprocess.py", line 858, in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
File "/nix/store/yl69v76azrz4daiqksrhb8nnmdiqdjg9-python3-3.8.8/lib/python3.8/subprocess.py", line 1706, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'isort'
builder for '/nix/store/42h608fmbjf61ymaq87rxvgmz0y73pj3-python3.8-libcst-0.3.17.drv' failed with exit code 1 |
@fabaff please resolve the merge conflict. |
Done |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
It looks like that the failing packages are executing ===================== 1219 passed, 100 warnings in 14.97s ======================
Finished executing pytestCheckPhase
pytestcachePhase
pytestCheckPhase
Executing pytestCheckPhase
rm: cannot remove 'google': No such file or directory |
89db764
to
4053c81
Compare
Result of 60 packages failed to build:
7 packages built:
|
Superseded by #126015 |
Motivation for this change
Update to latest upstream release 0.31.0
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)