Skip to content

Commit

Permalink
Drop support for ixmp/message-ix version 3.6
Browse files Browse the repository at this point in the history
…according to the version policy.
  • Loading branch information
khaeru committed Feb 20, 2025
1 parent 7b8edf1 commit 071d5b1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 9 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/pytest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,7 @@ jobs:
# - Latest supported Python version for those or other dependencies.
# Minimum version given in pyproject.toml + earlier version of Python
# For this job only, the oldest version of Python supported by message-ix-models
- { upstream: v3.6.0, python: "3.9" } # Released 2022-08-18
- { upstream: v3.7.0, python: "3.11" } # 2023-05-17
- { upstream: v3.7.0, python: "3.9" } # Released 2023-05-17
- { upstream: v3.8.0, python: "3.12" } # 2024-01-12
# Latest released version + latest released Python
- { upstream: v3.9.0, python: "3.13" } # 2024-06-04
Expand All @@ -86,7 +85,6 @@ jobs:
exclude:
# Specific version combinations that are invalid / not to be used
# These versions of ixmp are not able locate the arm64 GAMS API binaries
- { os: macos-latest, version: { upstream: v3.6.0 }}
- { os: macos-latest, version: { upstream: v3.7.0 }}
- { os: macos-latest, version: { upstream: v3.8.0 }}
- { os: macos-latest, version: { upstream: v3.9.0 }}
Expand Down Expand Up @@ -133,9 +131,6 @@ jobs:
v, result = "${{ matrix.version.upstream }}".replace("main", "vmain"), []
for condition, dependency in (
(v <= "v3.6.0", "dask < 2024.3.0"), # dask[dataframe] >= 2024.3.0 requires dask-expr and in turn pandas >= 2.0 (#156)
(v <= "v3.6.0", "numpy < 2.0"),
(v <= "v3.6.0", "pandas < 2.0"),
(v >= "v3.7.0", "dask[dataframe] < 2024.11.0"), # dask >= 2024.11.0 changes handling of dict (will be addressed in #225)
(v <= "v3.7.0", "genno < 1.25"), # Upstream versions < 3.8.0 import genno.computations, removed in 1.25.0 (#156)
(v < "v3.9.0", "pytest == 8.0.0"), # Upstream versions < 3.9.0 use a hook argument removed in pytest 8.1.0 (#155)
Expand Down
4 changes: 2 additions & 2 deletions doc/whatsnew.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ What's new
Next release
============

- Support for :mod:`ixmp` and :mod:`message_ix` versions 3.4.x and 3.5.x is dropped in accordance with the :ref:`policy-upstream-versions` (:pull:`288`).
The minimum version of both packages is 3.6.0.
- Support for :mod:`ixmp` and :mod:`message_ix` versions 3.4, 3.5, and 3.6 is dropped in accordance with the :ref:`policy-upstream-versions` (:pull:`288`, :pull:`289`).
The minimum version of both packages is 3.7.0.
- Update :class:`.IEA_EWEB` to support :py:`transform="B"` / :func:`.transform_B` (:issue:`230`, :pull:`259`).
- Add :func:`.prepare_method_B` to :mod:`.ssp.transport` (:pull:`259`).
- New utility :class:`.sdmx.AnnotationsMixIn` (:pull:`259`).
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ dependencies = [
# message_ix >= 3.4.0 → ixmp >= 3.4.0 → genno >= 1.6.0",
"genno >= 1.28.1",
"iam_units >= 2023.9.11",
"message_ix >= 3.6.0",
"message_ix >= 3.7.0",
"pooch",
"pyam-iamc >= 0.6",
"pyarrow",
Expand Down

0 comments on commit 071d5b1

Please sign in to comment.