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
texlive: use python3 by default #107119
texlive: use python3 by default #107119
Conversation
PygmenTeX does not work with Python 3. |
Argh, texlive is one of the last remaining piece of python2 on my computer. |
Perhaps a matter of getting version 0.9 to CTAN |
Can we somehow override texlive here and provide the new version of pygmentex? |
Since it's only python script that has changes, we can just update the |
A list of other scripts, not sure how up to date this is now: https://tug.org/pipermail/tex-live/2019-November/044366.html |
According to this fedora tracker, pygmentex is the only remaining script https://fedora.portingdb.xyz/pkg/texlive-base/ |
I have just submitted version 0.10 to CTAN. |
Is it possible to pull this ahead of time or do we have to wait for a texlive release? |
I suppose we could just hack it in here: nixpkgs/pkgs/tools/typesetting/tex/texlive/bin.nix Lines 326 to 328 in d47eae3
|
Actually, we might as well update the whole snapshot. I see pygmentex 0.10 provided by today's texlive https://texlive.info/tlnet-archive/2021/01/03/tlnet/archive/pygmentex.r57190.tar.xz |
Is there anything missing to merge this PR? |
Updating texlive snapshot unless this has been done in the meantime? |
There is one python helper script still written for: Utility for writing Bengali in Rapid Roman Format. But this one does not seem super relevant
I think it has. Currently in unstable it has |
I guess than it is good to go? |
pygmentex works for me with this PR merged into unstable.
I was able to compile my document. |
There is one python helper script still written for: Utility for writing
Bengali in Rapid Roman Format. But this one does not seem super relevant
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)