Skip to content

Commit

Permalink
Fix numpy-test to work across python 3.12 to 3.13 transition.
Browse files Browse the repository at this point in the history
The test was failing because 'numpy' is now installing
a python3.13 version.  Instead of making an assumption on
what it installs, let the pipeline do the rigth thing.

The python/import pipeline will search for exactly one
python installed and use it to test the import.
  • Loading branch information
smoser committed Dec 17, 2024
1 parent 004666b commit 1807fb4
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions e2e-tests/numpy-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,7 @@ pipeline:

# Test python/import, and python/test pipelines
test:
environment:
# TODO(pnasrat): fix to use multiple python
contents:
packages:
- python-3.12
pipeline:
# Test import with command (python -c "import numpy")
- uses: python/test
with:
command: python3.12 -c "import numpy"
# Test import directly (python -c "import numpy")
- uses: python/import
with:
Expand Down

0 comments on commit 1807fb4

Please sign in to comment.