iiasa / message-ix-models

Tools for the MESSAGEix-GLOBIOM family of models
https://docs.messageix.org/models
Apache License 2.0
17 stars 34 forks source link

Confirm support for Python 3.13 and drop 3.8 #250

Closed khaeru closed 5 days ago

khaeru commented 5 days ago

How to review

PR checklist

codecov[bot] commented 5 days ago

Codecov Report

Attention: Patch coverage is 97.24138% with 4 lines in your changes missing coverage. Please review.

Project coverage is 75.6%. Comparing base (012b501) to head (0c40618). Report is 13 commits behind head on main.

Files with missing lines Patch % Lines
...ge_ix_models/util/compat/message_data/utilities.py 0.0% 2 Missing :warning:
message_ix_models/project/navigate/__init__.py 85.7% 1 Missing :warning:
message_ix_models/util/click.py 75.0% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #250 +/- ## ======================================= - Coverage 76.5% 75.6% -1.0% ======================================= Files 203 203 Lines 15578 15600 +22 ======================================= - Hits 11927 11801 -126 - Misses 3651 3799 +148 ``` | [Files with missing lines](https://app.codecov.io/gh/iiasa/message-ix-models/pull/250?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=iiasa) | Coverage Δ | | |---|---|---| | [message\_ix\_models/model/build.py](https://app.codecov.io/gh/iiasa/message-ix-models/pull/250?src=pr&el=tree&filepath=message_ix_models%2Fmodel%2Fbuild.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=iiasa#diff-bWVzc2FnZV9peF9tb2RlbHMvbW9kZWwvYnVpbGQucHk=) | `100.0% <100.0%> (ø)` | | | [message\_ix\_models/model/disutility.py](https://app.codecov.io/gh/iiasa/message-ix-models/pull/250?src=pr&el=tree&filepath=message_ix_models%2Fmodel%2Fdisutility.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=iiasa#diff-bWVzc2FnZV9peF9tb2RlbHMvbW9kZWwvZGlzdXRpbGl0eS5weQ==) | `100.0% <100.0%> (ø)` | | | [message\_ix\_models/model/emissions.py](https://app.codecov.io/gh/iiasa/message-ix-models/pull/250?src=pr&el=tree&filepath=message_ix_models%2Fmodel%2Femissions.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=iiasa#diff-bWVzc2FnZV9peF9tb2RlbHMvbW9kZWwvZW1pc3Npb25zLnB5) | `98.0% <100.0%> (ø)` | | | [message\_ix\_models/model/macro.py](https://app.codecov.io/gh/iiasa/message-ix-models/pull/250?src=pr&el=tree&filepath=message_ix_models%2Fmodel%2Fmacro.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=iiasa#diff-bWVzc2FnZV9peF9tb2RlbHMvbW9kZWwvbWFjcm8ucHk=) | `100.0% <100.0%> (ø)` | | | [message\_ix\_models/model/material/build.py](https://app.codecov.io/gh/iiasa/message-ix-models/pull/250?src=pr&el=tree&filepath=message_ix_models%2Fmodel%2Fmaterial%2Fbuild.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=iiasa#diff-bWVzc2FnZV9peF9tb2RlbHMvbW9kZWwvbWF0ZXJpYWwvYnVpbGQucHk=) | `67.8% <100.0%> (+0.2%)` | :arrow_up: | | [message\_ix\_models/model/material/data\_aluminum.py](https://app.codecov.io/gh/iiasa/message-ix-models/pull/250?src=pr&el=tree&filepath=message_ix_models%2Fmodel%2Fmaterial%2Fdata_aluminum.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=iiasa#diff-bWVzc2FnZV9peF9tb2RlbHMvbW9kZWwvbWF0ZXJpYWwvZGF0YV9hbHVtaW51bS5weQ==) | `90.5% <100.0%> (ø)` | | | [message\_ix\_models/model/material/data\_methanol.py](https://app.codecov.io/gh/iiasa/message-ix-models/pull/250?src=pr&el=tree&filepath=message_ix_models%2Fmodel%2Fmaterial%2Fdata_methanol.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=iiasa#diff-bWVzc2FnZV9peF9tb2RlbHMvbW9kZWwvbWF0ZXJpYWwvZGF0YV9tZXRoYW5vbC5weQ==) | `92.0% <100.0%> (ø)` | | | [message\_ix\_models/model/material/data\_petro.py](https://app.codecov.io/gh/iiasa/message-ix-models/pull/250?src=pr&el=tree&filepath=message_ix_models%2Fmodel%2Fmaterial%2Fdata_petro.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=iiasa#diff-bWVzc2FnZV9peF9tb2RlbHMvbW9kZWwvbWF0ZXJpYWwvZGF0YV9wZXRyby5weQ==) | `78.7% <100.0%> (-0.2%)` | :arrow_down: | | [message\_ix\_models/model/material/data\_steel.py](https://app.codecov.io/gh/iiasa/message-ix-models/pull/250?src=pr&el=tree&filepath=message_ix_models%2Fmodel%2Fmaterial%2Fdata_steel.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=iiasa#diff-bWVzc2FnZV9peF9tb2RlbHMvbW9kZWwvbWF0ZXJpYWwvZGF0YV9zdGVlbC5weQ==) | `87.0% <100.0%> (ø)` | | | [message\_ix\_models/model/material/data\_util.py](https://app.codecov.io/gh/iiasa/message-ix-models/pull/250?src=pr&el=tree&filepath=message_ix_models%2Fmodel%2Fmaterial%2Fdata_util.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=iiasa#diff-bWVzc2FnZV9peF9tb2RlbHMvbW9kZWwvbWF0ZXJpYWwvZGF0YV91dGlsLnB5) | `33.3% <100.0%> (+0.1%)` | :arrow_up: | | ... and [43 more](https://app.codecov.io/gh/iiasa/message-ix-models/pull/250?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=iiasa) | | ... and [4 files with indirect coverage changes](https://app.codecov.io/gh/iiasa/message-ix-models/pull/250/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=iiasa)

🚨 Try these New Features:

khaeru commented 5 days ago

adapt the snapshot-workflow file to use the newer GAMS version

Ah good catch—will do.