Skip to content

Commit a1e91b7

Browse files
authored
build: upgrade pip/setuptools in CI (#568)
- Fixes issues with `setuptools` and `setuptools-scm` versions
1 parent 579bb15 commit a1e91b7

File tree

3 files changed

+14
-0
lines changed

3 files changed

+14
-0
lines changed

.circleci/config_continue.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ jobs:
2626
- run: apt update && apt install -y bc jq lsof
2727
- run: echo "127.0.0.1 localhost.org" >> /etc/hosts
2828
- run: (cd .circleci/ && ./installJava.sh)
29+
- run: python3 -m pip install pip setuptools --upgrade
2930
- run: make dev-install
3031
- run: (cd .circleci/ && ./doUnitTests.sh << parameters.cdi-version >>)
3132
- store_test_results:
@@ -49,6 +50,7 @@ jobs:
4950
- run: (cd .circleci/ && ./installJava.sh)
5051
- run: (cd .circleci/ && ./installNode.sh 20)
5152
- run: echo "127.0.0.1 localhost.org" >> /etc/hosts
53+
- run: python3 -m pip install pip setuptools --upgrade
5254
- run: python3 -m pip install -r dev-requirements.txt
5355
- run: (cd .circleci/ && ./doBackendSDKTests.sh << parameters.cdi-version >> << parameters.fdi-version >>)
5456
- slack/status
@@ -70,6 +72,7 @@ jobs:
7072
- run: (cd .circleci/ && ./installNode.sh 20)
7173
- run: git config --global url."https://github.com/".insteadOf ssh://[email protected]/
7274
- run: echo "127.0.0.1 localhost.org" >> /etc/hosts
75+
- run: python3 -m pip install pip setuptools --upgrade
7376
- run: make with-fastapi
7477
- run: (cd .circleci/ && ./websiteFastApi.sh << parameters.fdi-version >>)
7578
- slack/status
@@ -91,6 +94,7 @@ jobs:
9194
- run: (cd .circleci/ && ./installNode.sh 20)
9295
- run: git config --global url."https://github.com/".insteadOf ssh://[email protected]/
9396
- run: echo "127.0.0.1 localhost.org" >> /etc/hosts
97+
- run: python3 -m pip install pip setuptools --upgrade
9498
- run: make with-flask
9599
- run: (cd .circleci/ && ./websiteFlask.sh << parameters.fdi-version >>)
96100
- slack/status
@@ -112,6 +116,7 @@ jobs:
112116
- run: (cd .circleci/ && ./installNode.sh 20)
113117
- run: git config --global url."https://github.com/".insteadOf ssh://[email protected]/
114118
- run: echo "127.0.0.1 localhost.org" >> /etc/hosts
119+
- run: python3 -m pip install pip setuptools --upgrade
115120
- run: make with-django
116121
- run: (cd .circleci/ && ./websiteDjango.sh << parameters.fdi-version >>)
117122
- slack/status
@@ -133,6 +138,7 @@ jobs:
133138
- run: (cd .circleci/ && ./installNode.sh 20)
134139
- run: git config --global url."https://github.com/".insteadOf ssh://[email protected]/
135140
- run: echo "127.0.0.1 localhost.org" >> /etc/hosts
141+
- run: python3 -m pip install pip setuptools --upgrade
136142
- run: make with-drf
137143
- run: (cd .circleci/ && ./websiteDrfAsync.sh << parameters.fdi-version >>)
138144
- slack/status
@@ -154,6 +160,7 @@ jobs:
154160
- run: (cd .circleci/ && ./installNode.sh 20)
155161
- run: git config --global url."https://github.com/".insteadOf ssh://[email protected]/
156162
- run: echo "127.0.0.1 localhost.org" >> /etc/hosts
163+
- run: python3 -m pip install pip setuptools --upgrade
157164
- run: make with-drf
158165
- run: (cd .circleci/ && ./websiteDrfSync.sh << parameters.fdi-version >>)
159166
- slack/status
@@ -175,6 +182,7 @@ jobs:
175182
- run: (cd .circleci/ && ./installNode.sh 20)
176183
- run: git config --global url."https://github.com/".insteadOf ssh://[email protected]/
177184
- run: echo "127.0.0.1 localhost.org" >> /etc/hosts
185+
- run: python3 -m pip install pip setuptools --upgrade
178186
- run: make with-django2x
179187
- run: (cd .circleci/ && ./websiteDjango2x.sh << parameters.fdi-version >>)
180188
- slack/status
@@ -198,6 +206,7 @@ jobs:
198206
- run: (cd .circleci/ && ./installNode.sh 20)
199207
- run: git config --global url."https://github.com/".insteadOf ssh://[email protected]/
200208
- run: echo "127.0.0.1 localhost.org" >> /etc/hosts
209+
- run: python3 -m pip install pip setuptools --upgrade
201210
- run: make with-flask
202211
- run: python -m pip install nest-asyncio
203212
- run: (cd .circleci/ && ./websiteFlask.sh << parameters.fdi-version >>)
@@ -223,6 +232,7 @@ jobs:
223232
- run: (cd .circleci/ && ./installNode.sh 20)
224233
- run: git config --global url."https://github.com/".insteadOf ssh://[email protected]/
225234
- run: echo "127.0.0.1 localhost.org" >> /etc/hosts
235+
- run: python3 -m pip install pip setuptools --upgrade
226236
- run: make with-fastapi
227237
- run: (cd .circleci && ./authReactFastApi.sh << parameters.fdi-version >>)
228238
- store_test_results:
@@ -255,6 +265,7 @@ jobs:
255265
- run: (cd .circleci/ && ./installNode.sh 20)
256266
- run: git config --global url."https://github.com/".insteadOf ssh://[email protected]/
257267
- run: echo "127.0.0.1 localhost.org" >> /etc/hosts
268+
- run: python3 -m pip install pip setuptools --upgrade
258269
- run: make with-flask
259270
- run: (cd .circleci && ./authReactFlask.sh << parameters.fdi-version >>)
260271
- store_test_results:
@@ -287,6 +298,7 @@ jobs:
287298
- run: (cd .circleci/ && ./installNode.sh 20)
288299
- run: git config --global url."https://github.com/".insteadOf ssh://[email protected]/
289300
- run: echo "127.0.0.1 localhost.org" >> /etc/hosts
301+
- run: python3 -m pip install pip setuptools --upgrade
290302
- run: make with-django
291303
- run: (cd .circleci && ./authReactDjango.sh << parameters.fdi-version >>)
292304
- store_test_results:

.github/workflows/pre-commit-hook-run.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ jobs:
2222
run: |
2323
python3 -m venv venv
2424
source venv/bin/activate
25+
python3 -m pip install pip setuptools --upgrade
2526
make dev-install && rm -rf src
2627
- name: Run checks
2728
# New steps require sourcing the venv again

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1111
## [0.28.1] - 2025-02-26
1212
- Pins `httpx` and `respx` to current major versions (<1.0.0)
1313
- Removes `respx` dependency from `fastapi` install
14+
- Upgrades `pip` and `setuptools` in CI runs
1415

1516
## [0.28.0]
1617
- **[Breaking] Updates pre-commit hooks to use `pre-commit`**

0 commit comments

Comments
 (0)