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 committed Jan 9, 2024
1 parent 4ff6ef3 commit 8dd3fc0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions RELEASE_NOTES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ 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`).
- Use JPype1 1.5.0 for Python 3.11 and later; JPype1 1.4.0 for Python 3.10 and earlier.

.. _v3.7.0:

Expand Down
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ requires-python = ">=3.8"
dependencies = [
"click",
"genno >= 1.16",
"JPype1 >= 1.2.1",
"JPype1 <= 1.4.0; python_version <= 3.10",
"JPype1 >= 1.5.0; python_version >= 3.11",
"openpyxl",
"pandas >= 1.2",
"pint",
Expand Down

0 comments on commit 8dd3fc0

Please sign in to comment.