From 0adf2d60e0b72fa39e8a6eee60aced4d3272ede3 Mon Sep 17 00:00:00 2001 From: Evan Hubinger Date: Sat, 24 Feb 2024 23:48:18 -0800 Subject: [PATCH] Bump dependencies --- .pre-commit-config.yaml | 2 +- coconut/constants.py | 20 +++++++++++--------- 2 files changed, 12 insertions(+), 10 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 2df5155a4..c7868a2d8 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -34,7 +34,7 @@ repos: args: - --autofix - repo: https://github.com/pycqa/flake8 - rev: 6.1.0 + rev: 7.0.0 hooks: - id: flake8 args: diff --git a/coconut/constants.py b/coconut/constants.py index 269fca1d5..8652033ae 100644 --- a/coconut/constants.py +++ b/coconut/constants.py @@ -999,7 +999,8 @@ def get_path_env_var(env_var, default): ), "tests": ( ("pytest", "py<36"), - ("pytest", "py36"), + ("pytest", "py>=36;py<38"), + ("pytest", "py38"), "pexpect", ), } @@ -1012,30 +1013,30 @@ def get_path_env_var(env_var, default): "jupyter": (1, 0), "types-backports": (0, 1), ("futures", "py<3"): (3, 4), - ("backports.functools-lru-cache", "py<3"): (1, 6), + ("backports.functools-lru-cache", "py<3"): (2,), ("argparse", "py<27"): (1, 4), "pexpect": (4,), ("trollius", "py<3;cpy"): (2, 2), "requests": (2, 31), ("numpy", "py39"): (1, 26), - ("xarray", "py39"): (2023,), + ("xarray", "py39"): (2024,), ("dataclasses", "py==36"): (0, 8), ("aenum", "py<34"): (3, 1, 15), - "pydata-sphinx-theme": (0, 14), + "pydata-sphinx-theme": (0, 15), "myst-parser": (2,), "sphinx": (7,), - "mypy[python2]": (1, 7), + "mypy[python2]": (1, 8), ("jupyter-console", "py37"): (6, 6), ("typing", "py<35"): (3, 10), - ("typing_extensions", "py>=38"): (4, 8), + ("typing_extensions", "py>=38"): (4, 9), ("ipykernel", "py38"): (6,), ("jedi", "py39"): (0, 19), ("pygments", "py>=39"): (2, 17), - ("xonsh", "py38"): (0, 14), - ("pytest", "py36"): (7,), + ("xonsh", "py38"): (0, 15), + ("pytest", "py38"): (8,), ("async_generator", "py35"): (1, 10), ("exceptiongroup", "py37;py<311"): (1,), - ("ipython", "py>=39"): (8, 18), + ("ipython", "py>=39"): (8, 22), "py-spy": (0, 3), } @@ -1053,6 +1054,7 @@ def get_path_env_var(env_var, default): ("pandas", "py36"): (1,), ("jupyter-client", "py36"): (7, 1, 2), ("typing_extensions", "py==36"): (4, 1), + ("pytest", "py>=36;py<38"): (7,), # don't upgrade these; they break on Python 3.5 ("ipykernel", "py3;py<38"): (5, 5), ("ipython", "py3;py<37"): (7, 9),