Skip to content

Commit

Permalink
Revert "Try to install without manually installing requirements (#107)…
Browse files Browse the repository at this point in the history
…" (#108)

This reverts commit f548be0.
  • Loading branch information
jbusecke committed Jun 23, 2021
1 parent f548be0 commit 7a29a94
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/pythonpublish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,13 @@ jobs:
sleep 10
python -m pip install --upgrade pip
pip cache purge
python -m pip install --extra-index-url https://test.pypi.org/simple --upgrade xarrayutils
# This is kind of stupid, but the only way I got this to work with the latest versions on testpypi
# If I used: python -m pip install --extra-index-url https://test.pypi.org/simple --upgrade xarrayutils
# It would grab an older cmip6_pp version and with `--index-url=...` I cant get the proper dependencies from pypi
# So I am installing the dependencies manually from pypi and the newest version from testpypi...not sure if this
# defeats the purpose, but I am frankly fed up with this shit!
python -m pip install xgcm xarray numpy pandas cftime
python -m pip install --index-url https://test.pypi.org/simple --upgrade xarrayutils
python -c "import xarrayutils;print(xarrayutils.__version__)"
upload-to-pypi:
needs: test-built-dist
Expand Down

0 comments on commit 7a29a94

Please sign in to comment.