Skip to content

Commit

Permalink
build: Remove pip-tools. Add .python-version.
Browse files Browse the repository at this point in the history
  • Loading branch information
jpmckinney committed Sep 4, 2024
1 parent dc3176f commit 1e1d0f1
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 37 deletions.
10 changes: 5 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@ 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)$
exclude: /migrations/
1 change: 1 addition & 0 deletions .python-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3.11
3 changes: 1 addition & 2 deletions docs/contributing/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@ Setup

.. code-block:: bash
pip install pip-tools
pip-sync requirements_dev.txt
pip install -r requirements_dev.txt
#. Set up the git pre-commit hook:

Expand Down
10 changes: 3 additions & 7 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -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
asgiref==3.7.2
# via django
certifi==2024.7.4
Expand Down Expand Up @@ -62,7 +58,7 @@ python-dateutil==2.8.2
# pandas
pytz==2021.1
# via pandas
requests==2.32.0
requests==2.32.3
# via -r requirements.in
sentry-sdk==2.8.0
# via -r requirements.in
Expand Down
1 change: 0 additions & 1 deletion requirements_dev.in
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,5 @@ coverage
coveralls
flake8
isort
pip-tools
pre-commit
psycopg2-binary
26 changes: 4 additions & 22 deletions requirements_dev.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
#
# 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
asgiref==3.7.2
# via
# -r requirements.txt
Expand All @@ -12,8 +8,6 @@ backports-entry-points-selectable==1.2.0
# via virtualenv
black==24.3.0
# via -r requirements_dev.in
build==0.10.0
# via pip-tools
certifi==2024.7.4
# via
# -r requirements.txt
Expand All @@ -30,7 +24,6 @@ click==8.1.3
# -r requirements.txt
# black
# flatterer
# pip-tools
coverage==6.5.0
# via
# -r requirements_dev.in
Expand Down Expand Up @@ -102,7 +95,6 @@ packaging==24.0
# via
# -r requirements.txt
# black
# build
# gunicorn
pandas==1.5.0
# via
Expand All @@ -118,13 +110,11 @@ pillow==10.3.0
# via
# -r requirements.txt
# django-markdownx
pip-tools==7.3.0
# via -r requirements_dev.in
platformdirs==2.4.0
# via
# black
# virtualenv
pre-commit==3.6.0
pre-commit==3.8.0
# via -r requirements_dev.in
psycopg2==2.9.6
# via -r requirements.txt
Expand All @@ -134,8 +124,6 @@ pycodestyle==2.6.0
# via flake8
pyflakes==2.2.0
# via flake8
pyproject-hooks==1.0.0
# via build
python-dateutil==2.8.2
# via
# -r requirements.txt
Expand All @@ -146,7 +134,7 @@ pytz==2021.1
# pandas
pyyaml==6.0
# via pre-commit
requests==2.32.0
requests==2.32.3
# via
# -r requirements.txt
# coveralls
Expand Down Expand Up @@ -177,11 +165,5 @@ urllib3==2.2.2
# sentry-sdk
virtualenv==20.10.0
# via pre-commit
wheel==0.38.4
# via pip-tools
yapw[perf]==0.1.4
# via -r requirements.txt

# The following packages are considered to be unsafe in a requirements file:
# pip
# setuptools

0 comments on commit 1e1d0f1

Please sign in to comment.