-
-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
pypandoc: 1.2.0 -> 1.3.3 #22782
pypandoc: 1.2.0 -> 1.3.3 #22782
Conversation
@kristoff3r, thanks for your PR! By analyzing the history of the files in this pull request, we identified @zraexy, @zimbatm, @peti and @FRidh to be potential reviewers. |
Yes, please fix or disable the specific tests instead of disabling the whole test suite. |
3f894cf
to
caad053
Compare
I have patched out the two tests, the second one was a real bug triggered by having dashes in the tmp dir, reported here: JessicaTegner/pypandoc#130 |
The test failure in Travis is weird. When I run
or
it works, but not when I run
The only difference I have found is that a variable has type <class 'bytes'> when it fails, but type <class 'str'> when it succeeds. Any ideas? |
I don't know what failure you refer to. What is The only issue that is left that I see is fixing the tests for Python 3. You likely need to add |
caad053
to
cedd0a1
Compare
Ah thanks, it was the python 3 test failure I meant. Why is that necessary, and/or is it documented somewhere? |
Is there more I can do for this to go through? The darwin error seems unrelated to this change, and I can't debug it myself. |
Just tested and compiled fine on Darwin |
Motivation for this change
pypandoc 1.2.0 is broken with the newest pandoc, as it relied on scraping "pandoc -h" output which was removed and replaced with a flag (--list-output-formats).
Two new tests fail under sandbox. One of them requires network access, the other one I'm not sure about, but both work with sandboxing disabled. Maybe the tests should be patched instead?
Things done
(nix.useSandbox on NixOS,
or option
build-use-sandbox
innix.conf
on non-NixOS)
nix-shell -p nox --run "nox-review wip"
./result/bin/
)