Skip to content

Commit c5a9db9

Browse files
authored
Update Keras to 3.13.1 to fix security bug (#297)
1 parent c7489ae commit c5a9db9

8 files changed

Lines changed: 27 additions & 32 deletions

File tree

.github/workflows/fork_pr_benchmarks_run.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@ jobs:
2323

2424
# begin: Use source sedpack package
2525
- uses: actions/checkout@v6
26-
- name: Set up Python 3.10
26+
- name: Set up Python 3.11
2727
uses: actions/setup-python@v6
2828
with:
29-
python-version: '3.10'
29+
python-version: '3.11'
3030
cache: 'pip'
3131
- name: Get pip cache directory
3232
id: pip-cache

.github/workflows/mypy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ jobs:
2121
runs-on: ubuntu-22.04
2222
steps:
2323
- uses: actions/checkout@v6
24-
- name: Set up Python 3.10
24+
- name: Set up Python 3.11
2525
uses: actions/setup-python@v6
2626
with:
27-
python-version: '3.10'
27+
python-version: '3.11'
2828
cache: 'pip'
2929
- name: Get pip cache directory
3030
id: pip-cache

.github/workflows/piptest.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@ jobs:
2525
- runner: macos-latest # arm64
2626
steps:
2727
- uses: actions/checkout@v6
28-
- name: Set up Python 3.10
28+
- name: Set up Python 3.11
2929
uses: actions/setup-python@v6
3030
with:
31-
python-version: '3.10'
31+
python-version: '3.11'
3232
cache: 'pip'
3333
- name: Installing sedpack pip package
3434
run: |

.github/workflows/pylint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
runs-on: ubuntu-22.04
2828
strategy:
2929
matrix:
30-
python-version: ['3.10', '3.11', '3.12']
30+
python-version: ['3.11', '3.12', '3.13']
3131
steps:
3232
- uses: actions/checkout@v6
3333
- name: Set up Python ${{ matrix.python-version }}

.github/workflows/pytest.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,10 @@ jobs:
3333
if: github.event_name != 'schedule'
3434
steps:
3535
- uses: actions/checkout@v6
36-
- name: Set up Python 3.10
36+
- name: Set up Python 3.11
3737
uses: actions/setup-python@v6
3838
with:
39-
python-version: '3.10'
39+
python-version: '3.11'
4040
cache: 'pip'
4141
- name: Get pip cache directory
4242
id: pip-cache
@@ -79,10 +79,10 @@ jobs:
7979
runs-on: ubuntu-22.04
8080
steps:
8181
- uses: actions/checkout@v6
82-
- name: Set up Python 3.10
82+
- name: Set up Python 3.11
8383
uses: actions/setup-python@v6
8484
with:
85-
python-version: '3.10'
85+
python-version: '3.11'
8686
cache: 'pip'
8787
- name: Get pip cache directory
8888
id: pip-cache

.github/workflows/yapf.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ jobs:
1919
runs-on: ubuntu-22.04
2020
steps:
2121
- uses: actions/checkout@v6
22-
- name: Set up Python 3.10
22+
- name: Set up Python 3.11
2323
uses: actions/setup-python@v6
2424
with:
25-
python-version: '3.10'
25+
python-version: '3.11'
2626
cache: 'pip'
2727
- name: Install dependencies
2828
run: |

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ authors = [
1818
]
1919
description = "General ML dataset package"
2020
readme = "README.md"
21-
requires-python = ">=3.10"
21+
requires-python = ">=3.11"
2222
keywords = ["machine learning", "dataset"]
2323
license = {text = "Apache License 2.0"}
2424
classifiers = [

requirements.txt

Lines changed: 13 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
1-
#
2-
# This file is autogenerated by pip-compile with Python 3.13
3-
# by the following command:
4-
#
5-
# pip-compile --allow-unsafe --generate-hashes --output-file=requirements.txt pyproject.toml
6-
#
1+
# This file was autogenerated by uv via the following command:
2+
# uv pip compile pyproject.toml --generate-hashes -o requirements.txt
73
absl-py==2.3.0 \
84
--hash=sha256:9824a48b654a306168f63e0d97714665f8490b8d89ec7bf2efc24bf67cf579b3 \
95
--hash=sha256:d96fda5c884f1b22178852f30ffa85766d50b99e00775ea626c23304f582fc4f
@@ -229,9 +225,9 @@ idna==3.10 \
229225
--hash=sha256:12f65c9b470abda6dc35cf8e63cc574b1c52b11df2c86030af0ac09b01b13ea9 \
230226
--hash=sha256:946d195a0d259cbba61165e88e65941f16e9b36ea6ddb97f00452bae8b1287d3
231227
# via requests
232-
keras==3.12.0 \
233-
--hash=sha256:02b69e007d5df8042286c3bcc2a888539e3e487590ffb08f6be1b4354df50aa8 \
234-
--hash=sha256:536e3f8385a05ae04e82e08715a1a59988578087e187b04cb0a6fad11743f07f
228+
keras==3.13.1 \
229+
--hash=sha256:6593be2e9d057921cd0413b4552c05fe1df73ea4bb03a4f3ec94532077b3e508 \
230+
--hash=sha256:670c726dfc9c357fe7ae5ef1c15d8f61ee7fbb40ae9a091a458ec6444a772480
235231
# via tensorflow
236232
libclang==18.1.1 \
237233
--hash=sha256:0b2e143f0fac830156feb56f9231ff8338c20aecfe72b4ffe96f19e5a1dbb69a \
@@ -442,10 +438,10 @@ numpy==2.2.4 \
442438
--hash=sha256:f486038e44caa08dbd97275a9a35a283a8f1d2f0ee60ac260a1790e76660833c \
443439
--hash=sha256:f7de08cbe5551911886d1ab60de58448c6df0f67d9feb7d1fb21e9875ef95e91
444440
# via
441+
# sedpack (pyproject.toml)
445442
# h5py
446443
# keras
447444
# ml-dtypes
448-
# sedpack (pyproject.toml)
449445
# tensorboard
450446
# tensorflow
451447
opt-einsum==3.4.0 \
@@ -534,6 +530,7 @@ packaging==25.0 \
534530
# keras
535531
# tensorboard
536532
# tensorflow
533+
# wheel
537534
pillow==11.3.0 \
538535
--hash=sha256:023f6d2d11784a465f09fd09a34b150ea4672e85fb3d05931d89f373ab14abb2 \
539536
--hash=sha256:02a723e6bf909e7cea0dac1b0e0310be9d7650cd66222a5f1c571455c0a45214 \
@@ -776,6 +773,12 @@ semver==3.0.4 \
776773
--hash=sha256:9c824d87ba7f7ab4a1890799cec8596f15c1241cb473404ea1cb0c55e4b04746 \
777774
--hash=sha256:afc7d8c584a5ed0a11033af086e8af226a9c0b206f313e0301f8dd7b6b589602
778775
# via sedpack (pyproject.toml)
776+
setuptools==80.9.0 \
777+
--hash=sha256:062d34222ad13e0cc312a4c02d73f059e86a4acbfbdea8f8f76b28c99f306922 \
778+
--hash=sha256:f36b47402ecde768dbfafc46e8e4207b4360c654f1f3bb84475f0a28628fb19c
779+
# via
780+
# tensorboard
781+
# tensorflow
779782
six==1.17.0 \
780783
--hash=sha256:4721f391ed90541fddacab5acf947aa0d3dc7d27b2e1e8eda2be8970586c3274 \
781784
--hash=sha256:ff70335d468e7eb6ec65b95b99d3a2836546063f63acc5171de367e834932a81
@@ -1155,11 +1158,3 @@ zstandard==0.23.0 \
11551158
--hash=sha256:fd7699e8fd9969f455ef2926221e0233f81a2542921471382e77a9e2f2b57f4b \
11561159
--hash=sha256:fe3b385d996ee0822fd46528d9f0443b880d4d05528fd26a9119a54ec3f91c69
11571160
# via sedpack (pyproject.toml)
1158-
1159-
# The following packages are considered to be unsafe in a requirements file:
1160-
setuptools==80.9.0 \
1161-
--hash=sha256:062d34222ad13e0cc312a4c02d73f059e86a4acbfbdea8f8f76b28c99f306922 \
1162-
--hash=sha256:f36b47402ecde768dbfafc46e8e4207b4360c654f1f3bb84475f0a28628fb19c
1163-
# via
1164-
# tensorboard
1165-
# tensorflow

0 commit comments

Comments
 (0)