Skip to content

Commit

Permalink
test with pandas optional dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
SteffenMeinecke committed May 8, 2024
1 parent 10c282c commit e5fc2d9
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 9 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/github_test_action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ jobs:
sudo apt install libhdf5-serial-dev
python -m pip install --upgrade pip
python -m pip install pytest jupyter
python -m pip install pandas[hdf5]
python -m pip install $GITHUB_WORKSPACE["test"]
- name: List of installed packages
run: |
Expand All @@ -56,7 +55,6 @@ jobs:
run: |
sudo apt install libhdf5-serial-dev
python -m pip install --upgrade pip
python -m pip install pandas[hdf5]
python -m pip install $GITHUB_WORKSPACE["test"]
- name: List of installed packages
run: |
Expand All @@ -78,8 +76,7 @@ jobs:
run: |
sudo apt install libhdf5-serial-dev
python -m pip install --upgrade pip
python -m pip install pandas[hdf5]
python -m pip install $GITHUB_WORKSPACE["all"]
python -m pip install $GITHUB_WORKSPACE["test","all"]
- name: List of installed packages
run: |
python -m pip list
Expand All @@ -100,8 +97,7 @@ jobs:
run: |
sudo apt install libhdf5-serial-dev
python -m pip install --upgrade pip
python -m pip install pandas[hdf5]
python -m pip install $GITHUB_WORKSPACE["all"]
python -m pip install $GITHUB_WORKSPACE["test","all"]
- name: List of installed packages
run: |
python -m pip list
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/test_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ jobs:
- name: Install SimBench_EHV_HV_excerpt & dependencies
run: |
python -m pip install --upgrade pip
python -m pip install pandas[hdf5]
python -m pip install .["all"]
- name: List all installed packages
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/upload_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,5 @@ jobs:
- name: Install SimBench_EHV_HV_excerpt from PyPI
run: |
sudo apt install libhdf5-serial-dev
python3 -m pip install pandas[hdf5]
python3 -m pip install SimBench_EHV_HV_excerpt
python3 -c "import SimBench_EHV_HV_excerpt; print(SimBench_EHV_HV_excerpt.__version__)"
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ classifiers = [
"Programming Language :: Python :: 3.12"
]
dependencies = [
"pandas[hdf5]",
"pandapower>=2.14.6",
"simbench>=1.5.3",
"cython", "h5py", "tables"
]
keywords = [
"Optimal Power Flow", "Voltage Control", "Reactive Power Dispatch", "Transmission System Operator", "Distribution System Operator", "Grid Operation Planning", "Multi-Voltage Level", "Fairness"
Expand Down

0 comments on commit e5fc2d9

Please # to comment.