From 74b1b337462b03500f65265d00a9e6c6fe015e8e Mon Sep 17 00:00:00 2001 From: TrisCC Date: Mon, 29 Jul 2024 15:49:40 +0200 Subject: [PATCH] Freeze and update dependencies --- .github/workflows/docs.yml | 6 +++--- .github/workflows/tests.yml | 4 ++-- pyproject.toml | 19 ++++++++++--------- tox.ini | 16 ++++++++-------- 4 files changed, 23 insertions(+), 22 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 7d7d1d8..4361ef3 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -1,7 +1,7 @@ -name: deploy-docs +name: deploy-docs on: push: - branches: + branches: - main permissions: contents: write @@ -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 diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 7e72047..b3e9b3b 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -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 @@ -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 diff --git a/pyproject.toml b/pyproject.toml index 40b4dfb..fde4335 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -16,11 +16,12 @@ 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", @@ -28,19 +29,19 @@ dependencies = [ [project.optional-dependencies] dev = [ - "black", - "isort", + "black==24.4.2", + "isort==5.13.2", "tox", "pytest==7.3.2", "pre-commit", - "flake8", - "mypy", + "flake8==7.1.0", + "mypy==1.10.0", "bumpver", - "coverage", + "coverage==7.5.3", "mkdocs", "pydocstyle", - "types-PyYAML", - "pytest-lazy-fixture", + "types-PyYAML==6.0.12.20240311", + "pytest-lazy-fixture==0.6.3", ] [project.scripts] diff --git a/tox.ini b/tox.ini index f61c42a..c9b6a73 100644 --- a/tox.ini +++ b/tox.ini @@ -17,14 +17,14 @@ package = wheel wheel_build_env = .pkg deps = pytest==7.3.2 - flake8 - black - isort - pydocstyle - mypy - coverage - types-PyYAML - pytest-lazy-fixture + flake8==7.1.0 + black==24.4.2 + isort==5.13.2 + pydocstyle==6.3.0 + mypy==1.10.0 + coverage==7.5.3 + types-PyYAML==6.0.12.20240311 + 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}