Skip to content

Commit 7df5a2f

Browse files
authored
Fix install/deploy for extra'd requirements (#103)
* Revert "Install compiled requirements with --no-deps (#99)" This reverts commit 9d4b2ce. * Workaround for pip bug
1 parent 7e8acb7 commit 7df5a2f

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
- name: Upgrade python tooling
1515
run: python -m pip install --upgrade pip setuptools wheel
1616
- name: Install dependencies
17-
run: python -m pip install -r requirements.txt --no-deps
17+
run: python -m pip install -r requirements.txt
1818
- name: Install test dependencies
1919
run: python -m pip install pytest pretend
2020
- name: Test

requirements.txt

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,12 @@ exceptiongroup==1.0.0rc2 \
3232
--hash=sha256:4d254b05231bed1d43079bdcfe0f1d66c0ab4783e6777a329355f9b78de3ad83 \
3333
--hash=sha256:83e465152bd0bc2bc40d9b75686854260f86946bb947c652b5cafc31cdff70e7
3434
# via cattrs
35+
# This requirement duplicates the line below, without an extra. We need this to
36+
# work around https://github.com/pypa/pip/issues/9644 because we can't use
37+
# --no-deps when this gets installed by GCF
38+
google-api-core==2.7.1 \
39+
--hash=sha256:6be1fc59e2a7ba9f66808bbc22f976f81e4c3e7ab20fa0620ce42686288787d0 \
40+
--hash=sha256:b0fa577e512f0c8e063386b974718b8614586a798c5894ed34bedf256d9dae24
3541
google-api-core[grpc]==2.7.1 \
3642
--hash=sha256:6be1fc59e2a7ba9f66808bbc22f976f81e4c3e7ab20fa0620ce42686288787d0 \
3743
--hash=sha256:b0fa577e512f0c8e063386b974718b8614586a798c5894ed34bedf256d9dae24
@@ -121,6 +127,12 @@ google-resumable-media==2.3.2 \
121127
# via
122128
# google-cloud-bigquery
123129
# google-cloud-storage
130+
# This requirement duplicates the line below, without an extra. We need this to
131+
# work around https://github.com/pypa/pip/issues/9644 because we can't use
132+
# --no-deps when this gets installed by GCF
133+
googleapis-common-protos==1.56.0 \
134+
--hash=sha256:4007500795bcfc269d279f0f7d253ae18d6dc1ff5d5a73613ffe452038b1ec5f \
135+
--hash=sha256:60220c89b8bd5272159bed4929ecdc1243ae1f73437883a499a44a1cbc084086
124136
googleapis-common-protos[grpc]==1.56.0 \
125137
--hash=sha256:4007500795bcfc269d279f0f7d253ae18d6dc1ff5d5a73613ffe452038b1ec5f \
126138
--hash=sha256:60220c89b8bd5272159bed4929ecdc1243ae1f73437883a499a44a1cbc084086

0 commit comments

Comments
 (0)