Skip to content

Commit

Permalink
Try to install without manually installing requirements (#107)
Browse files Browse the repository at this point in the history
  • Loading branch information
jbusecke committed Jun 23, 2021
1 parent 4c001df commit f548be0
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/pythonpublish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -77,13 +77,7 @@ jobs:
sleep 10
python -m pip install --upgrade pip
pip cache purge
# 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 -m pip install --extra-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 f548be0

Please sign in to comment.