Skip to content

Commit d74b8e1

Browse files
authored
Merge pull request #756 from Grid2op/dev_1.12.4
Version 1.12.4
2 parents 6a7bbe8 + 8a9022c commit d74b8e1

48 files changed

Lines changed: 3322 additions & 1859 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ jobs:
168168
source venv_test/bin/activate
169169
export _GRID2OP_FORCE_TEST=1
170170
cd grid2op/tests/
171-
python -m unittest -v test_attached_envs test_attached_envs_compat test_l2rpn_idf_2023 test_MultiMix test_timeOutEnvironment test_MaskedEnvironment test_MakeEnv test_multi_steps_env test_simenv_blackout
171+
python -m unittest -v test_attached_envs test_attached_envs_compat test_l2rpn_idf_2023 test_MultiMix test_timeOutEnvironment test_MaskedEnvironment test_MakeEnv test_multi_steps_env test_simenv_blackout test_get_default_env_kwargs
172172
173173
test_alert_alarm:
174174
executor: grid2op-executor

.codacy.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
exclude_paths:
3+
- 'grid2op/tests/**'
4+
- '*.md'
5+
- "examples/**"
6+
- "getting_started/**"

.github/workflows/main.yml

Lines changed: 18 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,12 +49,22 @@ jobs:
4949
version: '3.13',
5050
}
5151

52+
- {
53+
name: cp314,
54+
abi: cp314,
55+
version: '3.14',
56+
}
57+
5258
steps:
5359

5460
- name: Checkout sources
5561
uses: actions/checkout@v4
5662
with:
5763
submodules: true
64+
fetch-depth: 0 # needed for setuptools_scm to read tags
65+
66+
- name: Fix git safe directory
67+
run: git config --global --add safe.directory "$(pwd)"
5868

5969
- name: Setup path
6070
run: echo "/opt/python/${{ matrix.python.name }}-${{ matrix.python.abi }}/bin/" >> $GITHUB_PATH
@@ -149,6 +159,10 @@ jobs:
149159
name: cp313,
150160
version: '3.13',
151161
}
162+
- {
163+
name: cp314,
164+
version: '3.14',
165+
}
152166

153167
steps:
154168

@@ -275,12 +289,12 @@ jobs:
275289
}
276290
python:
277291
- {
278-
name: cp39,
279-
version: '3.9',
292+
name: cp310,
293+
version: '3.10',
280294
}
281295
- {
282-
name: cp313,
283-
version: '3.13',
296+
name: cp314,
297+
version: '3.14',
284298
}
285299

286300
steps:

CHANGELOG.rst

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,27 @@ Native multi agents support:
100100
- add detachment
101101
- add change_bus / set_bus
102102

103+
104+
[1.12.4] - 2026-04-28
105+
----------------------
106+
- [BREAKING] the behaviour of grid2op environment when ENV_DOES_REDISPATCHING
107+
flag is turned on is changed and is now exactly the one
108+
described in the doc (before it completly skipped the redispathcing / curtailment
109+
storage)
110+
- [FIXED] copy on write issues in PandaPowerBackend
111+
- [FIXED] a bug causing https://github.com/Grid2op/lightsim2grid/issues/128
112+
- [FIXED] some warnings in the docstrings (escaped character)
113+
- [FIXED] some issues spotted by sonarcloud (especially attribute names)
114+
- [FIXED] doc about the ENV_DOES_REDISPATCHING parameters. see issue
115+
https://github.com/grid2op/grid2op/issues/752
116+
- [ADDED] some tests that modification of load_p (for one load) only change this load
117+
(same for load_q and gen_v)
118+
- [IMPROVED] security in the way episode statistics are saved (to prevent malicious
119+
tempering with path)
120+
- [IMPROVED] use df.to_numpy() instead of df.values when df is a pandas dataframe
121+
- [IMPROVED] grid2op parameters now uses "slots" to avoid setting incorrect values
122+
not used by grid2op.
123+
103124
[1.12.3] - 2026-02-04
104125
-----------------------
105126
- [FIXED] the warnings when building the documentation.

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
author = 'Benjamin Donnot'
2323

2424
# The full version, including alpha/beta/rc tags
25-
release = '1.12.3'
25+
release = '1.12.4'
2626
version = '1.12'
2727

2828

0 commit comments

Comments
 (0)