File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1919 uses : actions/checkout@v7
2020
2121 - name : Set up Python 3.12
22- uses : actions/setup-python@v6
22+ uses : actions/setup-python@v7
2323 with :
2424 python-version : ' 3.12'
2525
9898 uses : actions/checkout@v7
9999
100100 - name : Set up Python 3.12
101- uses : actions/setup-python@v6
101+ uses : actions/setup-python@v7
102102 with :
103103 python-version : ' 3.12'
104104 cache : pip
@@ -108,7 +108,7 @@ jobs:
108108
109109 - name : Install development dependencies
110110 working-directory : ./backend_api_python
111- run : python -m pip install --disable-pip-version-check -r requirements-dev.txt
111+ run : python -m pip install --disable-pip-version-check -r requirements.lock -r requirements -dev.txt
112112
113113 - name : Python import check
114114 if : matrix.shard_index == 0
@@ -173,7 +173,7 @@ jobs:
173173 uses : actions/checkout@v7
174174
175175 - name : Set up Python 3.12
176- uses : actions/setup-python@v6
176+ uses : actions/setup-python@v7
177177 with :
178178 python-version : ' 3.12'
179179
Original file line number Diff line number Diff line change 3434 uses : actions/checkout@v7
3535
3636 - name : Set up Python 3.12
37- uses : actions/setup-python@v6
37+ uses : actions/setup-python@v7
3838 with :
3939 python-version : ' 3.12'
4040 cache : pip
Original file line number Diff line number Diff line change 2525 uses : actions/checkout@v7
2626
2727 - name : Set up Python 3.12
28- uses : actions/setup-python@v6
28+ uses : actions/setup-python@v7
2929 with :
3030 python-version : ' 3.12'
3131 cache : pip
Original file line number Diff line number Diff line change @@ -125,7 +125,7 @@ Create an environment and install development dependencies:
125125``` bash
126126python -m venv .venv
127127python -m pip install --upgrade pip
128- python -m pip install -r requirements-dev.txt
128+ python -m pip install -r requirements.lock -r requirements -dev.txt
129129```
130130
131131Apply migrations:
Original file line number Diff line number Diff line change 1- -r requirements.lock
2-
31bandit [toml ]>= 1.8.6 ,< 2
42pip-audit >= 2.9.0 ,< 3
53pytest >= 9.0.3 ,< 10
Original file line number Diff line number Diff line change @@ -45,6 +45,11 @@ def test_config_loader_does_not_override_supervisor_environment(monkeypatch):
4545 from app .utils import config_loader
4646
4747 calls = []
48+ monkeypatch .setattr (
49+ config_loader .Path ,
50+ "exists" ,
51+ lambda path : path .name == ".env" ,
52+ )
4853 monkeypatch .setattr (
4954 dotenv ,
5055 "load_dotenv" ,
You can’t perform that action at this time.
0 commit comments