2525 dependencies = ["requests"]
2626
2727 [dependency-groups]
28- dev = ["pyyaml "]
28+ dev = ["httpx "]
2929 EOF
3030
3131 # Initialize uv and create lock file
4444 # Verify core dependency is installed
4545 python -c "import requests; print('[OK] Core dependency installed')"
4646 # Verify dev group is NOT installed (default is now empty)
47- if python -c "import yaml " 2>/dev/null; then
48- echo "[ERROR] pyyaml should not be installed"
47+ if python -c "import httpx " 2>/dev/null; then
48+ echo "[ERROR] httpx should not be installed"
4949 exit 1
5050 else
5151 echo "[OK] Dev group not installed with default empty install-groups"
6868 dependencies = ["requests"]
6969
7070 [dependency-groups]
71- dev = ["pyyaml "]
71+ dev = ["httpx "]
7272 test = ["pytest-cov", "pytest-mock"]
7373 docs = ["mkdocs"]
7474 EOF
8989 python -c "import pytest_cov; import pytest_mock; print('[OK] Test dependencies installed')"
9090 python -c "import mkdocs; print('[OK] Docs dependencies installed')"
9191 # Verify dev group is NOT installed
92- if python -c "import yaml " 2>/dev/null; then
93- echo "[ERROR] pyyaml should not be installed"
92+ if python -c "import httpx " 2>/dev/null; then
93+ echo "[ERROR] httpx should not be installed"
9494 exit 1
9595 else
9696 echo "[OK] Dev group not installed as expected"
@@ -113,7 +113,7 @@ jobs:
113113 dependencies = ["requests"]
114114
115115 [dependency-groups]
116- dev = ["pyyaml "]
116+ dev = ["httpx "]
117117 EOF
118118
119119 pip install uv
@@ -131,8 +131,8 @@ jobs:
131131 # Verify core dependency is installed
132132 python -c "import requests; print('[OK] Core dependency installed')"
133133 # Verify dev group is NOT installed
134- if python -c "import yaml " 2>/dev/null; then
135- echo "[ERROR] pyyaml should not be installed"
134+ if python -c "import httpx " 2>/dev/null; then
135+ echo "[ERROR] httpx should not be installed"
136136 exit 1
137137 else
138138 echo "[OK] No optional groups installed"
@@ -155,7 +155,7 @@ jobs:
155155 dependencies = ["requests"]
156156
157157 [dependency-groups]
158- dev = ["pyyaml "]
158+ dev = ["httpx "]
159159 EOF
160160
161161 pip install uv
@@ -186,7 +186,7 @@ jobs:
186186 dependencies = ["requests"]
187187
188188 [dependency-groups]
189- dev = ["pyyaml "]
189+ dev = ["httpx "]
190190 EOF
191191
192192 pip install uv
@@ -220,7 +220,7 @@ jobs:
220220 dependencies = ["requests==2.28.0"]
221221
222222 [dependency-groups]
223- dev = ["pyyaml "]
223+ dev = ["httpx "]
224224 EOF
225225
226226 pip install uv
@@ -235,7 +235,7 @@ jobs:
235235 dependencies = ["requests==2.31.0"]
236236
237237 [dependency-groups]
238- dev = ["pyyaml "]
238+ dev = ["httpx "]
239239 EOF
240240
241241 - name : Test uv action with outdated lock (should fail)
@@ -276,7 +276,7 @@ jobs:
276276 dependencies = ["requests"]
277277
278278 [dependency-groups]
279- dev = ["pyyaml "]
279+ dev = ["httpx "]
280280 EOF
281281
282282 pip install uv
@@ -298,7 +298,7 @@ jobs:
298298 - name : Test uv functionality
299299 shell : bash
300300 run : |
301- python -c "import requests; import yaml ; print(f'[OK] Python ${{ matrix.python-version }} working on ${{ matrix.os }}')"
301+ python -c "import requests; import httpx ; print(f'[OK] Python ${{ matrix.python-version }} working on ${{ matrix.os }}')"
302302
303303 test-uv-cache :
304304 name : Test uv action - Cache functionality
@@ -317,7 +317,7 @@ jobs:
317317 dependencies = ["requests", "numpy"]
318318
319319 [dependency-groups]
320- dev = ["pyyaml ", "mypy"]
320+ dev = ["httpx ", "mypy"]
321321 EOF
322322
323323 pip install uv
@@ -349,7 +349,7 @@ jobs:
349349 dependencies = ["requests"]
350350
351351 [dependency-groups]
352- dev = ["pyyaml "]
352+ dev = ["httpx "]
353353 test = ["pytest-cov"]
354354 docs = ["mkdocs"]
355355 EOF
@@ -365,7 +365,7 @@ jobs:
365365 - name : Verify all groups installed
366366 shell : bash
367367 run : |
368- python -c "import yaml ; import pytest_cov; import mkdocs; print('[OK] All comma-separated groups installed')"
368+ python -c "import httpx ; import pytest_cov; import mkdocs; print('[OK] All comma-separated groups installed')"
369369
370370 test-uv-mixed-separators :
371371 name : Test uv action - Mixed separators (space and comma)
@@ -384,7 +384,7 @@ jobs:
384384 dependencies = ["requests"]
385385
386386 [dependency-groups]
387- dev = ["pyyaml "]
387+ dev = ["httpx "]
388388 test = ["pytest-cov"]
389389 docs = ["mkdocs"]
390390 EOF
@@ -400,7 +400,7 @@ jobs:
400400 - name : Verify all groups installed
401401 shell : bash
402402 run : |
403- python -c "import yaml ; import pytest_cov; import mkdocs; print('[OK] All mixed-separator groups installed')"
403+ python -c "import httpx ; import pytest_cov; import mkdocs; print('[OK] All mixed-separator groups installed')"
404404
405405 test-uv-space-separated-groups :
406406 name : Test uv action - Space-separated groups
@@ -419,7 +419,7 @@ jobs:
419419 dependencies = ["requests"]
420420
421421 [dependency-groups]
422- dev = ["pyyaml "]
422+ dev = ["httpx "]
423423 test = ["pytest-cov"]
424424 docs = ["mkdocs"]
425425 EOF
@@ -435,7 +435,7 @@ jobs:
435435 - name : Verify all groups installed
436436 shell : bash
437437 run : |
438- python -c "import yaml ; import pytest_cov; import mkdocs; print('[OK] All space-separated groups installed')"
438+ python -c "import httpx ; import pytest_cov; import mkdocs; print('[OK] All space-separated groups installed')"
439439
440440 test-uv-no-dependency-groups-section :
441441 name : Test uv action - No dependency-groups section
@@ -484,7 +484,7 @@ jobs:
484484 dependencies = ["requests"]
485485
486486 [dependency-groups]
487- dev = ["pyyaml "]
487+ dev = ["httpx "]
488488 EOF
489489
490490 pip install uv
@@ -498,4 +498,4 @@ jobs:
498498 - name : Verify dev group installed
499499 shell : bash
500500 run : |
501- python -c "import yaml ; print('[OK] Dev group explicitly installed')"
501+ python -c "import httpx ; print('[OK] Dev group explicitly installed')"
0 commit comments