diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 0ff8b47e..0c174b09 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -15,13 +15,13 @@ repos: rev: 5.13.2 hooks: - id: isort - - repo: https://github.com/jazzband/pip-tools - rev: 7.4.1 + - repo: https://github.com/astral-sh/uv-pre-commit + rev: 0.4.4 hooks: - id: pip-compile name: pip-compile requirements.in - files: ^requirements\.(in|txt)$ + args: [requirements.in, -o, requirements.txt, --no-strip-extras] - id: pip-compile name: pip-compile requirements_dev.in - files: ^requirements(_dev)?\.(in|txt)$ - args: [requirements_dev.in] + args: [requirements_dev.in, -o, requirements_dev.txt, --no-strip-extras] + files: ^requirements_dev\.(in|txt)$ diff --git a/.python-version b/.python-version new file mode 100644 index 00000000..2c073331 --- /dev/null +++ b/.python-version @@ -0,0 +1 @@ +3.11 diff --git a/requirements.txt b/requirements.txt index 8f2d02f8..e3b7bf28 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,9 +1,5 @@ -# -# This file is autogenerated by pip-compile with Python 3.11 -# by the following command: -# -# pip-compile -# +# This file was autogenerated by uv via the following command: +# uv pip compile requirements.in -o requirements.txt --no-strip-extras cachetools==4.2.4 # via -r requirements.in certifi==2024.7.4 @@ -32,7 +28,7 @@ psycopg2==2.9.6 # via -r requirements.in python-dateutil==2.8.0 # via -r requirements.in -requests==2.32.0 +requests==2.32.3 # via -r requirements.in sentry-sdk==2.8.0 # via -r requirements.in diff --git a/requirements_dev.in b/requirements_dev.in index 2beb7c2c..9e6f33c6 100644 --- a/requirements_dev.in +++ b/requirements_dev.in @@ -4,7 +4,6 @@ coveralls flake8 isort jsonschema -pip-tools pre-commit psycopg2-binary pytest diff --git a/requirements_dev.txt b/requirements_dev.txt index cca227a6..41671cf2 100644 --- a/requirements_dev.txt +++ b/requirements_dev.txt @@ -1,17 +1,11 @@ -# -# This file is autogenerated by pip-compile with Python 3.11 -# by the following command: -# -# pip-compile requirements_dev.in -# +# This file was autogenerated by uv via the following command: +# uv pip compile requirements_dev.in -o requirements_dev.txt --no-strip-extras attrs==21.2.0 # via # jsonschema # pytest black==24.3.0 # via -r requirements_dev.in -build==0.10.0 - # via pip-tools cachetools==4.2.4 # via -r requirements.txt certifi==2024.7.4 @@ -29,7 +23,6 @@ click==8.1.6 # via # -r requirements.txt # black - # pip-tools coverage[toml]==6.5.0 # via # coveralls @@ -73,7 +66,6 @@ orjson==3.9.15 packaging==23.1 # via # black - # build # pytest pathspec==0.9.0 # via black @@ -83,8 +75,6 @@ pika==1.3.2 # via # -r requirements.txt # yapw -pip-tools==7.3.0 - # via -r requirements_dev.in platformdirs==4.1.0 # via # black @@ -101,8 +91,6 @@ pycodestyle==2.7.0 # via flake8 pyflakes==2.3.1 # via flake8 -pyproject-hooks==1.0.0 - # via build pyrsistent==0.18.0 # via jsonschema pytest==7.2.0 @@ -118,7 +106,7 @@ python-dateutil==2.8.0 # via -r requirements.txt pyyaml==6.0.1 # via pre-commit -requests==2.32.0 +requests==2.32.3 # via # -r requirements.txt # coveralls @@ -142,13 +130,7 @@ validate-email==1.3 # via -r requirements.txt virtualenv==20.25.0 # via pre-commit -wheel==0.38.4 - # via pip-tools yapw[perf]==0.1.4 # via -r requirements.txt zipp==3.19.1 # via importlib-metadata - -# The following packages are considered to be unsafe in a requirements file: -# pip -# setuptools