|
64 | 64 | - name: Run tests with typing_extensions main branch |
65 | 65 | working-directory: pydantic |
66 | 66 | run: | |
67 | | - set -x |
68 | | -
|
69 | 67 | uv add --editable ../typing-extensions-latest |
70 | 68 | uv sync --group dev |
71 | 69 |
|
@@ -104,10 +102,7 @@ jobs: |
104 | 102 |
|
105 | 103 | uv pip install -r test-requirements.txt --exclude-newer "$(git show -s --date=format:'%Y-%m-%dT%H:%M:%SZ' --format=%cd HEAD)" |
106 | 104 | uv pip install "typing-extensions @ ../typing-extensions-latest" |
107 | | -
|
108 | | - printf "\n\nINSTALLED DEPENDENCIES ARE:\n\n" |
109 | | - uv pip freeze |
110 | | - printf "\n\n" |
| 105 | + printf "\n\nINSTALLED DEPENDENCIES ARE:\n\n%s\n\n" "$(uv pip list)" |
111 | 106 |
|
112 | 107 | uv run --no-project pytest |
113 | 108 |
|
@@ -140,10 +135,7 @@ jobs: |
140 | 135 |
|
141 | 136 | uv pip install 'pycroscope[tests] @ .' --exclude-newer "$(git show -s --date=format:'%Y-%m-%dT%H:%M:%SZ' --format=%cd HEAD)" |
142 | 137 | uv pip install "typing-extensions @ ../typing-extensions-latest" |
143 | | -
|
144 | | - printf "\n\nINSTALLED DEPENDENCIES ARE:\n\n" |
145 | | - uv pip freeze |
146 | | - printf "\n\n" |
| 138 | + printf "\n\nINSTALLED DEPENDENCIES ARE:\n\n%s\n\n" "$(uv pip list)" |
147 | 139 |
|
148 | 140 | uv run --no-project pytest pycroscope/ |
149 | 141 |
|
@@ -178,10 +170,7 @@ jobs: |
178 | 170 |
|
179 | 171 | uv pip install "typeguard @ ." --group test --exclude-newer "$(git show -s --date=format:'%Y-%m-%dT%H:%M:%SZ' --format=%cd HEAD)" |
180 | 172 | uv pip install "typing-extensions @ ../typing-extensions-latest" |
181 | | -
|
182 | | - printf "\n\nINSTALLED DEPENDENCIES ARE:\n\n" |
183 | | - uv pip freeze |
184 | | - printf "\n\n" |
| 173 | + printf "\n\nINSTALLED DEPENDENCIES ARE:\n\n%s\n\n" "$(uv pip list)" |
185 | 174 |
|
186 | 175 | uv run --no-project pytest |
187 | 176 |
|
@@ -221,10 +210,7 @@ jobs: |
221 | 210 | uv pip install "typed-argument-parser @ ." --exclude-newer "$(git show -s --date=format:'%Y-%m-%dT%H:%M:%SZ' --format=%cd HEAD)" |
222 | 211 | uv pip install pytest --exclude-newer "$(git show -s --date=format:'%Y-%m-%dT%H:%M:%SZ' --format=%cd HEAD)" |
223 | 212 | uv pip install "typing-extensions @ ../typing-extensions-latest" |
224 | | -
|
225 | | - printf "\n\nINSTALLED DEPENDENCIES ARE:\n\n" |
226 | | - uv pip freeze |
227 | | - printf "\n\n" |
| 213 | + printf "\n\nINSTALLED DEPENDENCIES ARE:\n\n%s\n\n" "$(uv pip list)" |
228 | 214 |
|
229 | 215 | uv run --no-project pytest |
230 | 216 |
|
@@ -258,10 +244,7 @@ jobs: |
258 | 244 | uv pip install -r test-requirements.txt --exclude-newer "$(git show -s --date=format:'%Y-%m-%dT%H:%M:%SZ' --format=%cd HEAD)" |
259 | 245 | uv pip install -e . |
260 | 246 | uv pip install "typing_extensions @ ../typing-extensions-latest" |
261 | | -
|
262 | | - printf "\n\nINSTALLED DEPENDENCIES ARE:\n\n" |
263 | | - uv pip freeze |
264 | | - printf "\n\n" |
| 247 | + printf "\n\nINSTALLED DEPENDENCIES ARE:\n\n%s\n\n" "$(uv pip list)" |
265 | 248 |
|
266 | 249 | uv run --no-project pytest -n 2 ./mypy/test/teststubtest.py ./mypyc/test/test_run.py ./mypyc/test/test_external.py |
267 | 250 |
|
@@ -289,8 +272,6 @@ jobs: |
289 | 272 | - name: Run tests with typing_extensions main branch |
290 | 273 | working-directory: cattrs |
291 | 274 | run: | |
292 | | - set -x |
293 | | -
|
294 | 275 | uv add --editable ../typing-extensions-latest |
295 | 276 | uv sync --group test --all-extras |
296 | 277 |
|
@@ -360,7 +341,9 @@ jobs: |
360 | 341 | - name: Run litestar tests with typing_extensions main branch |
361 | 342 | working-directory: litestar |
362 | 343 | run: | |
363 | | - set -x |
| 344 | + # litestar's python-requires means pdm won't let us add typing-extensions-latest |
| 345 | + # as a requirement unless we do this |
| 346 | + sed -i 's/^requires-python = ">=3.8/requires-python = ">=3.9/' pyproject.toml |
364 | 347 |
|
365 | 348 | uv add --editable ../typing-extensions-latest |
366 | 349 | uv sync |
|
0 commit comments