Skip to content

Commit

Permalink
[Bugfix][CI] Fix CacheControl version constraint violation (apache#15056
Browse files Browse the repository at this point in the history
)

Fix CacheControl version constraint violation

A change introduced in the dependencies of Poetry have introduced a bug
when building Docker containers and running `ubuntu_install_python.sh`.

The problem links back to CacheControl where one of the linked
dependencies is not pinned to a version.

A fix was released for this bug, documented here:
  psf/cachecontrol#311

The suggested solution to the problem is to upgrade to v0.12.14, so this
patch sets the version constraints accordingly.
  • Loading branch information
Liam-Sturge authored Jun 8, 2023
1 parent f3fde81 commit e6f0a15
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions docker/python/bootstrap/lockfiles/constraints-3.7.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cachecontrol==0.12.11; python_version >= "3.7" and python_version < "4.0" \
--hash=sha256:2c75d6a8938cb1933c75c50184549ad42728a27e9f6b92fd677c3151aa72555b \
--hash=sha256:a5b9fcc986b184db101aa280b42ecdcdfc524892596f606858e0b7a8b4d9e144
cachecontrol==0.12.14; python_version >= "3.7" and python_version < "4.0" \
--hash=sha256:d1087f45781c0e00616479bfd282c78504371ca71da017b49df9f5365a95feba \
--hash=sha256:1c2939be362a70c4e5f02c6249462b3b7a24441e4f1ced5e9ef028172edf356a
cachy==0.3.0; python_version >= "3.7" and python_full_version < "3.0.0" and python_version < "4.0" or python_version >= "3.7" and python_version < "4.0" and python_full_version >= "3.4.0" \
--hash=sha256:338ca09c8860e76b275aff52374330efedc4d5a5e45dc1c5b539c1ead0786fe7 \
--hash=sha256:186581f4ceb42a0bbe040c407da73c14092379b1e4c0e327fdb72ae4a9b269b1
Expand Down
6 changes: 3 additions & 3 deletions docker/python/bootstrap/lockfiles/constraints-3.8.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cachecontrol==0.12.11; python_version >= "3.7" and python_version < "4.0" \
--hash=sha256:2c75d6a8938cb1933c75c50184549ad42728a27e9f6b92fd677c3151aa72555b \
--hash=sha256:a5b9fcc986b184db101aa280b42ecdcdfc524892596f606858e0b7a8b4d9e144
cachecontrol==0.12.14; python_version >= "3.7" and python_version < "4.0" \
--hash=sha256:d1087f45781c0e00616479bfd282c78504371ca71da017b49df9f5365a95feba \
--hash=sha256:1c2939be362a70c4e5f02c6249462b3b7a24441e4f1ced5e9ef028172edf356a
cachy==0.3.0; python_version >= "3.7" and python_full_version < "3.0.0" and python_version < "4.0" or python_version >= "3.7" and python_version < "4.0" and python_full_version >= "3.4.0" \
--hash=sha256:338ca09c8860e76b275aff52374330efedc4d5a5e45dc1c5b539c1ead0786fe7 \
--hash=sha256:186581f4ceb42a0bbe040c407da73c14092379b1e4c0e327fdb72ae4a9b269b1
Expand Down

0 comments on commit e6f0a15

Please sign in to comment.