Skip to content

Commit

Permalink
Adjust a e2e-test that made a bad assumption.
Browse files Browse the repository at this point in the history
Installing py3-pandas does not guarantee you a /usr/bin/python3.
This is fallout of our choice to make pythons co-installable.
More info on this wolfi-dev/os#26818

Adding 'python-3' will get you _some_ python3, but currently
not strictly guaranteed to be the same python3 that the pandas
install was using.

Another option would be to just drop the test here and in
e2e-tests/py3-pandas-nopkg-test.yaml.

Signed-off-by: Scott Moser <[email protected]>
  • Loading branch information
smoser committed Oct 2, 2024
1 parent a268fe4 commit 42da6d8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions e2e-tests/py3-pandas-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ test:
contents:
packages:
- busybox
- python-3
pipeline:
- uses: python/import
with:
Expand All @@ -24,3 +25,5 @@ test:
with:
import: ma
from: numpy
- runs: |
python3 ./py3-pandas-test.py

0 comments on commit 42da6d8

Please sign in to comment.