Skip to content

Commit 9567bdf

Browse files
committed
Update CI installs to use PEP 508 direct-URL requirement syntax
Update CI installs to use PEP 508 direct-URL instead of the deprecated `#egg=` fragment for VCS dependencies. Newer versions of `pip` now reject egg fragments containing extras (for example `#egg=mesa[network]`), which caused the weekly CI job to fail. The workflow now installs Mesa and Mesa-Geo from their `main` branches using `name[extra] @ git+URL`, restoring compatibility with current packaging tooling while keeping the existing behavior of testing against the latest upstream code.
1 parent 6e2d67c commit 9567bdf

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/test_examples.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,6 @@ jobs:
5555
- name: Install dependencies
5656
run: |
5757
pip install .[test]
58-
pip install -U git+https://github.com/mesa/mesa@main#egg=mesa[network]
58+
pip install -U "mesa[network] @ git+https://github.com/mesa/mesa@main"
5959
- name: Test with pytest
6060
run: pytest -rA -Werror -Wdefault::PendingDeprecationWarning test_examples.py

.github/workflows/test_gis_examples.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ jobs:
5454
python-version: "3.12"
5555
- name: Install dependencies
5656
run: |
57-
pip install -U git+https://github.com/mesa/mesa-geo@main#egg=mesa-geo
57+
pip install -U "mesa-geo @ git+https://github.com/mesa/mesa-geo@main"
5858
pip install .[test_gis]
5959
- name: Test with pytest
6060
run: pytest -rA -Werror -Wdefault::PendingDeprecationWarning test_gis_examples.py --cov-report=xml

0 commit comments

Comments
 (0)