calliope-project / calliope

A multi-scale energy systems modelling framework
https://www.callio.pe
Apache License 2.0
277 stars 89 forks source link

Update dependencies #574

Closed brynpickering closed 4 months ago

brynpickering commented 4 months ago

Update to latest pandas, xarray, ruamel.yaml, and pytest.

Also gone through and updated our globally filtered warnings in pytest.

Summary of changes in this pull request:

*

Reviewer checklist:

codecov[bot] commented 4 months ago

Codecov Report

Attention: Patch coverage is 80.00000% with 1 lines in your changes are missing coverage. Please review.

Project coverage is 95.78%. Comparing base (872978d) to head (975972b). Report is 3 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #574 +/- ## ========================================== - Coverage 95.85% 95.78% -0.08% ========================================== Files 24 24 Lines 3619 3629 +10 Branches 788 724 -64 ========================================== + Hits 3469 3476 +7 - Misses 86 89 +3 Partials 64 64 ``` | [Files](https://app.codecov.io/gh/calliope-project/calliope/pull/574?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=calliope-project) | Coverage Δ | | |---|---|---| | [src/calliope/preprocess/data\_sources.py](https://app.codecov.io/gh/calliope-project/calliope/pull/574?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=calliope-project#diff-c3JjL2NhbGxpb3BlL3ByZXByb2Nlc3MvZGF0YV9zb3VyY2VzLnB5) | `100.00% <100.00%> (ø)` | | | [src/calliope/preprocess/time.py](https://app.codecov.io/gh/calliope-project/calliope/pull/574?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=calliope-project#diff-c3JjL2NhbGxpb3BlL3ByZXByb2Nlc3MvdGltZS5weQ==) | `96.07% <ø> (ø)` | | | [src/calliope/exceptions.py](https://app.codecov.io/gh/calliope-project/calliope/pull/574?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=calliope-project#diff-c3JjL2NhbGxpb3BlL2V4Y2VwdGlvbnMucHk=) | `92.30% <75.00%> (-7.70%)` | :arrow_down: | ... and [1 file with indirect coverage changes](https://app.codecov.io/gh/calliope-project/calliope/pull/574/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=calliope-project)
brynpickering commented 4 months ago

I think codecov's complaints can be ignored, although it is slightly odd that the warnings formatter would now not be covered when I haven't touched that part of the source code.