diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 8c472887..01c4623f 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,25 +1,25 @@ repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.0.1 + rev: v4.5.0 hooks: # - id: trailing-whitespace # TODO: enable this # - id: end-of-file-fixer # TODO: enable this - id: debug-statements - repo: https://github.com/psf/black - rev: 23.7.0 + rev: 23.11.0 hooks: - id: black args: ["--target-version", "py38"] - repo: https://github.com/charliermarsh/ruff-pre-commit - rev: 'v0.0.290' + rev: 'v0.1.6' hooks: - id: ruff args: ["--fix"] - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.5.1 + rev: v1.7.1 hooks: - id: mypy types: [python] @@ -41,7 +41,7 @@ repos: ] - repo: https://github.com/jendrikseipp/vulture - rev: v2.9.1 + rev: v2.10 hooks: - id: vulture args: ["--min-confidence", "90", "modelkit", "bin", ".vulture.py"] diff --git a/modelkit/__init__.py b/modelkit/__init__.py index 2b9b245f..3af85904 100644 --- a/modelkit/__init__.py +++ b/modelkit/__init__.py @@ -8,4 +8,4 @@ warnings.simplefilter(action="ignore", category=FutureWarning) -__version__ = "0.0.30" +__version__ = "0.0.31" diff --git a/pyproject.toml b/pyproject.toml index 1ca34bfd..af4714a5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -92,7 +92,7 @@ dev = [ "pytest-timeout", "nox", # releases - "bump-my-version", + "bump-my-version<0.11.0", # remove upper bound once migrated to pydantic 2 # docs "mkdocs-material", "pymdown-extensions>=10.0", # resolve CVE-2023-32309 diff --git a/requirements-dev.txt b/requirements-dev.txt index dfdf72ec..a0e611c9 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -5,41 +5,39 @@ # pip-compile --extra=dev --output-file=requirements-dev.txt # -aiohttp==3.8.5 +aiohttp==3.9.1 # via modelkit (pyproject.toml) aiosignal==1.3.1 # via aiohttp -anyio==4.0.0 - # via httpcore -argcomplete==3.1.2 +anyio==4.1.0 + # via httpx +argcomplete==3.1.6 # via nox asgiref==3.7.2 # via modelkit (pyproject.toml) async-timeout==4.0.3 - # via aiohttp + # via redis attrs==23.1.0 # via aiohttp -babel==2.12.1 +babel==2.13.1 # via mkdocs-material build==1.0.3 # via pip-tools bump-my-version==0.10.0 # via modelkit (pyproject.toml) -cachetools==5.3.1 +cachetools==5.3.2 # via modelkit (pyproject.toml) -certifi==2023.7.22 +certifi==2023.11.17 # via # httpcore # httpx # requests -cffi==1.15.1 +cffi==1.16.0 # via cryptography cfgv==3.4.0 # via pre-commit -charset-normalizer==3.2.0 - # via - # aiohttp - # requests +charset-normalizer==3.3.2 + # via requests click==8.1.7 # via # bump-my-version @@ -51,15 +49,15 @@ colorama==0.4.6 # via mkdocs-material colorlog==6.7.0 # via nox -coverage==7.3.1 +coverage==7.3.2 # via modelkit (pyproject.toml) -cryptography==41.0.4 +cryptography==41.0.7 # via # types-pyopenssl # types-redis distlib==0.3.7 # via virtualenv -filelock==3.12.4 +filelock==3.13.1 # via # modelkit (pyproject.toml) # virtualenv @@ -71,15 +69,15 @@ ghp-import==2.1.0 # via mkdocs h11==0.14.0 # via httpcore -httpcore==0.18.0 +httpcore==1.0.2 # via httpx -httpx==0.25.0 +httpx==0.25.2 # via modelkit (pyproject.toml) -humanize==4.8.0 +humanize==4.9.0 # via modelkit (pyproject.toml) -identify==2.5.29 +identify==2.5.32 # via pre-commit -idna==3.4 +idna==3.6 # via # anyio # httpx @@ -91,7 +89,7 @@ jinja2==3.1.2 # via # mkdocs # mkdocs-material -markdown==3.4.4 +markdown==3.5.1 # via # mkdocs # mkdocs-material @@ -108,15 +106,15 @@ mergedeep==1.3.4 # via mkdocs mkdocs==1.5.3 # via mkdocs-material -mkdocs-material==9.3.2 +mkdocs-material==9.4.14 # via modelkit (pyproject.toml) -mkdocs-material-extensions==1.2 +mkdocs-material-extensions==1.3.1 # via mkdocs-material multidict==6.0.4 # via # aiohttp # yarl -mypy==1.5.1 +mypy==1.7.1 # via modelkit (pyproject.toml) mypy-extensions==1.0.0 # via mypy @@ -124,7 +122,7 @@ nodeenv==1.8.0 # via pre-commit nox==2023.4.22 # via modelkit (pyproject.toml) -packaging==23.1 +packaging==23.2 # via # build # mkdocs @@ -136,38 +134,38 @@ pathspec==0.11.2 # via mkdocs pip-tools==7.3.0 # via modelkit (pyproject.toml) -platformdirs==3.10.0 +platformdirs==4.0.0 # via # mkdocs # virtualenv pluggy==1.3.0 # via pytest -pre-commit==3.4.0 +pre-commit==3.5.0 # via modelkit (pyproject.toml) pycparser==2.21 # via cffi -pydantic==1.10.12 +pydantic==1.10.13 # via # bump-my-version # modelkit (pyproject.toml) -pygments==2.16.1 +pygments==2.17.2 # via # mkdocs-material # rich -pymdown-extensions==10.3 +pymdown-extensions==10.5 # via # mkdocs-material # modelkit (pyproject.toml) pyproject-hooks==1.0.0 # via build -pytest==7.4.2 +pytest==7.4.3 # via # modelkit (pyproject.toml) # pytest-asyncio # pytest-timeout pytest-asyncio==0.21.1 # via modelkit (pyproject.toml) -pytest-timeout==2.1.0 +pytest-timeout==2.2.0 # via modelkit (pyproject.toml) python-dateutil==2.8.2 # via @@ -181,69 +179,69 @@ pyyaml==6.0.1 # pyyaml-env-tag pyyaml-env-tag==0.1 # via mkdocs -redis==5.0.0 +redis==5.0.1 # via modelkit (pyproject.toml) -regex==2022.10.31 +regex==2023.10.3 # via mkdocs-material requests==2.31.0 # via # mkdocs-material # modelkit (pyproject.toml) -rich==13.5.3 +rich==13.7.0 # via # bump-my-version # modelkit (pyproject.toml) # rich-click -rich-click==1.6.1 +rich-click==1.7.1 # via bump-my-version six==1.16.0 # via python-dateutil sniffio==1.3.0 # via # anyio - # httpcore # httpx # modelkit (pyproject.toml) -structlog==23.1.0 +structlog==23.2.0 # via modelkit (pyproject.toml) tabulate==0.9.0 # via modelkit (pyproject.toml) tenacity==8.2.3 # via modelkit (pyproject.toml) -tomlkit==0.12.1 +tomlkit==0.12.3 # via bump-my-version -types-cachetools==5.3.0.6 +types-cachetools==5.3.0.7 # via modelkit (pyproject.toml) -types-pyopenssl==23.2.0.2 +types-pyopenssl==23.3.0.0 # via types-redis types-python-dateutil==2.8.19.14 # via modelkit (pyproject.toml) -types-redis==4.6.0.6 +types-redis==4.6.0.11 # via modelkit (pyproject.toml) -types-requests==2.31.0.3 +types-requests==2.31.0.10 # via modelkit (pyproject.toml) types-tabulate==0.9.0.3 # via modelkit (pyproject.toml) -types-urllib3==1.26.25.14 - # via types-requests typing-extensions==4.8.0 # via # modelkit (pyproject.toml) # mypy # pydantic -urllib3==2.0.5 - # via requests -virtualenv==20.24.5 + # rich-click +urllib3==2.1.0 + # via + # requests + # types-requests +virtualenv==20.24.7 # via # nox # pre-commit watchdog==3.0.0 # via mkdocs -wheel==0.41.2 +wheel==0.42.0 # via # modelkit (pyproject.toml) # pip-tools -yarl==1.9.2 +yarl==1.9.3 # via aiohttp # The following packages are considered to be unsafe in a requirements file: