-
-
Notifications
You must be signed in to change notification settings - Fork 14.2k
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
sphinx-jinja: 0.2.1 -> 1.1.0, Python 3 support #45763
Conversation
That's described in the Nixpkgs manual. |
46897ff
to
7a05581
Compare
I moved the package to its own file. |
@GrahamcOfBorg build sphinx-jinja |
7a05581
to
3e0490f
Compare
3e0490f
to
c48d46a
Compare
No attempt on x86_64-darwin (full log) The following builds were skipped because they don't evaluate on x86_64-darwin: sphinx-jinja Partial log (click to expand)
|
No attempt on aarch64-linux (full log) The following builds were skipped because they don't evaluate on aarch64-linux: sphinx-jinja Partial log (click to expand)
|
No attempt on x86_64-linux (full log) The following builds were skipped because they don't evaluate on x86_64-linux: sphinx-jinja Partial log (click to expand)
|
Superseded by #45890 |
Motivation for this change
Updates sphinx-jinja to the latest version, and enables Python 3 support.
Things done
The main issues with Python 3 support were that the tests were run with pytest when they were designed to be run with nose (pytest tried to inject fixtures into function arguments). Also there is an issue where a UTF-8 file is read in the tests without specifying a codec, which requires the locale to be set to UTF-8.
I also removed the blockdiag dependency, because I could not see how it was required. @nand0p why was blockdiag necessary?
sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)nix path-info -S
before and after)