From a9cd02a82cd2461e9b97bbe08c6a10d1541698b2 Mon Sep 17 00:00:00 2001 From: Rory Conlin Date: Tue, 10 Dec 2024 10:24:28 -0500 Subject: [PATCH] Update dependencies --- .github/dependabot.yml | 9 +++++++++ .pre-commit-config.yaml | 8 ++++---- requirements-dev.txt | 33 ++++++++++++++++----------------- requirements.txt | 6 +++--- 4 files changed, 32 insertions(+), 24 deletions(-) create mode 100644 .github/dependabot.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..1c3b05f --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,9 @@ +# Please see the documentation for all configuration options: +# https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file + +version: 2 +updates: + - package-ecosystem: "pip" + directory: "/" # Location of package manifests + schedule: + interval: "weekly" diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 19e75a7..1705c2a 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,6 +1,6 @@ repos: - repo: https://github.com/psf/black - rev: 22.10.0 + rev: 24.10.0 hooks: - id: black - repo: https://github.com/pre-commit/pre-commit-hooks @@ -13,17 +13,17 @@ repos: - id: end-of-file-fixer - id: trailing-whitespace - repo: https://github.com/pycqa/isort - rev: 5.12.0 + rev: 5.13.2 hooks: - id: isort name: isort (python) args: ["--profile", "black"] - repo: https://github.com/PyCQA/flake8 - rev: "5.0.4" + rev: "7.1.1" hooks: - id: flake8 additional_dependencies: ["flake8-docstrings", "flake8-eradicate", "flake8-isort"] - repo: https://github.com/asottile/pyupgrade - rev: v3.2.0 + rev: v3.19.0 hooks: - id: pyupgrade diff --git a/requirements-dev.txt b/requirements-dev.txt index 20e4828..efaca20 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -1,29 +1,28 @@ # standard install requirements -r ./requirements.txt -jax[cpu] >= 0.3.2, <= 0.5.0 -scipy >= 1.10, < 2.0.0 +jax[cpu] >= 0.3.2, <= 0.4.36 +scipy >= 1.10.0, <= 1.14.1 # building the docs -sphinx > 3.0.0 -sphinx_copybutton -sphinx-rtd-theme >= 1.0, < 2.0 -sphinx-github-style >= 1.0, <= 1.1 - +sphinx >= 3.0.0, <= 8.1.3 +sphinx_copybutton <= 0.5.2 +sphinx-rtd-theme >= 1.0, < 3.0.2 +sphinx-github-style >= 1.0, <= 1.2.2 # linting -black == 22.10.0 -flake8 >= 5.0.0, <=6.0.0 -flake8-docstrings >= 1.0.0, <=2.0.0 -flake8-eradicate >= 1.0.0, <=2.0.0 -flake8-isort >=5.0.0, <= 6.0.0 -pre-commit +black == 24.10.0 +flake8 >= 5.0.0, <= 7.1.1 +flake8-docstrings >= 1.0.0, <= 1.7.0 +flake8-eradicate >= 1.0.0, <= 1.5.0 +flake8-isort >=5.0.0, <= 6.1.1 +pre-commit <= 4.0.1 # testing and benchmarking -pytest >= 5.0.0 -pytest-benchmark -pytest-cov >= 2.6.0 -pytest-monitor +pytest >= 5.0.0, <= 8.3.4 +pytest-benchmark <= 5.1.0 +pytest-cov >= 2.6.0, <= 6.0.0 +pytest-monitor <= 1.6.6 # building build diff --git a/requirements.txt b/requirements.txt index 1662266..1321395 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,3 +1,3 @@ -equinox >= 0.11, < 0.12 -jax >= 0.3.2, <= 0.5.0 -numpy >= 1.20.0, < 2.2 +equinox >= 0.11.0, <= 0.11.10 +jax >= 0.3.2, <= 0.4.36 +numpy >= 1.20.0, <= 2.1.3