File tree 5 files changed +6
-7
lines changed
5 files changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -13,9 +13,10 @@ WORKDIR /app
13
13
FROM base AS python-deps
14
14
RUN apt-get update -qqy && apt-get install -qqy gcc libc-dev
15
15
COPY java-requirements.txt ./
16
- RUN pip install -r java-requirements.txt
16
+ RUN pip install --no-deps - r java-requirements.txt
17
17
COPY requirements.txt ./
18
- RUN pip install -r requirements.txt
18
+ # use --no-deps to work around https://github.com/pypa/pip/issues/9644
19
+ RUN pip install --no-deps -r requirements.txt
19
20
20
21
# download java dependencies in separate stage because it requires maven
21
22
FROM base AS java-deps
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ if [ "$CMD" == "bootstrap" ]; then
29
29
# see e.g. https://github.com/scipy/scipy/issues/13102#issuecomment-788160041
30
30
export SYSTEM_VERSION_COMPAT=1
31
31
32
- venv/bin/pip install -r requirements.txt
32
+ venv/bin/pip install --no-deps - r requirements.txt
33
33
venv/bin/pip install -e .
34
34
echo " bqetl configured! It should now be ready for use."
35
35
exit 0
Original file line number Diff line number Diff line change @@ -227,7 +227,7 @@ python3 -m venv venv/
227
227
source venv/bin/activate
228
228
229
229
# If not installed:
230
- pip install pip-tools
230
+ pip install pip-tools --constraint requirements.in
231
231
232
232
# Add the dependency to requirements.in e.g. Jinja2.
233
233
echo Jinja2==2.11.1 >> requirements.in
Original file line number Diff line number Diff line change @@ -5,10 +5,8 @@ click==8.0.4
5
5
gcsfs==2022.2.0
6
6
gcloud==0.18.3
7
7
gitpython==3.1.27
8
- google-api-core==1.31.5 # transitive dep that needs dependabot updates
9
8
google-cloud-bigquery==2.34.0
10
9
google-cloud-storage==2.1.0
11
- googleapis-common-protos==1.54.0 # transitive dep that needs dependabot updates
12
10
importlib-resources>=1.4.0 # jsonschema dep for python<3.9
13
11
Jinja2==3.0.3
14
12
jsonschema==4.4.0
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ python3 -m venv venv
17
17
source venv/bin/activate
18
18
19
19
# install dependencies
20
- pip install -r requirements.txt
20
+ pip install --no-deps - r requirements.txt
21
21
# install bqetl command-line tool
22
22
pip install -e .
23
23
```
You can’t perform that action at this time.
0 commit comments