Skip to content

Commit

Permalink
Replace pip-tools with uv
Browse files Browse the repository at this point in the history
  • Loading branch information
ThiefMaster committed Jul 10, 2024
1 parent 60ea543 commit b5f877f
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 47 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
"eslint:specific": "cd newdle/client && npx eslint --fix --max-warnings 0",
"eslint:check": "cd newdle/client && npx eslint --max-warnings 0 src/",
"ruff": "ruff check conftest.py ci/ newdle/ tests/",
"pydeps:update": "pip-compile --strip-extras --resolver=backtracking -q -U && pip-compile --strip-extras --resolver=backtracking -q -U requirements.dev.in && pip-compile --strip-extras --resolver=backtracking -q -U requirements.exchange.in && pip-compile --strip-extras --resolver=backtracking -q -U requirements.cern.in",
"pydeps:lock": "pip-compile --strip-extras --resolver=backtracking -q && pip-compile --strip-extras --resolver=backtracking -q requirements.dev.in && pip-compile --strip-extras --resolver=backtracking -q requirements.exchange.in && pip-compile --strip-extras --resolver=backtracking -q requirements.cern.in"
"pydeps:update": "uv pip compile -U requirements.in -o requirements.txt && uv pip compile -U requirements.dev.in -o requirements.dev.txt && uv pip compile -U requirements.exchange.in -o requirements.exchange.txt && uv pip compile -U requirements.cern.in -o requirements.cern.txt",
"pydeps:lock": "uv pip compile requirements.in -o requirements.txt && uv pip compile requirements.dev.in -o requirements.dev.txt && uv pip compile requirements.exchange.in -o requirements.exchange.txt && uv pip compile requirements.cern.in -o requirements.cern.txt"
},
"lint-staged": {
"newdle/client/src/**/*.{json,scss,css}": [
Expand Down
8 changes: 2 additions & 6 deletions requirements.cern.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.12
# by the following command:
#
# pip-compile --strip-extras requirements.cern.in
#
# This file was autogenerated by uv via the following command:
# uv pip compile requirements.cern.in -o requirements.cern.txt
authlib==1.3.0
# via
# -c requirements.txt
Expand Down
2 changes: 1 addition & 1 deletion requirements.dev.in
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
-c requirements.txt
flask-shell-ipython
ipython
pip-tools
pytest
pytest-cov
pytest-mock
pytest-snapshot
ruff
uv
wheel
28 changes: 5 additions & 23 deletions requirements.dev.txt
Original file line number Diff line number Diff line change
@@ -1,23 +1,16 @@
#
# This file is autogenerated by pip-compile with Python 3.12
# by the following command:
#
# pip-compile --strip-extras requirements.dev.in
#
# This file was autogenerated by uv via the following command:
# uv pip compile requirements.dev.in -o requirements.dev.txt
asttokens==2.4.1
# via stack-data
blinker==1.8.2
# via
# -c requirements.txt
# flask
build==1.2.1
# via pip-tools
click==8.1.7
# via
# -c requirements.txt
# flask
# flask-shell-ipython
# pip-tools
coverage==7.5.1
# via pytest-cov
decorator==5.1.1
Expand Down Expand Up @@ -56,14 +49,11 @@ matplotlib-inline==0.1.7
packaging==24.0
# via
# -c requirements.txt
# build
# pytest
parso==0.8.4
# via jedi
pexpect==4.9.0
# via ipython
pip-tools==7.4.1
# via -r requirements.dev.in
pluggy==1.5.0
# via pytest
prompt-toolkit==3.0.43
Expand All @@ -74,10 +64,6 @@ pure-eval==0.2.2
# via stack-data
pygments==2.18.0
# via ipython
pyproject-hooks==1.1.0
# via
# build
# pip-tools
pytest==8.2.0
# via
# -r requirements.dev.in
Expand All @@ -102,17 +88,13 @@ traitlets==5.14.3
# via
# ipython
# matplotlib-inline
uv==0.2.23
# via -r requirements.dev.in
wcwidth==0.2.13
# via prompt-toolkit
werkzeug==3.0.3
# via
# -c requirements.txt
# flask
wheel==0.43.0
# via
# -r requirements.dev.in
# pip-tools

# The following packages are considered to be unsafe in a requirements file:
# pip
# setuptools
# via -r requirements.dev.in
12 changes: 3 additions & 9 deletions requirements.exchange.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.12
# by the following command:
#
# pip-compile --strip-extras requirements.exchange.in
#
# This file was autogenerated by uv via the following command:
# uv pip compile requirements.exchange.in -o requirements.exchange.txt
cached-property==1.5.2
# via exchangelib
certifi==2024.2.2
Expand Down Expand Up @@ -52,9 +48,7 @@ pycparser==2.22
pygments==2.18.0
# via exchangelib
pyjwt==2.8.0
# via
# msal
# pyjwt
# via msal
pyspnego==0.10.2
# via requests-ntlm
requests==2.31.0
Expand Down
8 changes: 2 additions & 6 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.12
# by the following command:
#
# pip-compile --strip-extras
#
# This file was autogenerated by uv via the following command:
# uv pip compile requirements.in -o requirements.txt
alembic==1.13.1
# via
# -r requirements.in
Expand Down

0 comments on commit b5f877f

Please sign in to comment.