Skip to content

Commit

Permalink
Specify working versions of JPype1
Browse files Browse the repository at this point in the history
  • Loading branch information
glatterf42 authored and khaeru committed Jan 9, 2024
1 parent 1e29864 commit fd21c96
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions RELEASE_NOTES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ All changes
- When a :class:`.GAMSModel` is solved with an LP status of 5 (optimal, but with infeasibilities after unscaling), :class:`.JDBCBackend` would attempt to read the output GDX file and fail, leading to an uninformative error message (:issue:`98`).
Now :class:`.ModelError` is raised describing the situation.
- Improved type hinting for static typing of code that uses :mod:`ixmp` (:issue:`465`, :pull:`500`).
- :mod:`ixmp` requires on JPype1 1.4.0 or earlier, for Python 3.10 and earlier (:pull:`504`).
With JPype1 1.4.1 and later, memory management in :class:`.CachingBackend` may not function as intended (:issue:`463`), which could lead to high memory use where many, large :class:`.Scenario` objects are created and used in a single Python program.
(For Python 3.11 and later, any version of JPype1 from the prior minimum (1.2.1) to the latest is supported.)

.. _v3.7.0:

Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ dependencies = [
"click",
"genno >= 1.16",
"JPype1 >= 1.2.1",
"JPype1 <= 1.4.0; python_version < '3.11'",
"openpyxl",
"pandas >= 1.2",
"pint",
Expand Down

0 comments on commit fd21c96

Please sign in to comment.