File tree Expand file tree Collapse file tree 7 files changed +11
-17
lines changed
Expand file tree Collapse file tree 7 files changed +11
-17
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,9 @@ ADD ./{{ item.name }} ./{{ item.name }}
99# S3 botocore needs to be patched to handle responses from minio during 0-byte uploads
1010# Hacking botocore (https://github.com/boto/botocore/pull/1990)
1111
12- RUN pip3 install
12+ RUN pip3 install --upgrade pip setuptools wheel && \
13+ rm -rf /root/.cache/pip && \
14+ pip3 install
1315{% - if s 3_test | default (false ) -%}
1416{{ " " }}git+https://github.com/gerrod3/botocore.git@fix-100-continue
1517{% - endif -%}
@@ -25,7 +27,8 @@ RUN pip3 install
2527{{ " " }}-r ./{{ item.name }}/ci_requirements.txt
2628{% - endif -%}
2729{% - 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
2932
3033{% if pulp_env is defined and pulp_env %}
3134{% 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):
6262 max_version = f"{ version .major } .{ version .minor } .{ version .micro - 1 } "
6363 elif version .minor != 0 :
6464 max_version = f"{ version .major } .{ version .minor - 1 } "
65+ elif version .major != 0 :
66+ max_version = f"{ version .major - 1 } .0"
6567 else :
6668 return f"# NO BETTER CONSTRAINT: { req } "
6769 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-362-g5add0ff
Original file line number Diff line number Diff line change @@ -18,9 +18,7 @@ cd "$(dirname "$(realpath -e "$0")")"/../../..
1818pushd ../pulp-openapi-generator
1919rm -rf " pulp_python-client"
2020
21- # We need to copy that over to be visible in the container.
22- cp " ../pulp_python/python-api.json" .
23- ./gen-client.sh " python-api.json" " python" python " pulp_python"
21+ ./gen-client.sh " ../pulp_python/python-api.json" " python" python " pulp_python"
2422
2523pushd pulp_python-client
2624python 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")")"/../../..
1818pushd ../pulp-openapi-generator
1919rm -rf " pulp_python-client"
2020
21- # We need to copy that over to be visible in the container.
22- # cp "../pulp_python/python-api.json" .
23- # ./gen-client.sh "python-api.json" "python" ruby "pulp_python"
24-
25- # -------------
26- # The generator still needs to have it called api.json at this time...
27- cp " ../pulp_python/api.json" .
28- ./gen-client.sh " api.json" " python" ruby " pulp_python"
29- # -------------
21+ ./gen-client.sh " ../pulp_python/python-api.json" " python" ruby " pulp_python"
3022
3123pushd pulp_python-client
3224gem build pulp_python_client
Original file line number Diff line number Diff line change 2222 matrix :
2323 env :
2424 - TEST : pulp
25- - TEST : docs
2625 - TEST : azure
2726 - TEST : s3
2827 - TEST : lowerbounds
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ deploy_to_pypi: true
2222disabled_redis_runners : []
2323doc_requirements_from_pulpcore : true
2424docker_fixtures : false
25- docs_test : true
25+ docs_test : false
2626flake8 : true
2727flake8_ignore : []
2828github_org : pulp
You can’t perform that action at this time.
0 commit comments