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
python-docx: init at 0.8.6 #38722
python-docx: init at 0.8.6 #38722
Conversation
buildPythonPackage rec { | ||
pname = "python-docx"; | ||
version = "0.8.6"; | ||
name = "${pname}-${version}"; |
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.
The name
attribute is added by buildPython*
and should therefore be removed.
@GrahamcOfBorg build python3.pkgs.python-docx |
Failure on x86_64-linux (full log) Attempted: python3.pkgs.python-docx Partial log (click to expand)
|
Failure on aarch64-linux (full log) Attempted: python3.pkgs.python-docx Partial log (click to expand)
|
Success on x86_64-darwin (full log) Attempted: python3.pkgs.python-docx Partial log (click to expand)
|
Test dependencies are missing. I suggest testing with the sandbox turned on. |
I may have fixed these, not sure if my nix.useSandbox = true is working... |
@GrahamcOfBorg build python3.pkgs.python-docx |
Ok @FRidh, I think I have it working now. |
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.
Please squash the commits and use
pythonPackages.python-docx: init at 0.8.6
as the commit message.
sha256 = "117i84s6fcdsrfckbvznnqgqwhnf1x0523ps16cki8sg9byydv2m"; | ||
}; | ||
|
||
buildInputs = [ behave lxml pytest pyparsing mock ]; |
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.
lxml belongs into propagatedBuildInputs
, the rest into checkInputs
|
||
meta = { | ||
description = "Create and update Microsoft Word .docx files"; | ||
homepage = "https://python-docx.readthedocs.io/en/latest/"; |
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.
no quotes
@GrahamcOfBorg build python3.pkgs.python-docx |
Success on aarch64-linux (full log) Attempted: python3.pkgs.python-docx Partial log (click to expand)
|
Success on x86_64-linux (full log) Attempted: python3.pkgs.python-docx Partial log (click to expand)
|
Please specify an appropriate
|
checkPhase added, dependencies updated, commits squashed, and commit message updated. Thanks for the thorough review! |
@GrahamcOfBorg build python2.pkgs.python-docx python3.pkgs.python-docx |
Success on x86_64-linux (full log) Attempted: python2.pkgs.python-docx, python3.pkgs.python-docx Partial log (click to expand)
|
Success on aarch64-linux (full log) Attempted: python2.pkgs.python-docx, python3.pkgs.python-docx Partial log (click to expand)
|
Motivation for this change
This library is a required dependency for something I need to build.
Things done
build-use-sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)