diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 7e78e464..e9184f77 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -53,7 +53,14 @@ repos: args: [--mapping, '2', --sequence, '4', --offset, '2', --preserve-quotes, --implicit_start, --width, '1500'] exclude: tests/fixtures/schema-enum.yaml - + - repo: https://github.com/astral-sh/uv-pre-commit + # uv version. + rev: 0.5.14 + hooks: + # Update the uv lockfile + - id: uv-lock + - id: uv-export + args: ["--no-dev", "--no-hashes", "--no-editable", "-o", "requirements.txt"] ci: autofix_commit_msg: | diff --git a/renovate.json b/renovate.json index 6d51eb32..f5ed2ef4 100644 --- a/renovate.json +++ b/renovate.json @@ -1,5 +1,6 @@ { "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "enabledManagers": ["pep621"], "extends": [ "config:recommended", "group:allNonMajor" diff --git a/requirements.txt b/requirements.txt index 578344b1..a0427c27 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,23 +1,23 @@ -# This file is @generated by PDM. -# Please do not edit it manually. - +# This file was autogenerated by uv via the following command: +# uv export --no-dev --no-hashes --no-editable -o requirements.txt +. annotated-types==0.7.0 -anyio==4.6.2.post1 -certifi==2024.8.30 +anyio==4.7.0 +certifi==2024.12.14 dnspython==2.7.0 email-validator==2.2.0 -exceptiongroup==1.2.2 +exceptiongroup==1.2.2 ; python_full_version < '3.11' h11==0.14.0 -httpcore==1.0.6 +httpcore==1.0.7 httpx==0.27.2 idna==3.10 jmespath==1.0.1 more-itertools==10.5.0 multidict==6.1.0 -propcache==0.2.0 +propcache==0.2.1 pydantic==2.9.2 pydantic-core==2.23.4 pyyaml==6.0.2 sniffio==1.3.1 typing-extensions==4.12.2 -yarl==1.17.1 +yarl==1.18.3 diff --git a/uv.lock b/uv.lock index 9ac92dd3..8942b774 100644 --- a/uv.lock +++ b/uv.lock @@ -35,7 +35,6 @@ types = [ dev = [ { name = "asgiref" }, { name = "bootstrap-flask" }, - { name = "coverage" }, { name = "fastapi" }, { name = "fastapi-versioning" }, { name = "flask" }, @@ -73,7 +72,6 @@ requires-dist = [ dev = [ { name = "asgiref" }, { name = "bootstrap-flask" }, - { name = "coverage" }, { name = "fastapi" }, { name = "fastapi-versioning" }, { name = "flask" }, @@ -620,7 +618,7 @@ name = "importlib-metadata" version = "8.5.0" source = { registry = "https://pypi.org/simple/" } dependencies = [ - { name = "zipp", marker = "python_full_version < '3.13'" }, + { name = "zipp" }, ] sdist = { url = "https://files.pythonhosted.org/packages/cd/12/33e59336dca5be0c398a7482335911a33aa0e20776128f038019f1a95f1b/importlib_metadata-8.5.0.tar.gz", hash = "sha256:71522656f0abace1d072b9e5481a48f07c138e00f079c38c8f883823f9c26bd7", size = 55304 } wheels = [ @@ -1252,8 +1250,8 @@ name = "taskgroup" version = "0.2.2" source = { registry = "https://pypi.org/simple/" } dependencies = [ - { name = "exceptiongroup", marker = "python_full_version < '3.13'" }, - { name = "typing-extensions", marker = "python_full_version < '3.13'" }, + { name = "exceptiongroup" }, + { name = "typing-extensions" }, ] sdist = { url = "https://files.pythonhosted.org/packages/f0/8d/e218e0160cc1b692e6e0e5ba34e8865dbb171efeb5fc9a704544b3020605/taskgroup-0.2.2.tar.gz", hash = "sha256:078483ac3e78f2e3f973e2edbf6941374fbea81b9c5d0a96f51d297717f4752d", size = 11504 } wheels = [