File tree 5 files changed +10
-15
lines changed
5 files changed +10
-15
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,9 @@ ADD ./{{ item.name }} ./{{ item.name }}
9
9
# S3 botocore needs to be patched to handle responses from minio during 0-byte uploads
10
10
# Hacking botocore (https://github.com/boto/botocore/pull/1990)
11
11
12
- RUN pip3 install
12
+ RUN pip3 install --upgrade pip setuptools wheel && \
13
+ rm -rf /root/.cache/pip && \
14
+ pip3 install
13
15
{% - if s 3_test | default (false ) -%}
14
16
{{ " " }}git+https://github.com/gerrod3/botocore.git@fix-100-continue
15
17
{% - endif -%}
@@ -25,7 +27,8 @@ RUN pip3 install
25
27
{{ " " }}-r ./{{ item.name }}/ci_requirements.txt
26
28
{% - endif -%}
27
29
{% - endfor %}
28
- {{ " " }}-c ./{{ plugins[0] .name }}/.ci/assets/ci_constraints.txt
30
+ {{ " " }}-c ./{{ plugins[0] .name }}/.ci/assets/ci_constraints.txt && \
31
+ rm -rf /root/.cache/pip
29
32
30
33
{% if pulp_env is defined and pulp_env %}
31
34
{% for key , value in pulp_env .items () %}
Original file line number Diff line number Diff line change @@ -62,6 +62,8 @@ def to_upper_bound(req):
62
62
max_version = f"{ version .major } .{ version .minor } .{ version .micro - 1 } "
63
63
elif version .minor != 0 :
64
64
max_version = f"{ version .major } .{ version .minor - 1 } "
65
+ elif version .major != 0 :
66
+ max_version = f"{ version .major - 1 } .0"
65
67
else :
66
68
return f"# NO BETTER CONSTRAINT: { req } "
67
69
return f"{ requirement .name } { operator } { max_version } "
Original file line number Diff line number Diff line change 1
- 2021.08.26-354-g82d22de
1
+ 2021.08.26-361-gcd6f9f0
Original file line number Diff line number Diff line change @@ -18,9 +18,7 @@ cd "$(dirname "$(realpath -e "$0")")"/../../..
18
18
pushd ../pulp-openapi-generator
19
19
rm -rf " pulp_npm-client"
20
20
21
- # We need to copy that over to be visible in the container.
22
- cp " ../pulp_npm/npm-api.json" .
23
- ./gen-client.sh " npm-api.json" " npm" python " pulp_npm"
21
+ ./gen-client.sh " ../pulp_npm/npm-api.json" " npm" python " pulp_npm"
24
22
25
23
pushd pulp_npm-client
26
24
python setup.py sdist bdist_wheel --python-tag py3
Original file line number Diff line number Diff line change @@ -18,15 +18,7 @@ cd "$(dirname "$(realpath -e "$0")")"/../../..
18
18
pushd ../pulp-openapi-generator
19
19
rm -rf " pulp_npm-client"
20
20
21
- # We need to copy that over to be visible in the container.
22
- # cp "../pulp_npm/npm-api.json" .
23
- # ./gen-client.sh "npm-api.json" "npm" ruby "pulp_npm"
24
-
25
- # -------------
26
- # The generator still needs to have it called api.json at this time...
27
- cp " ../pulp_npm/api.json" .
28
- ./gen-client.sh " api.json" " npm" ruby " pulp_npm"
29
- # -------------
21
+ ./gen-client.sh " ../pulp_npm/npm-api.json" " npm" ruby " pulp_npm"
30
22
31
23
pushd pulp_npm-client
32
24
gem build pulp_npm_client
You can’t perform that action at this time.
0 commit comments