From 7c983d0d5463d71484ecb0775c84fb6c8518034f Mon Sep 17 00:00:00 2001 From: Dustin Lang Date: Mon, 22 Jul 2024 11:09:58 -0400 Subject: [PATCH] try to figure out when numpy 2.0 is getting installed --- .github/workflows/python-package.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index 7c52afa..d7dac94 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -37,13 +37,27 @@ jobs: - name: Install Python dependencies run: | python -m pip install --upgrade pip setuptools wheel + echo "Step 1" + python -c "import numpy as x; print(x.__version__)" python -m pip install pytest python -m pip install git+https://github.com/desihub/desiutil.git@${DESIUTIL_VERSION}#egg=desiutil + echo "Step 2" + python -c "import numpy as x; print(x.__version__)" python -m pip install -U 'numpy${{ matrix.numpy-version }}' + echo "Step 3" + python -c "import numpy as x; print(x.__version__)" python -m pip install -U 'astropy${{ matrix.astropy-version }}' + echo "Step 4" + python -c "import numpy as x; print(x.__version__)" python -m pip cache remove fitsio + echo "Step 5" + python -c "import numpy as x; print(x.__version__)" python -m pip install --no-deps --force-reinstall --ignore-installed 'fitsio${{ matrix.fitsio-version }}' + echo "Step 6" + python -c "import numpy as x; print(x.__version__)" python -m pip install pyyaml requests scipy healpy matplotlib + echo "Step 7" + python -c "import numpy as x; print(x.__version__)" svn export https://desi.lbl.gov/svn/code/desimodel/${DESIMODEL_DATA}/data # ADM grab the surveyops directory. wget -e robots=off -r -np -nH --cut-dirs 7 https://data.desi.lbl.gov/public/edr/survey/ops/surveyops/tags/0.1/ops/