Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#78682 - [texlive-bin] texlive-bin 2023.66984-2 has also broken support for pythontex

Attached to Project: Arch Linux
Opened by Evan Chen (vEnhance) - Thursday, 01 June 2023, 22:06 GMT
Last edited by Antonio Rojas (arojas) - Friday, 02 June 2023, 08:16 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Antonio Rojas (arojas)
Caleb Maclennan (alerque)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description: pythontex3 is missing several files needed to run.

The PythonTeX files seem to have moved from texlive-core to texlive-bin in 2023.66984-2, but several were lost in transition so that the pythontex binary no longer works.

Steps to reproduce:

```
$ pythontex
Traceback (most recent call last):
File "/usr/bin/pythontex", line 55, in <module>
import pythontex3 as pythontex
ModuleNotFoundError: No module named 'pythontex3'
```

The complete file list in `/usr/share/texmf-dist/scripts/pythontex` from texlive-core 2023.66587-2 was

```
depythontex2.py
depythontex3.py
depythontex.py
pythontex2.py
pythontex_2to3.py
pythontex3.py
pythontex_engines.py
pythontex_install.py
pythontex.py
pythontex_utils.py
```

All of these have been removed from the latest texlive-core but only `pythontex.py` and `depythontex.py` made it to `texlive-bin`, causing missing import.

Can be worked around by manually copying the missing pythontex files to any directory in PYTHONPATH.

(First timer here, apologies for any missing info on my part. Happy to be educated about anything I should do differently in the future.)
This task depends upon

Closed by  Antonio Rojas (arojas)
Friday, 02 June 2023, 08:16 GMT
Reason for closing:  Fixed
Additional comments about closing:  texlive-core 2023.66594-5

Loading...