Skip to content

Commit

Permalink
chore: updating the poetry version to fix the push issue (#308)
Browse files Browse the repository at this point in the history
* chore: updating the poetry
version to fix the push issue

* build: fixing tensorflow constraints

* ci: python 3.7 removed from the tests matrix

* build: tf constraints fixed to .0 patch version

* build: removing support for tf 2.11

* build: testing tf 2.13

* build: constraint modified, scikeras doesn't
support tf >=13 yet

* build: fixing tensorflow constraint

* build: tensorflow added to the dev deps

* build: support removed for tf 11

* build: tf version set to 12

* build: fix typo

* build: introducing support for tf 2.12.x versions

* chore: bumping 0.12.0

---------

Co-authored-by: CRRINCO <[email protected]>
  • Loading branch information
cristian-rincon and CRRINCO authored Oct 10, 2023
1 parent ea8f685 commit 9ec5ca6
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11"]
tensorflow-version: ["2.11", "2.12"]
tensorflow-version: ["2.12.0"]
fail-fast: false

steps:
Expand Down Expand Up @@ -111,8 +111,8 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
tf-version: [2.11.0]
python-version: ["3.7", "3.9"]
tf-version: [2.12.0]
python-version: ["3.8", "3.9"]
sklearn-version: [1.0.0]

steps:
Expand Down Expand Up @@ -150,7 +150,7 @@ jobs:
matrix:
os: [MacOS, Windows] # test all OSs except Ubuntu, which is already running other tests
python-version: ["3.8", "3.11"] # test only the two extremes of supported Python versions
tensorflow-version: ["2.11", "2.12"] # test only the two extremes of supported TF versions
tensorflow-version: ["2.12.0"] # test only the two extremes of supported TF versions
fail-fast: false

steps:
Expand Down
9 changes: 5 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,16 @@ license = "MIT"
name = "scikeras"
readme = "README.md"
repository = "https://github.com/adriangb/scikeras"
version = "0.11.0"
version = "0.12.0"

[tool.poetry.dependencies]
importlib-metadata = {version = ">=3", python = "<3.8"}
python = ">=3.8.0,<3.12.0"
scikit-learn = ">=1.0.0"
packaging = ">=0.21"
tensorflow = {version = ">=2.11.0", optional = true}
tensorflow-cpu = {version = ">=2.11.0", optional = true}
tensorflow = {version = ">=2.12.0,<2.13.0", optional = true}
tensorflow-cpu = {version = ">=2.12.0,<2.13.0", optional = true}
tensorflow-metal = {markers = "sys_platform == \"darwin\" and platform_machine == \"arm64\"", version = "^1.1.0"}

[tool.poetry.extras]
tensorflow = ["tensorflow"]
Expand All @@ -47,7 +48,7 @@ version = ">=0.23.1,<0.32"
markers = "sys_platform == 'win32'"

[tool.poetry.dev-dependencies]
tensorflow = ">=2.11.0"
tensorflow = ">=2.12.0,<2.13.0"
coverage = {extras = ["toml"], version = ">=6.4.2"}
insipid-sphinx-theme = ">=0.3.2"
ipykernel = ">=6.15.1"
Expand Down

0 comments on commit 9ec5ca6

Please sign in to comment.