Skip to content

Commit

Permalink
Merge pull request #675 from dianna-ai/fix_notebooks
Browse files Browse the repository at this point in the history
664 Fix notebooks for CD/CI
  • Loading branch information
Yang authored Dec 13, 2023
2 parents 68509b8 + 2a108aa commit be4aa54
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/actions/install-python-and-package/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ description: "Installs Python, updates pip and installs DIANNA together with its
inputs:
python-version:
required: false
description: "The Python version to use. Specify major and minor version, e.g. '3.9'."
default: "3.9"
description: "The Python version to use. Specify major and minor version, e.g. '3.10'."
default: "3.10"
extras-require:
required: false
description: "The extras dependencies packages to be installed, for instance 'docs' or 'publishing,notebooks'."
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
fail-fast: false
matrix:
os: ['ubuntu-latest', 'macos-latest', 'windows-latest']
python-version: ['3.8', '3.11']
python-version: ['3.9', '3.11']
exclude:
# already tested in build_single job
- python-version: 3.11
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/notebooks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ on:
jobs:

notebooks:
name: Run notebooks on (3.9, ${{ matrix.os }})
name: Run notebooks on (3.10, ${{ matrix.os }})
if: github.event.pull_request.draft == false
runs-on: ${{ matrix.os }}
strategy:
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ command_line = "-m pytest"
[tool.tox]
legacy_tox_ini = """
[tox]
envlist = py38,py39,310
envlist = py38,py39,py310,py311
skip_missing_interpreters = true
[testenv]
Expand Down Expand Up @@ -87,7 +87,7 @@ per-file-ignores = {}
# Allow unused variables when underscore-prefixed.
dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$"

target-version = "py39"
target-version = "py310"
line-length = 120

[tool.ruff.isort]
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ install_requires =
lime
matplotlib
numpy
onnx
onnx==1.14.1
onnx_tf
onnxruntime
shap
Expand Down

0 comments on commit be4aa54

Please sign in to comment.