Skip to content

Commit 387b9be

Browse files
committed
added dependency
1 parent 4c570e5 commit 387b9be

File tree

3 files changed

+9
-27
lines changed

3 files changed

+9
-27
lines changed

.github/workflows/deployment.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,14 @@ jobs:
1212
uses: actions/setup-python@v4
1313
with:
1414
python-version: 3.11
15-
- name: Install dependencies
15+
name: Install dependencies with trusted hosts and explicit index (FIXED!)
1616
run: |
17-
pip install -r requirements.txt
17+
pip install --no-cache-dir \
18+
--index-url https://pypi.org/simple/ \
19+
--trusted-host pypi.org \
20+
--trusted-host files.pythonhosted.org \
21+
-r requirements.txt
22+
1823
- name: Install Heroku CLI
1924
run: curl https://cli-assets.heroku.com/install.sh | sh
2025
- name: Login to Heroku

requirements.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ django==4.2.24
88
djangorestframework==3.15.2
99
djangorestframework-simplejwt==5.3.1
1010
drf-spectacular==0.28.0
11-
drf-spectacular-sidecar==2025.9.1
11+
drf-spectacular-sidecar==2025.6.1
1212
idna==3.10
1313
inflection==0.5.1
1414
jsonschema==4.23.0
15-
jsonschema-specifications==2024.10.1 #
15+
jsonschema-specifications==2024.10.1
1616
mypy-extensions==1.0.0
1717
packaging==24.2
1818
pathspec==0.12.1

requirmrements.txt

Lines changed: 0 additions & 23 deletions
This file was deleted.

0 commit comments

Comments
 (0)