Skip to content

Commit

Permalink
Merge pull request #97 from TrisCC/freeze-deps
Browse files Browse the repository at this point in the history
Freeze and update dependencies
  • Loading branch information
janvanrijn authored Aug 1, 2024
2 parents 413eec6 + 41b0ba7 commit 942c241
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 9 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: deploy-docs
name: deploy-docs
on:
push:
branches:
branches:
- main
permissions:
contents: write
Expand All @@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
with:
python-version: 3.x
- uses: actions/cache@v3
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
Expand All @@ -28,4 +28,4 @@ jobs:
- name: Test with tox
run: tox
- name: Upload Coverage to Codecov
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4
8 changes: 5 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,18 @@ classifiers = [
]
requires-python = ">=3.10"
dependencies = [
"ConfigSpace==0.7.1",
"SMAC==2.0.2",
"result==0.9.0",
"xdg-base-dirs==6.0.0",
"xdg-base-dirs==6.0.1",
"onnxruntime==1.14.1",
"pandas==2.0.1",
"pandas==2.2.0",
"numpy==1.24.3",
"onnx==1.14.0",
"swig==4.1.1.post1",
]

# pytest and pytest-lazy-fixture are frozen due to compatibility issues
[project.optional-dependencies]
dev = [
"black",
Expand All @@ -40,7 +42,7 @@ dev = [
"mkdocs",
"pydocstyle",
"types-PyYAML",
"pytest-lazy-fixture",
"pytest-lazy-fixture==0.6.3",
]

[project.scripts]
Expand Down
3 changes: 2 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ isolated_build = True
python =
3.10: py310, lint, type, integration

; pytest and pytest-lazy-fixture are frozen due to compatibility issues
[testenv]
description = run the tests with pytest
package = wheel
Expand All @@ -24,7 +25,7 @@ deps =
mypy
coverage
types-PyYAML
pytest-lazy-fixture
pytest-lazy-fixture==0.6.3
passenv = CODECOV_*
commands =
coverage run -m pytest -s -v -m "not gpu and not verifier" {tty:--color=yes} {posargs}
Expand Down

0 comments on commit 942c241

Please sign in to comment.