mirror of
https://github.com/ansible-collections/community.docker.git
synced 2026-07-29 11:55:04 +00:00
Make compatible with requests 2.29.0 and urllib3 2.0 (#613)
* Make compatible with requests 2.29.0. * This fix should also work with urllib3 2.0 according to urllib3 maintainer. * Add changelog fragment. * We still need the constraint for CI until Docker SDK for Python has a new release with a fix. * Make modifications to response_class as small as possible. * Revert "We still need the constraint for CI until Docker SDK for Python has a new release with a fix." This reverts commit 698d544a1e08308e8bf8b4e56ab78c5079f9a17b. * The pip coming with the ansible-core 2.11 alpine3 image seems to be too old.
This commit is contained in:
@@ -101,6 +101,10 @@ jobs:
|
||||
- ''
|
||||
target:
|
||||
- ''
|
||||
extra-constraints:
|
||||
# Specifying this other than '' likely destroys change detection, but at least it will make
|
||||
# CI pass when necessary...
|
||||
- ''
|
||||
exclude:
|
||||
- ansible: ''
|
||||
include:
|
||||
@@ -117,6 +121,7 @@ jobs:
|
||||
docker: alpine3
|
||||
python: ''
|
||||
target: azp/4/
|
||||
extra-constraints: urllib3 < 2.0.0
|
||||
- ansible: '2.11'
|
||||
docker: alpine3
|
||||
python: ''
|
||||
@@ -144,6 +149,9 @@ jobs:
|
||||
git clone --depth=1 --single-branch https://github.com/ansible-collections/community.crypto.git ../../community/crypto
|
||||
;
|
||||
git clone --depth=1 --single-branch https://github.com/ansible-collections/community.general.git ../../community/general
|
||||
${{ matrix.extra-constraints && format('; echo ''{0}'' >> tests/utils/constraints.txt', matrix.extra-constraints) || '' }}
|
||||
;
|
||||
cat tests/utils/constraints.txt
|
||||
pull-request-change-detection: 'true'
|
||||
target: ${{ matrix.target }}
|
||||
target-python-version: ${{ matrix.python }}
|
||||
|
||||
Reference in New Issue
Block a user