Skip to content

Commit 2e019dd

Browse files
committed
chore: use immutable dependencies
1 parent ed873f2 commit 2e019dd

4 files changed

Lines changed: 909 additions & 8 deletions

File tree

.envrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
ls venv &> /dev/null || python3 -mvenv venv || exit 1
22
source venv/bin/activate || exit 1
3-
pip install -e '.[all]' || exit 1
3+
pip install -r requirements.txt || exit 1
44
pre-commit install

.github/workflows/verify.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
- name: Install dependencies
3333
run: |
3434
python -m pip install --upgrade pip
35-
pip install -e '.[all]'
35+
pip install -r requirements.txt
3636
- name: Run tests
3737
run: python -m unittest
3838

@@ -46,7 +46,7 @@ jobs:
4646
- name: Install dependencies
4747
run: |
4848
python -m pip install --upgrade pip
49-
pip install build
49+
pip install -r requirements.txt build
5050
- name: Build package
5151
run: python -m build
5252

pyproject.toml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ dependencies = []
2020

2121
[project.optional-dependencies]
2222
jobd = [
23-
"http_request_recorder @ git+https://github.com/sipgate/http-request-recorder.git@main"
23+
"http_request_recorder @ https://github.com/sipgate/http-request-recorder/archive/96a89cef0b71faab11121af5b28a60aeb887af5a.zip"
2424
]
2525
rpc_matchers = [
26-
"http_request_recorder @ git+https://github.com/sipgate/http-request-recorder.git@main"
26+
"http_request_recorder @ https://github.com/sipgate/http-request-recorder/archive/96a89cef0b71faab11121af5b28a60aeb887af5a.zip"
2727
]
2828
db = [
2929
"SQLAlchemy~=2.0.43"
@@ -34,9 +34,6 @@ metrics = [
3434
dev = [
3535
"pre-commit",
3636
]
37-
all = [
38-
"sipgate_e2e_test_utils[jobd,rpc_matchers,db,metrics,dev]"
39-
]
4037

4138
[tool.setuptools.package-data]
4239
sipgate_e2e_test_utils = ["jobd_functions.xml"]

0 commit comments

Comments
 (0)