When trying to run the grading script for heapmm lab specifically, I get a ModuleNotFoundError stating that there is no module named 'pipes'. Some googling told me that pipes was considered deprecated in python 3.0 and removed in python 3.13 (my python version is 3.13.1). The github issue post I was reading suggested replacing it with a module called shlex (Issue post: jupyter/nbclassic#308)
make[1]: Leaving directory '/home/cosmicelijah/csse332-labs-watsonet/xv6-riscv'
== Test rhmm, test basic case == Traceback (most recent call last):
File "/home/cosmicelijah/csse332-labs-watsonet/xv6-riscv/./grade-lab-heapmm.py", line 83, in <module>
run_tests()
~~~~~~~~~^^
File "/home/cosmicelijah/csse332-labs-watsonet/xv6-riscv/gradelib.py", line 121, in run_tests
test()
~~~~^^
File "/home/cosmicelijah/csse332-labs-watsonet/xv6-riscv/gradelib.py", line 55, in run_test
fn()
~~^^
File "/home/cosmicelijah/csse332-labs-watsonet/xv6-riscv/./grade-lab-heapmm.py", line 10, in test_basic_case
r.run_qemu(shell_script(['lab01basic']))
~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/cosmicelijah/csse332-labs-watsonet/xv6-riscv/gradelib.py", line 434, in run_qemu
self.qemu = QEMU(target_base + "-gdb", *make_args)
~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/cosmicelijah/csse332-labs-watsonet/xv6-riscv/gradelib.py", line 294, in __init__
show_command(("make",) + make_args)
~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^
File "/home/cosmicelijah/csse332-labs-watsonet/xv6-riscv/gradelib.py", line 225, in show_command
from pipes import quote
ModuleNotFoundError: No module named 'pipes'
make: *** [Makefile:192: grade] Error 1
When trying to run the grading script for heapmm lab specifically, I get a ModuleNotFoundError stating that there is no module named 'pipes'. Some googling told me that pipes was considered deprecated in python 3.0 and removed in python 3.13 (my python version is 3.13.1). The github issue post I was reading suggested replacing it with a module called shlex (Issue post: jupyter/nbclassic#308)