Skip to content

Commit 773ed30

Browse files
committed
Add Python 3.12 to GHA
Signed-off-by: Gábor Lipták <gliptak@gmail.com>
1 parent 96febab commit 773ed30

5 files changed

Lines changed: 9 additions & 9 deletions

File tree

.github/workflows/publish-python-package.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
- name: Set up Python
2121
uses: actions/setup-python@v5
2222
with:
23-
python-version: '3.11'
23+
python-version: '3.12'
2424
- name: Install dependencies
2525
run: |
2626
python -m pip install --upgrade pip

.github/workflows/test-python-package.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
runs-on: ubuntu-latest
1717
strategy:
1818
matrix:
19-
python-version: [3.9, "3.10", "3.11"]
19+
python-version: [3.9, "3.10", "3.11", "3.12"]
2020

2121
steps:
2222
- uses: actions/checkout@v4

.pre-commit-config.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ repos:
1919
# Flake8: complexity and style checking
2020
# https://flake8.pycqa.org/en/latest/user/using-hooks.html
2121
- repo: https://github.com/pycqa/flake8
22-
rev: 5.0.4
22+
rev: 6.1.0
2323
hooks:
2424
- id: flake8
2525
additional_dependencies: [flake8-docstrings]
@@ -80,11 +80,11 @@ repos:
8080

8181
# requirements-ml.txt
8282
scikit-learn>=0.23.2,
83-
'keras>=2.4.3,<=3.4.0',
83+
'keras>=3.0.0,<=3.4.0',
8484
rapidfuzz>=2.6.1,
85-
"tensorflow>=2.6.4,<2.15.0; sys.platform != 'darwin'",
86-
"tensorflow>=2.6.4,<2.15.0; sys_platform == 'darwin' and platform_machine != 'arm64'",
87-
"tensorflow-macos>=2.6.4,<2.15.0; sys_platform == 'darwin' and platform_machine == 'arm64'",
85+
"tensorflow>=2.16.0; sys.platform != 'darwin'",
86+
"tensorflow>=2.16.0; sys_platform == 'darwin' and platform_machine != 'arm64'",
87+
"tensorflow-macos>=2.16.0; sys_platform == 'darwin' and platform_machine == 'arm64'",
8888
tqdm>=4.0.0,
8989

9090
# requirements-reports.txt

dataprofiler/labelers/base_model.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ def __eq__(self, other: object) -> bool:
7979
:rtype: bool
8080
"""
8181
if (
82-
type(self) != type(other)
82+
type(self) != type(other) # noqa E721
8383
or not isinstance(other, BaseModel)
8484
or self._parameters != other._parameters
8585
or self._label_mapping != other._label_mapping

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tox]
2-
envlist = py39, py310, py311, pypi-description, manifest, precom
2+
envlist = py39, py310, py311, py312, pypi-description, manifest, precom
33

44

55
[testenv]

0 commit comments

Comments
 (0)