@@ -62,21 +62,23 @@ jobs:
6262 cache : pip
6363 cache-dependency-path : |
6464 pyproject.toml
65+ - name : Install uv
66+ uses : astral-sh/setup-uv@v7
6567 - name : Install latex
6668 if : runner.os == 'Linux' && matrix.deps == 'test_extra'
6769 run : echo "disable latex for now, issues in mirros" # sudo apt-get -yq -o Acquire::Retries=3 --no-install-suggests --no-install-recommends install texlive dvipng
6870 - name : Install and update Python dependencies (binary only)
6971 if : ${{ ! contains( matrix.python-version, 'dev' ) }}
7072 run : |
71- python -m pip install --only-binary ':all:' --upgrade pip setuptools wheel build
72- python -m pip install --no-binary curio --no-binary psutil --no-binary tornado --upgrade -e .[${{ matrix.deps }}]
73- python -m pip install --only-binary ':all:' --upgrade check-manifest pytest-cov pytest
73+ uv pip install --system setuptools wheel build
74+ uv pip install --system -e .[${{ matrix.deps }}]
75+ uv pip install --system check-manifest pytest-cov pytest
7476 - name : Install and update Python dependencies (dev?)
7577 if : ${{ contains( matrix.python-version, 'dev' ) }}
7678 run : |
77- python -m pip install --pre --upgrade pip setuptools wheel build
78- python -m pip install --pre --extra-index-url https://pypi.anaconda.org/scientific-python-nightly-wheels/simple --no-binary curio --no-binary psutil --no-binary tornado --upgrade -e .[${{ matrix.deps }}]
79- python -m pip install --pre --extra-index-url https://pypi.anaconda.org/scientific-python-nightly-wheels/simple --upgrade check-manifest pytest-cov
79+ uv pip install --system --prerelease=allow setuptools wheel build
80+ uv pip install --system --prerelease=allow -- extra-index-url https://pypi.anaconda.org/scientific-python-nightly-wheels/simple -e .[${{ matrix.deps }}]
81+ uv pip install --system --prerelease=allow -- extra-index-url https://pypi.anaconda.org/scientific-python-nightly-wheels/simple check-manifest pytest-cov
8082 - name : Try building with Python build
8183 if : runner.os != 'Windows' # setup.py does not support sdist on Windows
8284 run : |
@@ -89,11 +91,11 @@ jobs:
8991 - name : Install entry point compatible code (TEMPORARY, April 2024)
9092 if : matrix.want-latest-entry-point-code
9193 run : |
92- python -m pip list
94+ uv pip list --system
9395 # Not installing matplotlib's entry point code as building matplotlib from source is complex.
9496 # Rely upon matplotlib to test all the latest entry point branches together.
95- python -m pip install --upgrade git+https://github.com/ipython/matplotlib-inline.git@main
96- python -m pip list
97+ uv pip install --system git+https://github.com/ipython/matplotlib-inline.git@main
98+ uv pip list --system
9799
98100 - name : pytest
99101 env :
0 commit comments