Skip to content

Commit

Permalink
pin to compatible Keras versions
Browse files Browse the repository at this point in the history
  • Loading branch information
adriangb committed Dec 12, 2024
1 parent f3e0473 commit 5ba597e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
6 changes: 5 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ version = "0.14.0"
[tool.poetry.dependencies]
python = ">=3.9.0,<3.13"
scikit-learn = ">=1.4.2,<1.6.0"
keras = ">=3.2.0"
keras = ">=3.2.0,<3.7.0"
tensorflow = { version = ">=2.16.1", optional = true }

[tool.poetry.extras]
Expand Down Expand Up @@ -82,3 +82,7 @@ show_missing = true
[build-system]
build-backend = "poetry.core.masonry.api"
requires = ["poetry-core>=1.0.8"]

# ignore pytest warnings about missing __file__ attribute
[tool.pytest.ini_options]
filterwarnings = "ignore::DeprecationWarning:scikeras"
1 change: 1 addition & 0 deletions scikeras/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,6 @@
I thank all of the users and contributors over the years and hope that the new Keras wrappers will meet your needs.
TODO: add link to Keras docs and release here.
""",
DeprecationWarning,
stacklevel=1,
)

0 comments on commit 5ba597e

Please sign in to comment.