Skip to content
This repository was archived by the owner on Mar 10, 2026. It is now read-only.

Commit a90e468

Browse files
authored
Remove pinning of keras-core, set min TF vers to 2.13 (#1983)
1 parent 75d516a commit a90e468

File tree

3 files changed

+21
-15
lines changed

3 files changed

+21
-15
lines changed

.github/workflows/actions.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,10 @@ jobs:
2929
${{ runner.os }}-pip-
3030
- name: Install dependencies
3131
run: |
32-
pip install tensorflow==2.13.0
32+
pip install tensorflow>=2.13.0
3333
pip install torch>=2.0.1+cpu
3434
pip install "jax[cpu]"
35-
pip install keras-core==0.1.0
35+
pip install keras-core
3636
pip install -e ".[tests]" --progress-bar off --upgrade
3737
- name: Test with pytest
3838
env:
@@ -66,11 +66,11 @@ jobs:
6666
${{ runner.os }}-pip-
6767
- name: Install dependencies
6868
run: |
69-
pip install tensorflow==2.13.0
69+
pip install tensorflow>=2.13.0
7070
pip install "jax[cpu]"
7171
pip install torch>=2.0.1+cpu
7272
pip install torchvision>=0.15.1
73-
pip install keras-core==0.1.0
73+
pip install keras-core
7474
pip install -e ".[tests]" --progress-bar off --upgrade
7575
- name: Test with pytest
7676
env:
@@ -112,7 +112,7 @@ jobs:
112112
${{ runner.os }}-pip-
113113
- name: Install dependencies
114114
run: |
115-
pip install tensorflow==2.11.0
115+
pip install tensorflow>=2.13.0
116116
pip install -e ".[tests]" --progress-bar off --upgrade
117117
- name: Lint
118118
run: bash shell/lint.sh

.github/workflows/release.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,20 +14,20 @@ jobs:
1414
# To switch on windows-2022/latest, please verify the bazel version:
1515
# https://github.com/bazelbuild/bazel/issues/14232#issuecomment-1011247429
1616
os: ['macos-12', 'windows-2019', 'ubuntu-18.04']
17-
py-version: ['3.7', '3.8', '3.9', '3.10']
18-
tf-version: ['2.11.0']
17+
py-version: ['3.8', '3.9', '3.10', '3.11']
18+
tf-version: ['2.13.0']
1919
use-macos-arm: [false]
2020
include:
2121
- os: 'macos-12'
22-
tf-version: '2.11.0'
22+
tf-version: '2.13.0'
2323
py-version: '3.8'
2424
use-macos-arm: true
2525
- os: 'macos-12'
26-
tf-version: '2.11.0'
26+
tf-version: '2.13.0'
2727
py-version: '3.9'
2828
use-macos-arm: true
2929
- os: 'macos-12'
30-
tf-version: '2.11.0'
30+
tf-version: '2.13.0'
3131
py-version: '3.10'
3232
use-macos-arm: true
3333
fail-fast: false
@@ -96,10 +96,10 @@ jobs:
9696
- name: Set up Python
9797
uses: actions/setup-python@v1
9898
with:
99-
python-version: 3.7
99+
python-version: 3.8
100100
- name: Build wheels
101101
run: |
102-
pip install tensorflow==2.11.0
102+
pip install tensorflow==2.13.0
103103
python -m pip install --upgrade pip setuptools wheel twine
104104
export BUILD_WITH_CUSTOM_OPS=false
105105
python setup.py sdist bdist_wheel

setup.py

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,6 @@ def is_pure(self):
5656
"tensorflow-datasets",
5757
"keras-core",
5858
],
59-
python_requires=">=3.7",
6059
extras_require={
6160
"tests": [
6261
"flake8",
@@ -70,9 +69,16 @@ def is_pure(self):
7069
"examples": ["tensorflow_datasets", "matplotlib"],
7170
},
7271
distclass=BinaryDistribution,
72+
# Supported Python versions
73+
python_requires=">=3.8",
7374
classifiers=[
74-
"Programming Language :: Python",
75-
"Programming Language :: Python :: 3.7",
75+
"Development Status :: 3 - Alpha",
76+
"Programming Language :: Python :: 3",
77+
"Programming Language :: Python :: 3.8",
78+
"Programming Language :: Python :: 3.9",
79+
"Programming Language :: Python :: 3.10",
80+
"Programming Language :: Python :: 3.11",
81+
"Programming Language :: Python :: 3 :: Only",
7682
"Operating System :: Unix",
7783
"Operating System :: Microsoft :: Windows",
7884
"Operating System :: MacOS",

0 commit comments

Comments
 (0)