pypsa-eur
pypsa-eur copied to clipboard
[DNMY] Fix deprecation warning for 'closed' with pandas 1.4
DNMY. Merge with next-next release. Will force pandas>=1.4
.
Checklist
- [x] I tested my contribution locally and it seems to work fine.
- [x] Code and workflow changes are sufficiently documented.
- [x] Newly introduced dependencies are added to
envs/environment.yaml
andenvs/environment.docs.yaml
. - [x] Changes in configuration options are added in all of
config.default.yaml
,config.tutorial.yaml
, andtest/config.test1.yaml
. - [x] Changes in configuration options are also documented in
doc/configtables/*.csv
and line references are adjusted indoc/configuration.rst
anddoc/tutorial.rst
. - [x] A note for the release notes
doc/release_notes.rst
is amended in the format of previous release notes.
PR in principle ready, marked as "Draft" as to not accidentally merge it with the upcoming release. Intended to be merged with the next next release.
@euronion would now be the time for merging this?
Pandas 1.4 is more than one year old, so I guess yes.