From 952f4e4aab268e1c36d2dc937704faea44fb8ccb Mon Sep 17 00:00:00 2001 From: Anis Da Silva Campos Date: Mon, 4 Dec 2023 21:01:20 +0100 Subject: [PATCH] move requirement files to requirements folder --- Makefile | 12 ++++++------ dev-requirements.in => requirements/dev.in | 0 dev-requirements.txt => requirements/dev.txt | 12 ++++++------ 3 files changed, 12 insertions(+), 12 deletions(-) rename dev-requirements.in => requirements/dev.in (100%) rename dev-requirements.txt => requirements/dev.txt (98%) diff --git a/Makefile b/Makefile index dac458c..c4454e9 100644 --- a/Makefile +++ b/Makefile @@ -11,12 +11,12 @@ export PYTHONPATH=. pip install --quiet --upgrade 'pip==23.3.1' 'pip-tools==7.3' # generates a lock file with pinned version of all dependencies to be used by the CI and local devs -dev-requirements.txt: .venv dev-requirements.in pyproject.toml +requirements/dev.txt: .venv requirements/dev.in pyproject.toml pip-compile \ --quiet --generate-hashes --max-rounds=20 --strip-extras \ --resolver=backtracking \ - --output-file dev-requirements.txt \ - dev-requirements.in pyproject.toml + --output-file requirements/dev.txt \ + requirements/dev.in pyproject.toml # upgrades the dependencies to their latest/matching version upgrade: .venv @@ -24,14 +24,14 @@ upgrade: .venv --quiet --generate-hashes --max-rounds=20 --strip-extras \ --upgrade \ --resolver=backtracking \ - --output-file dev-requirements.txt \ - dev-requirements.in setup.cfg + --output-file requirements/dev.txt \ + requirements/dev.in pyproject.toml # creates the venv if not present then install the dependencies, the package and pre-commit .PHONY: install install: .venv - pip-sync dev-requirements.txt + pip-sync requirements/dev.txt # install pylint_pytest (deps are already handled by the line before) pip install --no-deps -e . # install pre-commit hooks diff --git a/dev-requirements.in b/requirements/dev.in similarity index 100% rename from dev-requirements.in rename to requirements/dev.in diff --git a/dev-requirements.txt b/requirements/dev.txt similarity index 98% rename from dev-requirements.txt rename to requirements/dev.txt index 1760b78..f8bc247 100644 --- a/dev-requirements.txt +++ b/requirements/dev.txt @@ -2,7 +2,7 @@ # This file is autogenerated by pip-compile with Python 3.11 # by the following command: # -# pip-compile --generate-hashes --max-rounds=20 --output-file=dev-requirements.txt --strip-extras dev-requirements.in pyproject.toml +# pip-compile --generate-hashes --max-rounds=20 --output-file=requirements/dev.txt --strip-extras pyproject.toml requirements/dev.in # astroid==3.0.1 \ --hash=sha256:7d5895c9825e18079c5aeac0572bc2e4c83205c95d416e0b4fee8bc361d2d9ca \ @@ -117,7 +117,7 @@ packaging==23.2 \ pip-tools==7.3.0 \ --hash=sha256:8717693288720a8c6ebd07149c93ab0be1fced0b5191df9e9decd3263e20d85e \ --hash=sha256:8e9c99127fe024c025b46a0b2d15c7bd47f18f33226cf7330d35493663fc1d1d - # via -r dev-requirements.in + # via -r requirements/dev.in platformdirs==4.0.0 \ --hash=sha256:118c954d7e949b35437270383a3f2531e99dd93cf7ce4dc8340d3356d30f173b \ --hash=sha256:cb633b2bcf10c51af60beb0ab06d2f1d69064b43abf4c185ca6b28865f3f9731 @@ -131,7 +131,7 @@ pluggy==1.3.0 \ pre-commit==3.5.0 \ --hash=sha256:5804465c675b659b0862f07907f96295d490822a450c4c40e747d0b1c6ebcb32 \ --hash=sha256:841dc9aef25daba9a0238cd27984041fa0467b4199fc4852e27950664919f660 - # via -r dev-requirements.in + # via -r requirements/dev.in pylint==3.0.2 \ --hash=sha256:0d4c286ef6d2f66c8bfb527a7f8a629009e42c99707dec821a03e1b51a4c1496 \ --hash=sha256:60ed5f3a9ff8b61839ff0348b3624ceeb9e6c2a92c514d81c9cc273da3b6bcda @@ -144,13 +144,13 @@ pytest==7.4.3 \ --hash=sha256:0d009c083ea859a71b76adf7c1d502e4bc170b80a8ef002da5806527b9591fac \ --hash=sha256:d989d136982de4e3b29dabcc838ad581c64e8ed52c11fbe86ddebd9da0818cd5 # via - # -r dev-requirements.in + # -r requirements/dev.in # pylint-pytest (pyproject.toml) # pytest-cov pytest-cov==4.1.0 \ --hash=sha256:3904b13dfbfec47f003b8e77fd5b589cd11904a21ddf1ab38a64f204d6a10ef6 \ --hash=sha256:6ba70b9e97e69fcc3fb45bfeab2d0a138fb65c4d0d6a41ef33983ad114be8c3a - # via -r dev-requirements.in + # via -r requirements/dev.in pyyaml==6.0.1 \ --hash=sha256:04ac92ad1925b2cff1db0cfebffb6ffc43457495c9b3c39d3fcae417d7125dc5 \ --hash=sha256:062582fca9fabdd2c8b54a3ef1c978d786e0f6b3a1510e0ac93ef59e0ddae2bc \ @@ -215,7 +215,7 @@ wheel==0.42.0 \ --hash=sha256:177f9c9b0d45c47873b619f5b650346d632cdc35fb5e4d25058e09c9e581433d \ --hash=sha256:c45be39f7882c9d34243236f2d63cbd58039e360f85d0913425fbd7ceea617a8 # via - # -r dev-requirements.in + # -r requirements/dev.in # pip-tools # WARNING: The following packages were not pinned, but pip requires them to be