Skip to content

Commit 3b68ef4

Browse files
authored
ci: rollback to pip (#657)
* uv -> pip * tests and deps
1 parent 8cabda3 commit 3b68ef4

File tree

3 files changed

+12
-32
lines changed

3 files changed

+12
-32
lines changed

.github/workflows/dependencies.yml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,34 +15,32 @@ jobs:
1515
uses: actions/setup-python@v5
1616
with:
1717
python-version: "3.10"
18-
- name: Install uv
19-
run: curl -LsSf https://astral.sh/uv/install.sh | sh
2018
- name: Install dependencies
2119
run: |
22-
uv pip install pytest setuptools wheel --system
20+
python -m pip install pytest setuptools wheel
2321
- name: Run Base Install
2422
run: |
25-
uv pip install -e . --system
23+
python -m pip install -e .
2624
- name: Run Checks
2725
run: |
2826
python tests/scripts/check_pip.py missing cvxpy
2927
python tests/scripts/check_pip.py installed scikit-learn
3028
python tests/scripts/import_all.py
3129
- name: Install cvxpy
3230
run: |
33-
uv pip install -e ".[cvxpy]" --system
31+
python -m pip install -e ".[cvxpy]"
3432
- name: Run Checks
3533
run: |
3634
python tests/scripts/check_pip.py installed cvxpy scikit-learn
3735
python tests/scripts/import_all.py
3836
- name: Install All
3937
run: |
40-
uv pip install -e ".[all]" --system
38+
python -m pip install -e ".[all]"
4139
- name: Run Checks
4240
run: |
4341
python tests/scripts/check_pip.py installed cvxpy formulaic scikit-learn umap-learn
4442
- name: Docs can Build
4543
run: |
4644
sudo apt-get update && sudo apt-get install pandoc
47-
uv pip install -e ".[docs]" --system
45+
python -m pip install -e ".[docs]"
4846
mkdocs build

.github/workflows/schedule-dependencies.yml

Lines changed: 6 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -17,21 +17,15 @@ jobs:
1717
steps:
1818
- name: Checkout source code
1919
uses: actions/checkout@v4
20-
- name: Install uv (Unix)
21-
if: runner.os != 'Windows'
22-
run: curl -LsSf https://astral.sh/uv/install.sh | sh
23-
- name: Install uv (Windows)
24-
if: runner.os == 'Windows'
25-
run: powershell -c "irm https://astral.sh/uv/install.ps1 | iex"
2620
- name: Set up Python ${{ matrix.python-version }}
2721
uses: actions/setup-python@v5
2822
with:
2923
python-version: ${{ matrix.python-version }}
3024
- name: Install dependencies
3125
run: |
32-
uv pip install wheel --system
33-
uv pip install ${{ matrix.pre-release-dependencies }} --system -e ".[test-dep]"
34-
uv pip freeze
26+
python -m pip install wheel
27+
python -m pip install ${{ matrix.pre-release-dependencies }} -e ".[test-dep]"
28+
python -m pip freeze
3529
- name: Test with pytest
3630
run: pytest -n auto --disable-warnings --cov=sklego -m "not cvxpy and not formulaic and not umap"
3731

@@ -46,20 +40,14 @@ jobs:
4640
steps:
4741
- name: Checkout source code
4842
uses: actions/checkout@v4
49-
- name: Install uv (Unix)
50-
if: runner.os != 'Windows'
51-
run: curl -LsSf https://astral.sh/uv/install.sh | sh
52-
- name: Install uv (Windows)
53-
if: runner.os == 'Windows'
54-
run: powershell -c "irm https://astral.sh/uv/install.ps1 | iex"
5543
- name: Set up Python ${{ matrix.python-version }}
5644
uses: actions/setup-python@v5
5745
with:
5846
python-version: ${{ matrix.python-version }}
5947
- name: Install dependencies
6048
run: |
61-
uv pip install wheel --system
62-
uv pip install ${{ matrix.pre-release-dependencies }} -e ".[test-dep,${{ matrix.extra }}]" --system
63-
uv pip freeze
49+
python -m pip install wheel
50+
python -m pip install ${{ matrix.pre-release-dependencies }} -e ".[test-dep,${{ matrix.extra }}]"
51+
python -m pip freeze
6452
- name: Test with pytest
6553
run: pytest -n auto --disable-warnings --cov=sklego -m "${{ matrix.extra }}"

.github/workflows/test.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,17 +22,11 @@ jobs:
2222
steps:
2323
- name: Checkout source code
2424
uses: actions/checkout@v4
25-
- name: Install uv (Unix)
26-
if: runner.os != 'Windows'
27-
run: curl -LsSf https://astral.sh/uv/install.sh | sh
28-
- name: Install uv (Windows)
29-
if: runner.os == 'Windows'
30-
run: powershell -c "irm https://astral.sh/uv/install.ps1 | iex"
3125
- name: Set up Python ${{ matrix.python-version }}
3226
uses: actions/setup-python@v5
3327
with:
3428
python-version: ${{ matrix.python-version }}
3529
- name: Install dependencies
36-
run: uv pip install -e ".[test-all]" --system
30+
run: python -m pip install -e ".[test-all]"
3731
- name: Test with pytest
3832
run: make test

0 commit comments

Comments
 (0)