Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add support for python 3.12 #874

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:

- uses: ./.github/actions/install-python-and-package
with:
python-version: '3.11'
python-version: '3.12'

- name: Run unit tests
run: pytest -v
Expand All @@ -40,10 +40,10 @@ jobs:
fail-fast: false
matrix:
os: ['ubuntu-latest', 'macos-latest', 'windows-latest']
python-version: ['3.9', '3.11']
python-version: ['3.9', '3.12']
exclude:
# already tested in build_single job
- python-version: 3.11
- python-version: 3.12
os: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand All @@ -66,7 +66,7 @@ jobs:
- uses: actions/checkout@v3
- uses: ./.github/actions/install-python-and-package
with:
python-version: '3.11'
python-version: '3.12'
extras-require: dev
- name: Run downloader test
run: python -m pytest -v --downloader -k downloader
Expand All @@ -80,7 +80,7 @@ jobs:
- uses: actions/checkout@v3
- uses: ./.github/actions/install-python-and-package
with:
python-version: '3.11'
python-version: '3.12'
extras-require: dev,dashboard

- name: Ensure browser is installed
Expand Down
6 changes: 3 additions & 3 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ classifiers =
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Programming Language :: Python :: 3.12
description = Deep Insight And Neural Network Analysis
keywords =
XAI
Expand All @@ -30,7 +31,7 @@ version = 1.7.0
license = Apache License 2.0

[options]
python_requires = >=3.8,<3.12
python_requires = >=3.8,<3.13
zip_safe = False
include_package_data = True
packages = find_namespace:
Expand All @@ -40,7 +41,6 @@ install_requires =
lime
matplotlib
numpy>=1.20
onnx==1.14.1
onnx_tf
onnxruntime
pooch
Expand All @@ -52,7 +52,7 @@ install_requires =
pandas
torch <=2.3.1 # this is temporary, see #829
# tf and tfprob are required but not declared by onnx_tf
tensorflow >= 2.12,<2.16
tensorflow >= 2.12
tensorflow_probability <0.24
# https://setuptools.pypa.io/en/latest/userguide/datafiles.html#accessing-data-files-at-runtime
importlib_resources;python_version<'3.10'
Expand Down
Loading