[GH-ISSUE #1268] tinytorch: installscript fails on ubuntu LTS 20.04 #10769

Closed
opened 2026-05-12 18:46:47 -05:00 by GiteaMirror · 0 comments
Owner

Originally created by @asgalon on GitHub (Mar 21, 2026).
Original GitHub issue: https://github.com/harvard-edge/cs249r_book/issues/1268

See discussion item #1087

ubuntu 20.04 provides git 2.25.1, which has a bug with processing --sparse command line options.
Additionally, python 3.8 acquired dependency problems with the current requirements.txt configuration.

So the prerequisites in install.sh should be updated to git > 2.25.1 and python >= 3.9

Also, the actual problem was not visible because stdout and stderr were completely suppressed and not recoverable in case of a problem. A better way would be to write all messages to a logfile in the TEMP_DIR and erase that in case of success with a stdout message pointing to the log in case of an error.

Originally created by @asgalon on GitHub (Mar 21, 2026). Original GitHub issue: https://github.com/harvard-edge/cs249r_book/issues/1268 See discussion item #1087 ubuntu 20.04 provides git 2.25.1, which has a bug with processing --sparse command line options. Additionally, python 3.8 acquired dependency problems with the current requirements.txt configuration. So the prerequisites in install.sh should be updated to git > 2.25.1 and python >= 3.9 Also, the actual problem was not visible because stdout and stderr were completely suppressed and not recoverable in case of a problem. A better way would be to write all messages to a logfile in the TEMP_DIR and erase that in case of success with a stdout message pointing to the log in case of an error.
GiteaMirror added the type: bugarea: tools labels 2026-05-12 18:46:47 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/cs249r_book#10769