Skip to content

Commit c6e4897

Browse files
committed
github: Fix Ubuntu Python env setup
1 parent 419a047 commit c6e4897

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

.github/workflows/ci.yml

+10-6
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,9 @@ jobs:
2121
sudo apt -y install python3-pip
2222
2323
- name: Dependency packages (pip)
24-
run: python3 -m pip install --user setuptools_scm mypy types-requests .
24+
run: |
25+
python3 -m pip install -U pip setuptools setuptools[core] wheel
26+
python3 -m pip install setuptools_scm mypy types-requests .
2527
2628
- name: Tests
2729
run: |
@@ -42,7 +44,9 @@ jobs:
4244
sudo apt -y install python3-pip
4345
4446
- name: Dependency packages (pip)
45-
run: python3 -m pip install --user setuptools_scm
47+
run: |
48+
python3 -m pip install -U pip setuptools setuptools[core] wheel
49+
python3 -m pip install setuptools_scm
4650
4751
- name: Set environment variables
4852
id: vars
@@ -74,8 +78,8 @@ jobs:
7478

7579
- name: Dependency packages (pip)
7680
run: |
77-
python -m pip install --upgrade pip setuptools wheel
78-
python -m pip install --user cx_Freeze setuptools_scm
81+
python -m pip install -U pip setuptools wheel
82+
python -m pip install cx_Freeze setuptools_scm
7983
8084
- name: Set environment variables
8185
id: vars
@@ -115,8 +119,8 @@ jobs:
115119

116120
- name: Dependency packages (pip)
117121
run: |
118-
python -m pip install --upgrade pip setuptools wheel
119-
python -m pip install --user cx_Freeze setuptools_scm
122+
python -m pip install -U pip setuptools wheel
123+
python -m pip install cx_Freeze setuptools_scm
120124
121125
- name: Set environment variables
122126
id: vars

0 commit comments

Comments
 (0)