Skip to content

Commit 880c586

Browse files
Copilottoruseo
andcommitted
Remove [extra] dependency group - install manually as requested
Co-authored-by: toruseo <[email protected]>
1 parent f647c4c commit 880c586

File tree

7 files changed

+24
-19
lines changed

7 files changed

+24
-19
lines changed

.github/workflows/measure-coverage.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,11 @@ jobs:
2121
- name: Install uxsim and dependencies
2222
run: |
2323
python -m pip install --upgrade pip
24-
pip install -e .[dev,advanced,extra]
24+
pip install -e .[dev,advanced]
25+
- name: Install pytest other dependencies
26+
run: |
27+
# Install testing dependencies with compatible versions for parallel execution
28+
pip install osmnx requests
2529
- name: Run verifications with pytest
2630
run: pytest -n auto tests/test_verification_straight_road.py tests/test_verification_route_choice.py tests/test_verification_node.py tests/test_verification_exceptional.py tests/test_verification_sioux_falls.py tests/test_verification_multilane.py tests/test_verification_taxi.py tests/test_verification_dta_solvers.py tests/test_other_functions.py tests/test_optional_functions_python313.py --durations=0 -v --cov=uxsim --cov-report=xml --cov-config=.github/.coveragerc
2731
- name: Upload coverage reports to Codecov

.github/workflows/run-examples.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@ jobs:
2222
- name: Install uxsim and dependencies
2323
run: |
2424
python -m pip install --upgrade pip
25-
pip install .[dev,advanced,extra]
25+
pip install .[dev]
26+
- name: Install pytest other dependencies
27+
run: |
28+
# Install testing dependencies with compatible versions for parallel execution
29+
pip install gymnasium torch osmnx deap streamlit
2630
- name: Run examples with pytest
2731
run: pytest -n auto tests/test_examples.py --durations=0 -v

.github/workflows/run-notebook-demos-extra.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ jobs:
2121
- name: Install dependencies
2222
run: |
2323
python -m pip install --upgrade pip
24-
pip install .[dev,advanced,extra]
24+
pip install .[dev]
25+
pip install gymnasium torch osmnx deap
2526
- name: Run tests
2627
run: pytest tests/test_notebook_demos_extra.py --durations=0 -s -v

.github/workflows/test-functions-python313.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,11 @@ jobs:
1919
- name: Install uxsim and dependencies
2020
run: |
2121
python -m pip install --upgrade pip
22-
pip install .[dev,advanced,extra]
22+
pip install .[dev,advanced]
23+
- name: Install pytest other dependencies
24+
run: |
25+
# Install testing dependencies with compatible versions for parallel execution
26+
pip install requests
2327
- name: Run tests with pytest
2428
run: pytest -n auto tests/test_optional_functions_python313.py --durations=0 -v
2529

.github/workflows/test-functions.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,11 @@ jobs:
1919
- name: Install uxsim and dependencies
2020
run: |
2121
python -m pip install --upgrade pip
22-
pip install .[dev,advanced,extra]
22+
pip install .[dev]
23+
- name: Install pytest other dependencies
24+
run: |
25+
# Install testing dependencies with compatible versions for parallel execution
26+
pip install osmnx requests
2327
- name: Run tests with pytest
2428
run: pytest -n auto tests/test_other_functions.py --durations=0 -v
2529

pyproject.toml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -49,13 +49,6 @@ dev = [
4949
"jupyter",
5050
"nbformat"
5151
]
52-
extra = [
53-
"gymnasium",
54-
"torch",
55-
"deap",
56-
"streamlit",
57-
"requests"
58-
]
5952

6053
[project.urls]
6154
Homepage = "https://github.com/toruseo/UXsim"

tests/README.md

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,19 +13,14 @@ If a user would like to run these tests locally for development purposes, first
1313
pip install .[dev]
1414
```
1515

16-
For tests that require additional optional packages (e.g., `torch`, `gymnasium`, `deap`, `streamlit`), install the extra dependencies:
17-
```bash
18-
pip install .[dev,extra]
19-
```
20-
2116
For tests that require advanced features (e.g., `osmnx`, `geopandas`, `shapely`, `neatnet`), install the advanced dependencies:
2217
```bash
2318
pip install .[dev,advanced]
2419
```
2520

26-
For tests that require all optional features:
21+
For tests that require additional optional packages (e.g., `torch`, `gymnasium`, `deap`, `streamlit`), install them manually:
2722
```bash
28-
pip install .[dev,advanced,extra]
23+
pip install torch gymnasium deap streamlit requests
2924
```
3025

3126
Then run the tests:

0 commit comments

Comments
 (0)