Skip to content

Commit

Permalink
Merge branch 'develop' into contingency
Browse files Browse the repository at this point in the history
  • Loading branch information
rbolgaryn authored Oct 5, 2023
2 parents 210ae0d + 80ca87d commit 58f2d3b
Show file tree
Hide file tree
Showing 261 changed files with 23,013 additions and 3,342 deletions.
19 changes: 0 additions & 19 deletions .github/ISSUE_TEMPLATE/blank-template.md

This file was deleted.

34 changes: 34 additions & 0 deletions .github/ISSUE_TEMPLATE/blank_template.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Blank template
description: Template for issues that are no bug report or feature request
title: 'YOUR TITLE'
labels: []

body:
- type: checkboxes
id: checks
attributes:
label: Feature Checklist
description: Please make sure that the feature does not already exist.
options:
- label: >
Searched the [issues page](https://github.com/e2nIEE/pandapower/issues) for similar reports
- label: >
Read the relevant sections of the [documentation](https://pandapower.readthedocs.io/en/latest/about.html)
- label: >
Browse the [tutorials](https://github.com/e2nIEE/pandapower/tree/develop/tutorials) and [tests](https://github.com/e2nIEE/pandapower/tree/develop/pandapower/test) for usefull code snippets and examples of use
- type: textarea
id: description
attributes:
label: Issue
description: Describe your issue.

validations:
required: true
- type: checkboxes
id: label_checks
attributes:
label: Label
description: Choose `labels` at the right side (e.g. `bug`, `controller`, `OPF`...).
options:
- label: >
Relevant labels are selected
62 changes: 0 additions & 62 deletions .github/ISSUE_TEMPLATE/bug_report.md

This file was deleted.

84 changes: 84 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
name: Bug Report
description: Report incorrect behavior in the pandapower library
title: '[bug] YOUR TITLE'
labels: bug

body:
- type: checkboxes
id: checks
attributes:
label: Bug report checklis
options:
- label: >
Searched the [issues page](https://github.com/e2nIEE/pandapower/issues) for similar reports
required: true
- label: >
Read the relevant sections of the [documentation](https://pandapower.readthedocs.io/en/latest/about.html)
required: true
- label: >
Browse the [tutorials](https://github.com/e2nIEE/pandapower/tree/develop/tutorials) and [tests](https://github.com/e2nIEE/pandapower/tree/develop/pandapower/test) for usefull code snippets and examples of use
- label: >
Reproduced the issue after updating with `pip install --upgrade pandapower` (or `git pull`)
required: true
- label: >
Tried basic troubleshooting (if a bug/error) like restarting the interpreter and checking the pythonpath
required: true
- type: textarea
id: example
attributes:
label: Reproducible Example
description: >
Please follow [this guide](https://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports) on how to
provide a minimal, copy-pastable example.
placeholder: >
import pandapower as pp
net = pp.create_empty_network()
...
render: python
validations:
required: true
- type: textarea
id: problem
attributes:
label: Issue Description and Traceback
description: >
Please provide a description of the issue and the Traceback/Error.
validations:
required: true
- type: textarea
id: expected-behavior
attributes:
label: Expected Behavior
description: >
Please describe or show a code example of the expected behavior.
validations:
required: true
- type: textarea
id: version
attributes:
label: Installed Versions
description: >
Please paste the output of ``pd.show_versions()``
value: >
* python version:
* pandas version:
* networkx version:
* scipy version:
* numpy version:
* packaging version:
* tqdm version:
* deepdiff version:
* Operating System name/version:
validations:
required: true
- type: checkboxes
id: label_checks
attributes:
label: Label
description: Choose `labels` at the right side (e.g. `bug`, `controller`, `OPF`...).
options:
- label: >
Relevant labels are selected
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# disable blank issue creation
blank_issues_enabled: false
#
#contact_links:
# - name: GitHub Community Support
# url: https://github.com/orgs/community/discussions
contact_links:
- name: pandapower discussions
url: https://github.com/e2nIEE/pandapower/discussions
# about: Please ask and answer questions here.
# - name: GitHub Security Bug Bounty
# url: https://bounty.github.com/
# about: Please report security vulnerabilities here.
# about: Please report security vulnerabilities here.
28 changes: 0 additions & 28 deletions .github/ISSUE_TEMPLATE/feature_request.md

This file was deleted.

61 changes: 61 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
name: Feature Request
description: Suggest an idea for pandapower
title: '[feature] YOUR TITLE'
labels: [Enhancement]

body:
- type: checkboxes
id: checks
attributes:
label: Feature Checklist
description: Please make sure that the feature does not already exist.
options:
- label: >
Searched the [issues page](https://github.com/e2nIEE/pandapower/issues) for similar feature requests
- label: >
Read the relevant sections of the [documentation](https://pandapower.readthedocs.io/en/latest/about.html)
- label: >
Browse the repository, [tutorials](https://github.com/e2nIEE/pandapower/tree/develop/tutorials) and [tests](https://github.com/e2nIEE/pandapower/tree/develop/pandapower/test) for already existing functionalities
- type: checkboxes
id: feature_checks
attributes:
label: Feature Type
description: Please check what type of feature request you would like to propose.
options:
- label: >
Adding new functionality to pandapower
- label: >
Changing existing functionality in pandapower
- label: >
Removing existing functionality in pandapower
- type: textarea
id: description
attributes:
label: Problem Description
description: >
Please describe what problem the feature would solve.
validations:
required: true
- type: textarea
id: feature
attributes:
label: Feature Description
description: >
Please describe how the new feature would be implemented.
validations:
required: true
- type: textarea
id: context
attributes:
label: Additional Context
description: >
Please provide any relevant GitHub issues, code examples or references that help describe and support
the feature request.
- type: checkboxes
id: label_checks
attributes:
label: Label
description: Choose `labels` at the right side (e.g. `bug`, `controller`, `OPF`...).
options:
- label: >
Relevant labels are selected
19 changes: 9 additions & 10 deletions .github/workflows/github_test_action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,13 @@ jobs:
python -m pip install pytest pytest-split
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
pip install .["all"]
if ${{ matrix.python-version == '3.8' }}; then python -m pip install pypower; fi
if ${{ matrix.python-version != '3.8' && matrix.python-version != '3.11' }}; then python -m pip install numba; fi
if ${{ matrix.python-version == '3.8' }}; then python -m pip install lightsim2grid; fi
if ${{ matrix.python-version == '3.10' }}; then python -m pip install lightsim2grid; fi
if ${{ matrix.python-version == '3.9' }}; then python -m pip install pypower; fi
if ${{ matrix.python-version != '3.9' }}; then python -m pip install numba; fi
if ${{ matrix.python-version == '3.8' || matrix.python-version == '3.10' }}; then python -m pip install lightsim2grid; fi
- name: Install Julia
if: ${{ matrix.python-version == '3.8' }}
if: ${{ matrix.python-version == '3.9' }}
run: |
./.install_julia.sh 1.5
./.install_julia.sh 1.8
pip install julia
python ./.install_pycall.py
- name: List of installed packages
Expand Down Expand Up @@ -84,7 +83,7 @@ jobs:
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
pip install .
pip install matplotlib
if ${{ matrix.python-version != '3.11' }}; then python -m pip install numba; fi
if ${{ matrix.python-version != '3.9' }}; then python -m pip install numba; fi
- name: Install pandapipes and simbench
run: |
python -m pip install git+https://github.com/e2nIEE/pandapipes@develop#egg=pandapipes
Expand Down Expand Up @@ -181,8 +180,8 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install pytest nbmake pytest-xdist python-igraph numba seaborn
./.install_julia.sh 1.6
python -m pip install pytest nbmake pytest-xdist igraph numba seaborn
./.install_julia.sh 1.8
pip install julia
python ./.install_pycall.py
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
Expand All @@ -198,7 +197,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [ '3.8' ]
python-version: [ '3.9' ]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
Expand Down
Loading

0 comments on commit 58f2d3b

Please sign in to comment.