Skip to content

Commit

Permalink
add index url to requirement files
Browse files Browse the repository at this point in the history
  • Loading branch information
johanlundberg committed Nov 29, 2024
1 parent d37c800 commit d2af377
Show file tree
Hide file tree
Showing 8 changed files with 22 additions and 8 deletions.
2 changes: 1 addition & 1 deletion requirements/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
UV=$(shell which uv)
PIPCOMPILE=$(UV) pip compile --upgrade --generate-hashes --no-strip-extras --index-url https://pypi.sunet.se/simple
PIPCOMPILE=$(UV) pip compile --upgrade --generate-hashes --no-strip-extras --index-url https://pypi.sunet.se/simple --emit-index-url
PIPSYNC=$(UV) pip sync --index-url https://pypi.sunet.se/simple

update_deps: sub_main.txt main.txt $(patsubst %_requirements.in,%_requirements.txt,$(wildcard *_requirements.in))
Expand Down
4 changes: 3 additions & 1 deletion requirements/fastapi_requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# This file was autogenerated by uv via the following command:
# uv pip compile --generate-hashes --no-strip-extras fastapi_requirements.in -o fastapi_requirements.txt
# uv pip compile --generate-hashes --no-strip-extras --index-url https://pypi.sunet.se/simple --emit-index-url fastapi_requirements.in -o fastapi_requirements.txt
--index-url https://pypi.sunet.se/simple

aiosmtplib==3.0.2 \
--hash=sha256:08fd840f9dbc23258025dca229e8a8f04d2ccf3ecb1319585615bfc7933f7f47 \
--hash=sha256:8783059603a34834c7c90ca51103c3aa129d5922003b5ce98dbaa6d4440f10fc
Expand Down
4 changes: 3 additions & 1 deletion requirements/main.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# This file was autogenerated by uv via the following command:
# uv pip compile --generate-hashes --no-strip-extras main.in -o main.txt
# uv pip compile --generate-hashes --no-strip-extras --index-url https://pypi.sunet.se/simple --emit-index-url main.in -o main.txt
--index-url https://pypi.sunet.se/simple

aiosmtplib==3.0.2 \
--hash=sha256:08fd840f9dbc23258025dca229e8a8f04d2ccf3ecb1319585615bfc7933f7f47 \
--hash=sha256:8783059603a34834c7c90ca51103c3aa129d5922003b5ce98dbaa6d4440f10fc
Expand Down
4 changes: 3 additions & 1 deletion requirements/satosa_scim_requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# This file was autogenerated by uv via the following command:
# uv pip compile --generate-hashes --no-strip-extras satosa_scim_requirements.in -o satosa_scim_requirements.txt
# uv pip compile --generate-hashes --no-strip-extras --index-url https://pypi.sunet.se/simple --emit-index-url satosa_scim_requirements.in -o satosa_scim_requirements.txt
--index-url https://pypi.sunet.se/simple

aiosmtplib==3.0.2 \
--hash=sha256:08fd840f9dbc23258025dca229e8a8f04d2ccf3ecb1319585615bfc7933f7f47 \
--hash=sha256:8783059603a34834c7c90ca51103c3aa129d5922003b5ce98dbaa6d4440f10fc
Expand Down
4 changes: 3 additions & 1 deletion requirements/sub_main.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# This file was autogenerated by uv via the following command:
# uv pip compile --generate-hashes --no-strip-extras sub_main.in -o sub_main.txt
# uv pip compile --generate-hashes --no-strip-extras --index-url https://pypi.sunet.se/simple --emit-index-url sub_main.in -o sub_main.txt
--index-url https://pypi.sunet.se/simple

async-timeout==5.0.1 \
--hash=sha256:39e3809566ff85354557ec2398b55e096c8364bacac9405a7a1fa429e77fe76c \
--hash=sha256:d9321a7a3d5a6a5e187e824d2fa0793ce379a202935782d555d6e9d2735677d3
Expand Down
4 changes: 3 additions & 1 deletion requirements/test_requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# This file was autogenerated by uv via the following command:
# uv pip compile --generate-hashes --no-strip-extras test_requirements.in -o test_requirements.txt
# uv pip compile --generate-hashes --no-strip-extras --index-url https://pypi.sunet.se/simple --emit-index-url test_requirements.in -o test_requirements.txt
--index-url https://pypi.sunet.se/simple

aiosmtplib==3.0.2 \
--hash=sha256:08fd840f9dbc23258025dca229e8a8f04d2ccf3ecb1319585615bfc7933f7f47 \
--hash=sha256:8783059603a34834c7c90ca51103c3aa129d5922003b5ce98dbaa6d4440f10fc
Expand Down
4 changes: 3 additions & 1 deletion requirements/webapp_requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# This file was autogenerated by uv via the following command:
# uv pip compile --generate-hashes --no-strip-extras webapp_requirements.in -o webapp_requirements.txt
# uv pip compile --generate-hashes --no-strip-extras --index-url https://pypi.sunet.se/simple --emit-index-url webapp_requirements.in -o webapp_requirements.txt
--index-url https://pypi.sunet.se/simple

aiosmtplib==3.0.2 \
--hash=sha256:08fd840f9dbc23258025dca229e8a8f04d2ccf3ecb1319585615bfc7933f7f47 \
--hash=sha256:8783059603a34834c7c90ca51103c3aa129d5922003b5ce98dbaa6d4440f10fc
Expand Down
4 changes: 3 additions & 1 deletion requirements/worker_requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# This file was autogenerated by uv via the following command:
# uv pip compile --generate-hashes --no-strip-extras worker_requirements.in -o worker_requirements.txt
# uv pip compile --generate-hashes --no-strip-extras --index-url https://pypi.sunet.se/simple --emit-index-url worker_requirements.in -o worker_requirements.txt
--index-url https://pypi.sunet.se/simple

aiosmtplib==3.0.2 \
--hash=sha256:08fd840f9dbc23258025dca229e8a8f04d2ccf3ecb1319585615bfc7933f7f47 \
--hash=sha256:8783059603a34834c7c90ca51103c3aa129d5922003b5ce98dbaa6d4440f10fc
Expand Down

0 comments on commit d2af377

Please sign in to comment.