Skip to content
Merged
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
cd73f8f
Add extra CI debug
jafingerhut Jul 23, 2026
a6909b7
more debug
jafingerhut Jul 23, 2026
2bb392b
Look for all placs that Python packages are installed
jafingerhut Jul 23, 2026
d420cd6
different debug
jafingerhut Jul 23, 2026
ecda3db
more debug
jafingerhut Jul 23, 2026
b8ba505
more debug
jafingerhut Jul 23, 2026
bc9c4ec
more debug
jafingerhut Jul 23, 2026
e23247a
print python path
jafingerhut Jul 23, 2026
7bf07df
Try using a python venv
jafingerhut Jul 23, 2026
eebb895
fix typo
jafingerhut Jul 23, 2026
4925231
Use bash for Github action
jafingerhut Jul 23, 2026
6ff8542
Explicitly set PYTHONPATH on pip commands
jafingerhut Jul 23, 2026
7d202fd
Try not installing Python package grpcio-tools
jafingerhut Jul 23, 2026
9cd698c
Add installation of ptf package
jafingerhut Jul 23, 2026
92abd01
Use venv in runptf.sh scripts
jafingerhut Jul 23, 2026
4c8f3c8
Set PYTHONPATH when running unit tests
jafingerhut Jul 23, 2026
2a3f562
Allow newly created venv to use system-wide packages
jafingerhut Jul 23, 2026
71c01b5
show PYTHONPATH during unit tests, to see if it is as earlier command…
jafingerhut Jul 23, 2026
c3069c0
Try using sudo on 'pip3 install' command instead of venv
jafingerhut Jul 23, 2026
e7c0795
Add option --break-system-packages to 'pip3 install' command
jafingerhut Jul 23, 2026
13e77d3
Use python -m site command to see what it considers to be the directo…
jafingerhut Jul 23, 2026
32ee469
Try moving files from one Python install directory to another, to see…
jafingerhut Jul 23, 2026
ef073b5
Move files between Python dirs before doing pip3 install
jafingerhut Jul 23, 2026
4768c83
Remove extra commands from runptf.sh scripts
jafingerhut Jul 23, 2026
bab2912
Remove some of the extra show commands from CI
jafingerhut Jul 23, 2026
eb50b53
Remove more added show commands, and also explicit setting of PYTHONPATH
jafingerhut Jul 23, 2026
4aed5d8
Get the changes back to a minimal set that pass CI tests
jafingerhut Jul 23, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .github/workflows/test-exercises.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,12 @@ jobs:
uses: actions/checkout@v4

- name: Install build dependencies
shell: bash
run: |
apt-get update
apt-get install -y make python3-pip sudo libboost-iostreams-dev libboost-graph-dev
pip3 install protobuf==3.20.3 grpcio grpcio-tools googleapis-common-protos scapy
mv /usr/local/lib/python3.12/site-packages/* /usr/local/lib/python3.12/dist-packages
sudo pip3 install --break-system-packages protobuf==3.20.3 grpcio googleapis-common-protos scapy ptf

- name: Run PTF Tests
run: |
Expand Down
Loading