"Unable to select packages: python3-3.11.9-r0" error when installing mitmproxy
Package Information
- Package name: mitmproxy
- Package version: mitmproxy-10.2.0-r0
- Alpine version: 3.19.1
- Alpine architecture: x86_64
Summary
We are getting the following error when trying to install mitmproxy
:
ERROR: unable to select packages:
python3-3.11.9-r0:
breaks: mitmproxy-10.2.0-r0[python3~3.12] py3-mitmproxy-rs-0.5.1-r0[python3~3.12] py3-publicsuffix2-2.20191221-r5[python3~3.12]
satisfies: world[python3] py3-zstandard-0.21.0-r2[python3] py3-zstandard-0.21.0-r2[python3~3.11] py3-charset-normalizer-3.3.2-r0[python3] py3-charset-normalizer-3.3.2-r0[python3~3.11]
py3-urllib3-1.26.18-r0[python3] py3-urllib3-1.26.18-r0[python3~3.11] py3-sortedcontainers-2.4.0-r4[python3] py3-sortedcontainers-2.4.0-r4[python3~3.11]
py3-ldap3-2.9.1-r2[python3] py3-ldap3-2.9.1-r2[python3~3.11] py3-requests-2.31.0-r1[python3] py3-requests-2.31.0-r1[python3~3.11] py3-openssl-23.3.0-r0[python3]
py3-openssl-23.3.0-r0[python3~3.11] python3-3.11.9-r0[python3~3.11] py3-werkzeug-2.3.8-r0[python3] py3-werkzeug-2.3.8-r0[python3~3.11] py3-h2-4.1.0-r2[python3]
py3-h2-4.1.0-r2[python3~3.11] py3-msgpack-1.0.7-r0[python3] py3-msgpack-1.0.7-r0[python3~3.11] py3-cryptography-41.0.7-r0[python3] py3-cryptography-41.0.7-r0[python3~3.11]
py3-idna-3.7-r0[python3] py3-idna-3.7-r0[python3~3.11] py3-blinker-1.6.2-r1[python3] py3-blinker-1.6.2-r1[python3~3.11] py3-service_identity-23.1.0-r0[python3~3.11]
py3-publicsuffix2-2.20191221-r5[python3] py3-click-8.1.7-r0[python3~3.11] py3-pyperclip-1.8.2-r2[python3] py3-pyperclip-1.8.2-r2[python3~3.11]
py3-itsdangerous-2.1.2-r3[python3] py3-itsdangerous-2.1.2-r3[python3~3.11] py3-h11-0.14.0-r3[python3] py3-h11-0.14.0-r3[python3~3.11] py3-ruamel.yaml.clib-0.2.7-r1[python3]
py3-ruamel.yaml.clib-0.2.7-r1[python3~3.11] py3-tornado-6.4-r0[python3] py3-tornado-6.4-r0[python3~3.11] py3-markupsafe-2.1.3-r0[python3]
py3-markupsafe-2.1.3-r0[python3~3.11] py3-flask-2.3.3-r0[python3] py3-flask-2.3.3-r0[python3~3.11] py3-parsing-3.1.1-r0[python3] py3-parsing-3.1.1-r0[python3~3.11]
py3-kaitaistruct-0.10-r3[python3] py3-kaitaistruct-0.10-r3[python3~3.11] py3-urwid-2.2.3-r0[python3~3.11] py3-ruamel.yaml-0.17.28-r0[python3~3.11]
py3-pylsqpack-0.3.18-r0[python3~3.11] py3-cparser-2.21-r4[python3] py3-cparser-2.21-r4[python3~3.11] py3-hyperframe-6.0.1-r2[python3] py3-hyperframe-6.0.1-r2[python3~3.11]
py3-cffi-1.16.0-r0[python3~3.11] py3-wsproto-1.2.0-r2[python3] py3-wsproto-1.2.0-r2[python3~3.11] py3-attrs-23.1.0-r1[python3] py3-attrs-23.1.0-r1[python3~3.11]
py3-jinja2-3.1.2-r3[python3~3.11] py3-certifi-2024.2.2-r0[python3~3.11] py3-asn1-modules-0.3.0-r1[python3~3.11] py3-hpack-4.0.0-r7[python3] py3-hpack-4.0.0-r7[python3~3.11]
py3-asgiref-3.7.2-r0[python3~3.11] py3-passlib-1.7.4-r4[python3] py3-passlib-1.7.4-r4[python3~3.11] py3-aioquic-0.9.23-r0[python3~3.11] py3-asn1-0.5.1-r0[python3]
py3-asn1-0.5.1-r0[python3~3.11] py3-brotli-1.1.0-r1[python3~3.11] py3-protobuf-4.24.4-r0[python3~3.11]
From our understanding, this could be due to the move from Python 3.11 to Python 3.12. Is this assumption correct? If so, a couple of further questions:
- What would be the next steps?
- Should the command from the steps to reproduce work out-of-the-box at a later time?
- When is it expected to start working again?
- Are there any known workarounds?
Lastly, as we are somewhat new to Alpine, a few general questions... Has this issue occurred because the mitmproxy
application is still in "testing" repository or can it happen for production-ready application packages as well? Are there any plans on moving mitmproxy
to the "main" repository?
We are very grateful for any info. Thank you.
Steps to reproduce
Execute the following command either in Dockerfile or in console:
apk add --repository=https://dl-cdn.alpinelinux.org/alpine/edge/testing mitmproxy
- Expected behavior:
mitmproxy
installed and in working order - Observed behavior: The error "unable to select packages" is displayed