Skip to content

Commit

Permalink
Merge pull request #355 from rte-france/dev_1.7.2
Browse files Browse the repository at this point in the history
Upgrade to version 1.7.2
  • Loading branch information
BDonnot committed Jul 5, 2022
2 parents 974fa08 + cac9fe1 commit 0abcae0
Show file tree
Hide file tree
Showing 22 changed files with 487 additions and 134 deletions.
18 changes: 18 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ jobs:
command: |
source venv_test/bin/activate
pip install -e .[test]
export _GRID2OP_FORCE_TEST=1
cd grid2op/tests/
python3 helper_list_test.py | circleci tests split > /tmp/tests_run
python3 -m unittest $(cat /tmp/tests_run)
Expand All @@ -63,12 +64,14 @@ jobs:
pip install -U numba
pip install -U "numpy>=1.18,<1.19"
pip install -U .[test]
export _GRID2OP_FORCE_TEST=1
grid2op.testinstall
- run:
command: |
source venv_test/bin/activate
pip install -U "numpy>=1.19,<1.20"
pip install -U .[test]
export _GRID2OP_FORCE_TEST=1
grid2op.testinstall
install37:
executor: python37
Expand All @@ -91,24 +94,28 @@ jobs:
pip install -U numba
pip install -U "numpy>=1.18,<1.19"
pip install -U .[test]
export _GRID2OP_FORCE_TEST=1
grid2op.testinstall
- run:
command: |
source venv_test/bin/activate
pip install -U "numpy>=1.19,<1.20"
pip install -U .[test]
export _GRID2OP_FORCE_TEST=1
grid2op.testinstall
- run:
command: |
source venv_test/bin/activate
pip install -U "numpy>=1.20,<1.21"
pip install -U .[test]
export _GRID2OP_FORCE_TEST=1
grid2op.testinstall
- run:
command: |
source venv_test/bin/activate
pip install -U "numpy>=1.21,<1.22"
pip install -U .[test]
export _GRID2OP_FORCE_TEST=1
grid2op.testinstall
install38:
executor: python38
Expand All @@ -131,30 +138,35 @@ jobs:
python -m pip install -U numba
python -m pip install -U "numpy>=1.18,<1.19"
python -m pip install -U .[test]
export _GRID2OP_FORCE_TEST=1
grid2op.testinstall
- run:
command: |
source venv_test/bin/activate
python -m pip install -U "numpy>=1.19,<1.20"
python -m pip install -U .[test]
export _GRID2OP_FORCE_TEST=1
grid2op.testinstall
- run:
command: |
source venv_test/bin/activate
python -m pip install -U "numpy>=1.20,<1.21"
python -m pip install -U .[test]
export _GRID2OP_FORCE_TEST=1
grid2op.testinstall
- run:
command: |
source venv_test/bin/activate
python -m pip install -U "numpy>=1.21,<1.22"
python -m pip install -U .[test]
export _GRID2OP_FORCE_TEST=1
grid2op.testinstall
- run:
command: |
source venv_test/bin/activate
python -m pip install -U "numpy>=1.22,<1.23"
python -m pip install -U .[test]
export _GRID2OP_FORCE_TEST=1
grid2op.testinstall
install39:
executor: python39
Expand All @@ -169,6 +181,7 @@ jobs:
- run: python -m virtualenv venv_test
- run:
command: |
export _GRID2OP_FORCE_TEST=1
source venv_test/bin/activate
python -m pip install -U pip setuptools wheel
python -m pip install chronix2grid>="1.1.0.post1"
Expand All @@ -179,12 +192,14 @@ jobs:
python -m pip install -U .[test]
- run:
command: |
export _GRID2OP_FORCE_TEST=1
source venv_test/bin/activate
python -m pip install -U "numpy>=1.19,<1.20"
grid2op.testinstall
- run:
command: |
source venv_test/bin/activate
export _GRID2OP_FORCE_TEST=1
python -m pip install -U "numpy>=1.20,<1.21"
grid2op.testinstall
- run:
Expand All @@ -195,6 +210,7 @@ jobs:
- run:
command: |
source venv_test/bin/activate
export _GRID2OP_FORCE_TEST=1
python -m pip install -U "numpy>=1.22,<1.23"
grid2op.testinstall
install310:
Expand All @@ -217,12 +233,14 @@ jobs:
source venv_test/bin/activate
python -m pip install -U "numpy>=1.21,<1.22"
python -m pip install -U .[test]
export _GRID2OP_FORCE_TEST=1
grid2op.testinstall
- run:
command: |
source venv_test/bin/activate
python -m pip install -U "numpy>=1.22,<1.23"
python -m pip install -U .[test]
export _GRID2OP_FORCE_TEST=1
grid2op.testinstall
workflows:
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -355,6 +355,8 @@ venv_test/
getting_started/saved_agent_PPO_*_results/
grid2op/data/**/_grid2op_classes/
test_issue_glop.py
**.swp
grid2op/tests/test_report.txt

# profiling files
**.prof
18 changes: 18 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,24 @@ Change Log
- [???] "asynch" multienv
- [???] properly model interconnecting powerlines


[1.7.2] - 2022-xx-yy
--------------------
- [FIXED] seeding issue https://github.com/rte-france/Grid2Op/issues/331
- [FIXED] clarify doc about fixed size matrices / graphs https://github.com/rte-france/Grid2Op/issues/330
- [FIXED] improved the behaviour of `obs._get_bus_id` and `obs._aux_fun_get_bus` : when some objects were on busbar 2
they had a "wrong" bus id (it was lagged by 1) meaning an empty "bus" was introduced.
- [FIXED] an issue with `obs.state_of(...)` when inspecting storage units
(see https://github.com/rte-france/Grid2Op/issues/340)
- [FIXED] an issue with `act0 + act1` when curtailment was applied
(see https://github.com/rte-france/Grid2Op/issues/340)
- [FIXED] a slight "bug" in the formula to compute the redispatching cost for L2RPN 2022 competition.
- [IMPROVED] possibility to pass the env variable `_GRID2OP_FORCE_TEST` to force the flag
of "test=True" when creating an environment. This is especially useful when testing to prevent
downloading of data.
- [IMPROVED] support of "kwargs" backend arguments in `MultiMixEnv` see first
item of version 1.7.1 below

[1.7.1] - 2022-06-03
-----------------------
- [BREAKING] The possibility to propagate keyword arguments between the environment
Expand Down
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
author = 'Benjamin Donnot'

# The full version, including alpha/beta/rc tags
release = '1.7.1'
release = '1.7.2.rc2'
version = '1.7'


Expand Down

0 comments on commit 0abcae0

Please sign in to comment.