Skip to content
Snippets Groups Projects
Commit 6d81da56 authored by Ahmed Ilyas's avatar Ahmed Ilyas
Browse files

use uv for pip compile

parent 4590cf8c
No related branches found
No related tags found
1 merge request!1843use uv for pip compile
...@@ -125,7 +125,7 @@ dev = [ ...@@ -125,7 +125,7 @@ dev = [
'mkdocs', 'mkdocs',
'mypy==1.0.1', # bug: incompatible with derived models of pydantic v1 'mypy==1.0.1', # bug: incompatible with derived models of pydantic v1
'names==0.3.0', 'names==0.3.0',
'pip-tools>=6.13.0', 'uv',
'pycodestyle', 'pycodestyle',
'pytest-cov==2.7.1', 'pytest-cov==2.7.1',
'pytest-timeout==1.4.2', 'pytest-timeout==1.4.2',
......
This diff is collapsed.
This diff is collapsed.
...@@ -18,20 +18,18 @@ cd $project_dir ...@@ -18,20 +18,18 @@ cd $project_dir
cp requirements.txt requirements.txt.tmp cp requirements.txt requirements.txt.tmp
cp requirements-dev.txt requirements-dev.txt.tmp cp requirements-dev.txt requirements-dev.txt.tmp
pip-compile -r -U --resolver=backtracking --annotation-style=line \ uv pip compile -q -U --annotation-style=line \
--extra=infrastructure --extra=parsing \ --extra=infrastructure --extra=parsing \
--output-file=requirements.txt \ --output-file=requirements.txt \
--pip-args="--prefer-binary" \
dependencies/nomad-dos-fingerprints/pyproject.toml \ dependencies/nomad-dos-fingerprints/pyproject.toml \
dependencies/parsers/eelsdb/pyproject.toml \ dependencies/parsers/eelsdb/pyproject.toml \
pyproject.toml pyproject.toml
diff requirements.txt.tmp requirements.txt diff requirements.txt.tmp requirements.txt
pip-compile -r -U --resolver=backtracking --annotation-style=line \ uv pip compile -q -U --annotation-style=line \
--extra=dev --extra=infrastructure --extra=parsing \ --extra=dev --extra=infrastructure --extra=parsing \
--output-file=requirements-dev.txt \ --output-file=requirements-dev.txt \
--pip-args="--prefer-binary" \
requirements.txt \ requirements.txt \
pyproject.toml pyproject.toml
......
...@@ -14,18 +14,17 @@ project_dir=$(dirname $(dirname $(realpath $0))) ...@@ -14,18 +14,17 @@ project_dir=$(dirname $(dirname $(realpath $0)))
cd $project_dir cd $project_dir
pip-compile -r -U --resolver=backtracking --annotation-style=line \
uv pip compile -U --annotation-style=line \
--extra=infrastructure --extra=parsing \ --extra=infrastructure --extra=parsing \
--output-file=requirements.txt \ --output-file=requirements.txt \
--pip-args="--prefer-binary" \
dependencies/nomad-dos-fingerprints/pyproject.toml \ dependencies/nomad-dos-fingerprints/pyproject.toml \
dependencies/parsers/eelsdb/pyproject.toml \ dependencies/parsers/eelsdb/pyproject.toml \
pyproject.toml pyproject.toml
pip-compile -r -U --resolver=backtracking --annotation-style=line \ uv pip compile -U --annotation-style=line \
--extra=dev --extra=infrastructure --extra=parsing \ --extra=dev --extra=infrastructure --extra=parsing \
--output-file=requirements-dev.txt \ --output-file=requirements-dev.txt \
--pip-args="--prefer-binary" \
requirements.txt \ requirements.txt \
pyproject.toml pyproject.toml
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment