poetry: AssertionError from Poetry install

  • Poetry version: 1.2.1
  • Python version: 3.8.10
  • OS version and name: macOS 12.6
  • pyproject.toml:
[tool.poetry]
name = ""
version = "0.1.0"
description = ""
authors = []
readme = "README.md"
packages = []

[tool.poetry.dependencies]
python = "^3.8"
click = "8.1.3"
hvac = "0.9.2"
uvloop = "0.14.0"
protobuf = "3.20.2"
prometheus-async = "18.3.0"
prometheus-client = "0.2.0"
sanic-validation = "0.4.4"
urllib3 = "1.26.9"
sanic = "20.12.6"
monzo-cli = { path = "wheels/Monzo_CLI-1.1.0-py3-none-any.whl" }
detect-secrets = "0.12.7"

[tool.poetry.group.test.dependencies]
multidict = "5.0.0"
pytest = "5.3.1"
pytest-sanic = "1.1.2"
mock = "3.0.5"

[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"

  • I am on the latest stable Poetry version, installed using a recommended method.
  • I have searched the issues of this repo and believe that this is not a duplicate.
  • I have consulted the FAQ and blog for any relevant entries or release notes.
  • If an exception occurs when executing a command, I executed it again in debug mode (-vvv option) and have included the output below.

Issue

Hey πŸ‘‹πŸ»

I have a Docker image which runs poetry install and this works completely fine on my local machine (M1 MacBook) but for some reason fails occasionally on my production build pipeline (running on Linux x86_64). I can’t seem to figure out why it’s happening, so was wondering if anyone here might have an idea?

Dockerfile:

FROM ubuntu:20.04

# Poetry configuration
ENV POETRY_VERSION=1.2.1 \
    POETRY_HOME="/opt/poetry" \
    POETRY_VIRTUALENVS_IN_PROJECT=true \
    POETRY_INSTALLER_MAX_WORKERS=10

ENV PATH="$PATH:$POETRY_HOME/bin"

WORKDIR /app

RUN apt-get update
RUN apt-get install -y --no-install-recommends \
    build-essential \
    curl \
    python3.8-dev \
    python3-pip \
    python3-setuptools

RUN curl -sSL https://install.python-poetry.org | python -

# Install dependencies
COPY pyproject.toml poetry.lock ./
COPY ./wheels wheels
RUN poetry install -vvv

COPY ./gen gen
COPY ./src src
COPY ./cli.py cli.py
COPY ./tests tests

ENTRYPOINT ["/app/.venv/bin/python3.8", "cli.py"]

Stack trace from poetry install -vvv:

Step 6/17 : RUN poetry install -vvv
 ---> Running in 5904c33a9b37
Using virtualenv: /app/.venv
Project environment contains an empty path in sys_path, ignoring.
Installing dependencies from lock file
Finding the necessary packages for the current system
Package operations: 22 installs, 7 updates, 0 removals, 22 skipped
  β€’ Updating charset-normalizer (2.0.12 -> 2.1.1)
  β€’ Installing frozenlist (1.3.1)
  β€’ Updating multidict (5.2.0 -> 5.0.0)
[keyring.backend] Loading KWallet
[keyring.backend] Loading KWallet
[keyring.backend] Loading KWallet
[keyring.backend] Loading SecretService
[keyring.backend] Loading SecretService
[keyring.backend] Loading SecretService
[keyring.backend] Loading Windows
[keyring.backend] Loading Windows
[keyring.backend] Loading Windows
[keyring.backend] Loading chainer
[keyring.backend] Loading chainer
[keyring.backend] Loading chainer
[keyring.backend] Loading libsecret
[keyring.backend] Loading libsecret
[keyring.backend] Loading libsecret
[keyring.backend] Loading macOS
[keyring.backend] Loading macOS
[keyring.backend] Loading macOS
No suitable keyring backend found
No suitable keyring backend found
No suitable keyring backends were found
No suitable keyring backend found
No suitable keyring backends were found
Keyring is not available, credentials will be stored and retrieved from configuration files as plaintext.
No suitable keyring backends were found
Keyring is not available, credentials will be stored and retrieved from configuration files as plaintext.
Creating new session for pypi.org
Keyring is not available, credentials will be stored and retrieved from configuration files as plaintext.
Creating new session for pypi.org
[urllib3.connectionpool] Starting new HTTPS connection (1): pypi.org:443
[urllib3.connectionpool] Starting new HTTPS connection (1): pypi.org:443
[urllib3.connectionpool] Starting new HTTPS connection (2): pypi.org:443
[urllib3.connectionpool] https://pypi.org:443 "GET /pypi/charset-normalizer/2.1.1/json HTTP/1.1" 200 5568
[urllib3.connectionpool] https://pypi.org:443 "GET /pypi/multidict/5.0.0/json HTTP/1.1" 200 6804
[urllib3.connectionpool] https://pypi.org:443 "GET /pypi/frozenlist/1.3.1/json HTTP/1.1" 200 10443
Skipping wheel multidict-5.0.0-cp36-cp36m-macosx_10_14_x86_64.whl as this is not supported by the current environment
Skipping wheel multidict-5.0.0-cp36-cp36m-manylinux1_i686.whl as this is not supported by the current environment
Skipping wheel multidict-5.0.0-cp36-cp36m-manylinux2014_aarch64.whl as this is not supported by the current environment
No suitable keyring backend found
Skipping wheel multidict-5.0.0-cp36-cp36m-manylinux2014_i686.whl as this is not supported by the current environment
No suitable keyring backends were found
Skipping wheel multidict-5.0.0-cp36-cp36m-manylinux2014_ppc64le.whl as this is not supported by the current environment
Keyring is not available, credentials will be stored and retrieved from configuration files as plaintext.
Skipping wheel multidict-5.0.0-cp36-cp36m-manylinux2014_s390x.whl as this is not supported by the current environment
Creating new session for files.pythonhosted.org
Skipping wheel multidict-5.0.0-cp36-cp36m-manylinux2014_x86_64.whl as this is not supported by the current environment
Skipping wheel multidict-5.0.0-cp36-cp36m-win_amd64.whl as this is not supported by the current environment
Skipping wheel multidict-5.0.0-cp37-cp37m-macosx_10_14_x86_64.whl as this is not supported by the current environment
Skipping wheel multidict-5.0.0-cp37-cp37m-manylinux1_i686.whl as this is not supported by the current environment
[urllib3.connectionpool] Starting new HTTPS connection (1): files.pythonhosted.org:443
Skipping wheel multidict-5.0.0-cp37-cp37m-manylinux2014_aarch64.whl as this is not supported by the current environment
Skipping wheel multidict-5.0.0-cp37-cp37m-manylinux2014_i686.whl as this is not supported by the current environment
Skipping wheel multidict-5.0.0-cp37-cp37m-manylinux2014_ppc64le.whl as this is not supported by the current environment
Skipping wheel multidict-5.0.0-cp37-cp37m-manylinux2014_s390x.whl as this is not supported by the current environment
Skipping wheel multidict-5.0.0-cp37-cp37m-manylinux2014_x86_64.whl as this is not supported by the current environment
Skipping wheel multidict-5.0.0-cp37-cp37m-win_amd64.whl as this is not supported by the current environment
Skipping wheel multidict-5.0.0-cp38-cp38-macosx_10_14_x86_64.whl as this is not supported by the current environment
Skipping wheel multidict-5.0.0-cp38-cp38-manylinux1_i686.whl as this is not supported by the current environment
Skipping wheel multidict-5.0.0-cp38-cp38-manylinux2014_aarch64.whl as this is not supported by the current environment
Skipping wheel multidict-5.0.0-cp38-cp38-manylinux2014_i686.whl as this is not supported by the current environment
Skipping wheel multidict-5.0.0-cp38-cp38-manylinux2014_ppc64le.whl as this is not supported by the current environment
Skipping wheel multidict-5.0.0-cp38-cp38-manylinux2014_s390x.whl as this is not supported by the current environment
Skipping wheel multidict-5.0.0-cp38-cp38-win_amd64.whl as this is not supported by the current environment
Skipping wheel multidict-5.0.0-cp39-cp39-macosx_10_14_x86_64.whl as this is not supported by the current environment
Skipping wheel multidict-5.0.0-cp39-cp39-manylinux1_i686.whl as this is not supported by the current environment
Skipping wheel frozenlist-1.3.1-cp310-cp310-macosx_10_9_universal2.whl as this is not supported by the current environment
Skipping wheel multidict-5.0.0-cp39-cp39-manylinux2014_aarch64.whl as this is not supported by the current environment
Skipping wheel frozenlist-1.3.1-cp310-cp310-macosx_10_9_x86_64.whl as this is not supported by the current environment
Skipping wheel multidict-5.0.0-cp39-cp39-manylinux2014_i686.whl as this is not supported by the current environment
Skipping wheel frozenlist-1.3.1-cp310-cp310-macosx_11_0_arm64.whl as this is not supported by the current environment
Skipping wheel multidict-5.0.0-cp39-cp39-manylinux2014_ppc64le.whl as this is not supported by the current environment
Skipping wheel frozenlist-1.3.1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl as this is not supported by the current environment
Skipping wheel multidict-5.0.0-cp39-cp39-manylinux2014_s390x.whl as this is not supported by the current environment
Skipping wheel frozenlist-1.3.1-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl as this is not supported by the current environment
Skipping wheel multidict-5.0.0-cp39-cp39-manylinux2014_x86_64.whl as this is not supported by the current environment
Skipping wheel frozenlist-1.3.1-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl as this is not supported by the current environment
Skipping wheel multidict-5.0.0-cp39-cp39-win_amd64.whl as this is not supported by the current environment
Skipping wheel frozenlist-1.3.1-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl as this is not supported by the current environment
Skipping wheel frozenlist-1.3.1-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl as this is not supported by the current environment
Skipping wheel frozenlist-1.3.1-cp310-cp310-musllinux_1_1_aarch64.whl as this is not supported by the current environment
Skipping wheel frozenlist-1.3.1-cp310-cp310-musllinux_1_1_i686.whl as this is not supported by the current environment
[urllib3.connectionpool] Starting new HTTPS connection (2): files.pythonhosted.org:443
Skipping wheel frozenlist-1.3.1-cp310-cp310-musllinux_1_1_ppc64le.whl as this is not supported by the current environment
Skipping wheel frozenlist-1.3.1-cp310-cp310-musllinux_1_1_s390x.whl as this is not supported by the current environment
Skipping wheel frozenlist-1.3.1-cp310-cp310-musllinux_1_1_x86_64.whl as this is not supported by the current environment
Skipping wheel frozenlist-1.3.1-cp310-cp310-win32.whl as this is not supported by the current environment
Skipping wheel frozenlist-1.3.1-cp310-cp310-win_amd64.whl as this is not supported by the current environment
Skipping wheel frozenlist-1.3.1-cp37-cp37m-macosx_10_9_x86_64.whl as this is not supported by the current environment
Skipping wheel frozenlist-1.3.1-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl as this is not supported by the current environment
Skipping wheel frozenlist-1.3.1-cp37-cp37m-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl as this is not supported by the current environment
Skipping wheel frozenlist-1.3.1-cp37-cp37m-manylinux_2_17_s390x.manylinux2014_s390x.whl as this is not supported by the current environment
Skipping wheel frozenlist-1.3.1-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl as this is not supported by the current environment
Skipping wheel frozenlist-1.3.1-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl as this is not supported by the current environment
Skipping wheel frozenlist-1.3.1-cp37-cp37m-musllinux_1_1_aarch64.whl as this is not supported by the current environment
Skipping wheel frozenlist-1.3.1-cp37-cp37m-musllinux_1_1_i686.whl as this is not supported by the current environment
Skipping wheel frozenlist-1.3.1-cp37-cp37m-musllinux_1_1_ppc64le.whl as this is not supported by the current environment
Skipping wheel frozenlist-1.3.1-cp37-cp37m-musllinux_1_1_s390x.whl as this is not supported by the current environment
Skipping wheel frozenlist-1.3.1-cp37-cp37m-musllinux_1_1_x86_64.whl as this is not supported by the current environment
Skipping wheel frozenlist-1.3.1-cp37-cp37m-win32.whl as this is not supported by the current environment
Skipping wheel frozenlist-1.3.1-cp37-cp37m-win_amd64.whl as this is not supported by the current environment
Skipping wheel frozenlist-1.3.1-cp38-cp38-macosx_10_9_universal2.whl as this is not supported by the current environment
Skipping wheel frozenlist-1.3.1-cp38-cp38-macosx_10_9_x86_64.whl as this is not supported by the current environment
Skipping wheel frozenlist-1.3.1-cp38-cp38-macosx_11_0_arm64.whl as this is not supported by the current environment
Skipping wheel frozenlist-1.3.1-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl as this is not supported by the current environment
Skipping wheel frozenlist-1.3.1-cp38-cp38-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl as this is not supported by the current environment
Skipping wheel frozenlist-1.3.1-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl as this is not supported by the current environment
Skipping wheel frozenlist-1.3.1-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl as this is not supported by the current environment
Skipping wheel frozenlist-1.3.1-cp38-cp38-musllinux_1_1_aarch64.whl as this is not supported by the current environment
Skipping wheel frozenlist-1.3.1-cp38-cp38-musllinux_1_1_i686.whl as this is not supported by the current environment
Skipping wheel frozenlist-1.3.1-cp38-cp38-musllinux_1_1_ppc64le.whl as this is not supported by the current environment
Skipping wheel frozenlist-1.3.1-cp38-cp38-musllinux_1_1_s390x.whl as this is not supported by the current environment
Skipping wheel frozenlist-1.3.1-cp38-cp38-musllinux_1_1_x86_64.whl as this is not supported by the current environment
Skipping wheel frozenlist-1.3.1-cp38-cp38-win32.whl as this is not supported by the current environment
Skipping wheel frozenlist-1.3.1-cp38-cp38-win_amd64.whl as this is not supported by the current environment
Skipping wheel frozenlist-1.3.1-cp39-cp39-macosx_10_9_universal2.whl as this is not supported by the current environment
Skipping wheel frozenlist-1.3.1-cp39-cp39-macosx_10_9_x86_64.whl as this is not supported by the current environment
Skipping wheel frozenlist-1.3.1-cp39-cp39-macosx_11_0_arm64.whl as this is not supported by the current environment
Skipping wheel frozenlist-1.3.1-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl as this is not supported by the current environment
Skipping wheel frozenlist-1.3.1-cp39-cp39-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl as this is not supported by the current environment
Skipping wheel frozenlist-1.3.1-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl as this is not supported by the current environment
Skipping wheel frozenlist-1.3.1-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl as this is not supported by the current environment
Skipping wheel frozenlist-1.3.1-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl as this is not supported by the current environment
Skipping wheel frozenlist-1.3.1-cp39-cp39-musllinux_1_1_aarch64.whl as this is not supported by the current environment
Skipping wheel frozenlist-1.3.1-cp39-cp39-musllinux_1_1_i686.whl as this is not supported by the current environment
Skipping wheel frozenlist-1.3.1-cp39-cp39-musllinux_1_1_ppc64le.whl as this is not supported by the current environment
Skipping wheel frozenlist-1.3.1-cp39-cp39-musllinux_1_1_s390x.whl as this is not supported by the current environment
Skipping wheel frozenlist-1.3.1-cp39-cp39-musllinux_1_1_x86_64.whl as this is not supported by the current environment
Skipping wheel frozenlist-1.3.1-cp39-cp39-win32.whl as this is not supported by the current environment
Skipping wheel frozenlist-1.3.1-cp39-cp39-win_amd64.whl as this is not supported by the current environment
[urllib3.connectionpool] Starting new HTTPS connection (3): files.pythonhosted.org:443
[urllib3.connectionpool] https://files.pythonhosted.org:443 "GET /packages/90/2b/8d84de72677a74f37d866d66ea8ad7f27c1b56314d775180cefd458f021c/multidict-5.0.0-cp38-cp38-manylinux2014_x86_64.whl HTTP/1.1" 200 159238
[urllib3.connectionpool] https://files.pythonhosted.org:443 "GET /packages/db/51/a507c856293ab05cdc1db77ff4bc1268ddd39f29e7dc4919aa497f0adbec/charset_normalizer-2.1.1-py3-none-any.whl HTTP/1.1" 200 39748
[urllib3.connectionpool] https://files.pythonhosted.org:443 "GET /packages/29/ec/5715f872eac10ba488a389f0f2680dafa94f115b823b3ed1cdea31026297/frozenlist-1.3.1-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl HTTP/1.1" 200 161285
  β€’ Installing aiosignal (1.2.0)
  β€’ Installing async-timeout (4.0.2)
  β€’ Installing more-itertools (8.14.0)
  β€’ Installing pluggy (0.13.1)
  β€’ Installing py (1.11.0)
  β€’ Installing attrs (22.1.0)
[urllib3.connectionpool] Starting new HTTPS connection (2): pypi.org:443
  β€’ Updating requests (2.26.0 -> 2.28.1)
  β€’ Installing yarl (1.8.1)
  β€’ Installing wcwidth (0.2.5)
[urllib3.connectionpool] Starting new HTTPS connection (3): pypi.org:443
[urllib3.connectionpool] Starting new HTTPS connection (4): pypi.org:443
[urllib3.connectionpool] Starting new HTTPS connection (5): pypi.org:443
[urllib3.connectionpool] Starting new HTTPS connection (6): pypi.org:443
[urllib3.connectionpool] Starting new HTTPS connection (7): pypi.org:443
[urllib3.connectionpool] Starting new HTTPS connection (8): pypi.org:443
[urllib3.connectionpool] Starting new HTTPS connection (9): pypi.org:443
[urllib3.connectionpool] https://pypi.org:443 "GET /pypi/more-itertools/8.14.0/json HTTP/1.1" 200 3904
[urllib3.connectionpool] https://files.pythonhosted.org:443 "GET /packages/0b/ff/1ad78678bee731ae5414ea5e97396b3f91de32186028daa614d322ac5a8b/more_itertools-8.14.0-py3-none-any.whl HTTP/1.1" 200 52193
[urllib3.connectionpool] https://pypi.org:443 "GET /pypi/async-timeout/4.0.2/json HTTP/1.1" 200 2341
[urllib3.connectionpool] https://pypi.org:443 "GET /pypi/attrs/22.1.0/json HTTP/1.1" 200 4628
[urllib3.connectionpool] https://pypi.org:443 "GET /pypi/pluggy/0.13.1/json HTTP/1.1" 200 5602
[urllib3.connectionpool] https://files.pythonhosted.org:443 "GET /packages/d6/c1/8991e7c5385b897b8c020cdaad718c5b087a6626d1d11a23e1ea87e325a7/async_timeout-4.0.2-py3-none-any.whl HTTP/1.1" 200 5763
[urllib3.connectionpool] https://pypi.org:443 "GET /pypi/wcwidth/0.2.5/json HTTP/1.1" 200 5008
[urllib3.connectionpool] https://pypi.org:443 "GET /pypi/py/1.11.0/json HTTP/1.1" 200 1750
[urllib3.connectionpool] https://pypi.org:443 "GET /pypi/requests/2.28.1/json HTTP/1.1" 200 2645
[urllib3.connectionpool] https://pypi.org:443 "GET /pypi/aiosignal/1.2.0/json HTTP/1.1" 200 2735
[urllib3.connectionpool] https://pypi.org:443 "GET /pypi/yarl/1.8.1/json HTTP/1.1" 200 16409
[urllib3.connectionpool] https://files.pythonhosted.org:443 "GET /packages/a0/28/85c7aa31b80d150b772fbe4a229487bc6644da9ccb7e427dd8cc60cb8a62/pluggy-0.13.1-py2.py3-none-any.whl HTTP/1.1" 200 18077
[urllib3.connectionpool] https://files.pythonhosted.org:443 "GET /packages/f2/bc/d817287d1aa01878af07c19505fafd1165cd6a119e9d0821ca1d1c20312d/attrs-22.1.0-py2.py3-none-any.whl HTTP/1.1" 200 58795
[urllib3.connectionpool] https://files.pythonhosted.org:443 "GET /packages/3b/87/fe94898f2d44a93a35d5aa74671ed28094d80753a1113d68b799fab6dc22/aiosignal-1.2.0-py3-none-any.whl HTTP/1.1" 200 8221
[urllib3.connectionpool] Starting new HTTPS connection (4): files.pythonhosted.org:443
[urllib3.connectionpool] Starting new HTTPS connection (5): files.pythonhosted.org:443
[urllib3.connectionpool] Starting new HTTPS connection (6): files.pythonhosted.org:443
Skipping wheel yarl-1.8.1-cp310-cp310-macosx_10_9_universal2.whl as this is not supported by the current environment
Skipping wheel yarl-1.8.1-cp310-cp310-macosx_10_9_x86_64.whl as this is not supported by the current environment
Skipping wheel yarl-1.8.1-cp310-cp310-macosx_11_0_arm64.whl as this is not supported by the current environment
Skipping wheel yarl-1.8.1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl as this is not supported by the current environment
Skipping wheel yarl-1.8.1-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl as this is not supported by the current environment
Skipping wheel yarl-1.8.1-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl as this is not supported by the current environment
Skipping wheel yarl-1.8.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl as this is not supported by the current environment
Skipping wheel yarl-1.8.1-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl as this is not supported by the current environment
Skipping wheel yarl-1.8.1-cp310-cp310-musllinux_1_1_aarch64.whl as this is not supported by the current environment
Skipping wheel yarl-1.8.1-cp310-cp310-musllinux_1_1_i686.whl as this is not supported by the current environment
Skipping wheel yarl-1.8.1-cp310-cp310-musllinux_1_1_ppc64le.whl as this is not supported by the current environment
Skipping wheel yarl-1.8.1-cp310-cp310-musllinux_1_1_s390x.whl as this is not supported by the current environment
Skipping wheel yarl-1.8.1-cp310-cp310-musllinux_1_1_x86_64.whl as this is not supported by the current environment
Skipping wheel yarl-1.8.1-cp310-cp310-win32.whl as this is not supported by the current environment
Skipping wheel yarl-1.8.1-cp310-cp310-win_amd64.whl as this is not supported by the current environment
Skipping wheel yarl-1.8.1-cp37-cp37m-macosx_10_9_x86_64.whl as this is not supported by the current environment
Skipping wheel yarl-1.8.1-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl as this is not supported by the current environment
Skipping wheel yarl-1.8.1-cp37-cp37m-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl as this is not supported by the current environment
Skipping wheel yarl-1.8.1-cp37-cp37m-manylinux_2_17_s390x.manylinux2014_s390x.whl as this is not supported by the current environment
Skipping wheel yarl-1.8.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl as this is not supported by the current environment
Skipping wheel yarl-1.8.1-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl as this is not supported by the current environment
Skipping wheel yarl-1.8.1-cp37-cp37m-musllinux_1_1_aarch64.whl as this is not supported by the current environment
Skipping wheel yarl-1.8.1-cp37-cp37m-musllinux_1_1_i686.whl as this is not supported by the current environment
Skipping wheel yarl-1.8.1-cp37-cp37m-musllinux_1_1_ppc64le.whl as this is not supported by the current environment
Skipping wheel yarl-1.8.1-cp37-cp37m-musllinux_1_1_s390x.whl as this is not supported by the current environment
Skipping wheel yarl-1.8.1-cp37-cp37m-musllinux_1_1_x86_64.whl as this is not supported by the current environment
Skipping wheel yarl-1.8.1-cp37-cp37m-win32.whl as this is not supported by the current environment
Skipping wheel yarl-1.8.1-cp37-cp37m-win_amd64.whl as this is not supported by the current environment
Skipping wheel yarl-1.8.1-cp38-cp38-macosx_10_9_universal2.whl as this is not supported by the current environment
Skipping wheel yarl-1.8.1-cp38-cp38-macosx_10_9_x86_64.whl as this is not supported by the current environment
Skipping wheel yarl-1.8.1-cp38-cp38-macosx_11_0_arm64.whl as this is not supported by the current environment
[urllib3.connectionpool] https://files.pythonhosted.org:443 "GET /packages/59/7c/e39aca596badaf1b78e8f547c807b04dae603a433d3e7a7e04d67f2ef3e5/wcwidth-0.2.5-py2.py3-none-any.whl HTTP/1.1" 200 30763
[urllib3.connectionpool] https://files.pythonhosted.org:443 "GET /packages/f6/f0/10642828a8dfb741e5f3fbaac830550a518a775c7fff6f04a007259b0548/py-1.11.0-py2.py3-none-any.whl HTTP/1.1" 200 98708
Skipping wheel yarl-1.8.1-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl as this is not supported by the current environment
[urllib3.connectionpool] https://files.pythonhosted.org:443 "GET /packages/ca/91/6d9b8ccacd0412c08820f72cebaa4f0c0441b5cda699c90f618b6f8a1b42/requests-2.28.1-py3-none-any.whl HTTP/1.1" 200 62843
Skipping wheel yarl-1.8.1-cp38-cp38-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl as this is not supported by the current environment
Skipping wheel yarl-1.8.1-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl as this is not supported by the current environment
Skipping wheel yarl-1.8.1-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl as this is not supported by the current environment
Skipping wheel yarl-1.8.1-cp38-cp38-musllinux_1_1_aarch64.whl as this is not supported by the current environment
Skipping wheel yarl-1.8.1-cp38-cp38-musllinux_1_1_i686.whl as this is not supported by the current environment
Skipping wheel yarl-1.8.1-cp38-cp38-musllinux_1_1_ppc64le.whl as this is not supported by the current environment
Skipping wheel yarl-1.8.1-cp38-cp38-musllinux_1_1_s390x.whl as this is not supported by the current environment
Skipping wheel yarl-1.8.1-cp38-cp38-musllinux_1_1_x86_64.whl as this is not supported by the current environment
Skipping wheel yarl-1.8.1-cp38-cp38-win32.whl as this is not supported by the current environment
Skipping wheel yarl-1.8.1-cp38-cp38-win_amd64.whl as this is not supported by the current environment
Skipping wheel yarl-1.8.1-cp39-cp39-macosx_10_9_universal2.whl as this is not supported by the current environment
Skipping wheel yarl-1.8.1-cp39-cp39-macosx_10_9_x86_64.whl as this is not supported by the current environment
Skipping wheel yarl-1.8.1-cp39-cp39-macosx_11_0_arm64.whl as this is not supported by the current environment
Skipping wheel yarl-1.8.1-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl as this is not supported by the current environment
Skipping wheel yarl-1.8.1-cp39-cp39-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl as this is not supported by the current environment
Skipping wheel yarl-1.8.1-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl as this is not supported by the current environment
Skipping wheel yarl-1.8.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl as this is not supported by the current environment
Skipping wheel yarl-1.8.1-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl as this is not supported by the current environment
Skipping wheel yarl-1.8.1-cp39-cp39-musllinux_1_1_aarch64.whl as this is not supported by the current environment
Skipping wheel yarl-1.8.1-cp39-cp39-musllinux_1_1_i686.whl as this is not supported by the current environment
Skipping wheel yarl-1.8.1-cp39-cp39-musllinux_1_1_ppc64le.whl as this is not supported by the current environment
Skipping wheel yarl-1.8.1-cp39-cp39-musllinux_1_1_s390x.whl as this is not supported by the current environment
Skipping wheel yarl-1.8.1-cp39-cp39-musllinux_1_1_x86_64.whl as this is not supported by the current environment
Skipping wheel yarl-1.8.1-cp39-cp39-win32.whl as this is not supported by the current environment
Skipping wheel yarl-1.8.1-cp39-cp39-win_amd64.whl as this is not supported by the current environment
[urllib3.connectionpool] https://files.pythonhosted.org:443 "GET /packages/dd/cf/5e7d506b9b5add77548252d6938380e08caf59ba808ac3cf0f0635629d1a/yarl-1.8.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl HTTP/1.1" 200 262080
  β€’ Installing aiohttp (3.8.3)
  β€’ Installing async-generator (1.10)
  β€’ Installing click-log (0.2.1)
  β€’ Installing iso8601 (1.1.0)
  β€’ Updating prometheus-client (0.8.0 -> 0.2.0)
  β€’ Installing future (0.18.2)
  β€’ Installing requests-toolbelt (0.9.1)
  β€’ Installing pytest (5.3.1)
  β€’ Installing rfc3339 (6.2)
[urllib3.connectionpool] https://pypi.org:443 "GET /pypi/async-generator/1.10/json HTTP/1.1" 200 2479
[urllib3.connectionpool] https://pypi.org:443 "GET /pypi/future/0.18.2/json HTTP/1.1" 200 2045
[urllib3.connectionpool] https://pypi.org:443 "GET /pypi/prometheus-client/0.2.0/json HTTP/1.1" 200 969
[urllib3.connectionpool] https://pypi.org:443 "GET /pypi/aiohttp/3.8.3/json HTTP/1.1" 200 15470
[urllib3.connectionpool] https://pypi.org:443 "GET /pypi/pytest/5.3.1/json HTTP/1.1" 200 3261
[urllib3.connectionpool] https://pypi.org:443 "GET /pypi/iso8601/1.1.0/json HTTP/1.1" 200 4715
[urllib3.connectionpool] https://files.pythonhosted.org:443 "GET /packages/71/52/39d20e03abd0ac9159c162ec24b93fbcaa111e8400308f2465432495ca2b/async_generator-1.10-py3-none-any.whl HTTP/1.1" 200 18857
[urllib3.connectionpool] https://pypi.org:443 "GET /pypi/requests-toolbelt/0.9.1/json HTTP/1.1" 200 5672
[urllib3.connectionpool] https://pypi.org:443 "GET /pypi/rfc3339/6.2/json HTTP/1.1" 200 1097
[urllib3.connectionpool] https://pypi.org:443 "GET /pypi/click-log/0.2.1/json HTTP/1.1" 200 1221
[urllib3.connectionpool] https://files.pythonhosted.org:443 "GET /packages/a0/6d/de572493321a03f9a08a461210ccdb31023954f85d2fd6c6199d16139bf4/prometheus_client-0.2.0.tar.gz HTTP/1.1" 200 22264
[urllib3.connectionpool] https://files.pythonhosted.org:443 "GET /packages/da/ed/d22d7f06eb1107271694ed2171b9d52e8eea38d9757124e75ba13324ac77/pytest-5.3.1-py3-none-any.whl HTTP/1.1" 200 233882
Skipping wheel aiohttp-3.8.3-cp310-cp310-macosx_10_9_universal2.whl as this is not supported by the current environment
Skipping wheel aiohttp-3.8.3-cp310-cp310-macosx_10_9_x86_64.whl as this is not supported by the current environment
Skipping wheel aiohttp-3.8.3-cp310-cp310-macosx_11_0_arm64.whl as this is not supported by the current environment
Skipping wheel aiohttp-3.8.3-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl as this is not supported by the current environment
Skipping wheel aiohttp-3.8.3-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl as this is not supported by the current environment
Skipping wheel aiohttp-3.8.3-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl as this is not supported by the current environment
Skipping wheel aiohttp-3.8.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl as this is not supported by the current environment
Skipping wheel aiohttp-3.8.3-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl as this is not supported by the current environment
Skipping wheel aiohttp-3.8.3-cp310-cp310-musllinux_1_1_aarch64.whl as this is not supported by the current environment
Skipping wheel aiohttp-3.8.3-cp310-cp310-musllinux_1_1_i686.whl as this is not supported by the current environment
Skipping wheel aiohttp-3.8.3-cp310-cp310-musllinux_1_1_ppc64le.whl as this is not supported by the current environment
Skipping wheel aiohttp-3.8.3-cp310-cp310-musllinux_1_1_s390x.whl as this is not supported by the current environment
Skipping wheel aiohttp-3.8.3-cp310-cp310-musllinux_1_1_x86_64.whl as this is not supported by the current environment
Skipping wheel aiohttp-3.8.3-cp310-cp310-win32.whl as this is not supported by the current environment
Skipping wheel aiohttp-3.8.3-cp310-cp310-win_amd64.whl as this is not supported by the current environment
Skipping wheel aiohttp-3.8.3-cp311-cp311-macosx_10_9_universal2.whl as this is not supported by the current environment
Skipping wheel aiohttp-3.8.3-cp311-cp311-macosx_10_9_x86_64.whl as this is not supported by the current environment
Skipping wheel aiohttp-3.8.3-cp311-cp311-macosx_11_0_arm64.whl as this is not supported by the current environment
Skipping wheel aiohttp-3.8.3-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl as this is not supported by the current environment
Skipping wheel aiohttp-3.8.3-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl as this is not supported by the current environment
Skipping wheel aiohttp-3.8.3-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl as this is not supported by the current environment
Skipping wheel aiohttp-3.8.3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl as this is not supported by the current environment
Skipping wheel aiohttp-3.8.3-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl as this is not supported by the current environment
[urllib3.connectionpool] https://files.pythonhosted.org:443 "GET /packages/45/0b/38b06fd9b92dc2b68d58b75f900e97884c45bedd2ff83203d933cf5851c9/future-0.18.2.tar.gz HTTP/1.1" 200 829220
Skipping wheel aiohttp-3.8.3-cp311-cp311-musllinux_1_1_aarch64.whl as this is not supported by the current environment
[urllib3.connectionpool] https://files.pythonhosted.org:443 "GET /packages/65/6c/9d72435c72adfa6e4ed1824b6df7fffbeaaf15c653881e9b041a318ba572/iso8601-1.1.0-py3-none-any.whl HTTP/1.1" 200 9893
Skipping wheel aiohttp-3.8.3-cp311-cp311-musllinux_1_1_i686.whl as this is not supported by the current environment
[urllib3.connectionpool] Starting new HTTPS connection (7): files.pythonhosted.org:443
Skipping wheel aiohttp-3.8.3-cp311-cp311-musllinux_1_1_ppc64le.whl as this is not supported by the current environment
[urllib3.connectionpool] https://files.pythonhosted.org:443 "GET /packages/0f/2e/48d6cf57dec789c90a7b1cb59a21c3cad509f0ec1284632152f33bb1d88d/rfc3339-6.2-py3-none-any.whl HTTP/1.1" 200 5515
[urllib3.connectionpool] https://files.pythonhosted.org:443 "GET /packages/17/d9/d6f908f6b6a075b023ac248bcb2767e12758a93c7f336636f99356f1bd98/click_log-0.2.1-py2.py3-none-any.whl HTTP/1.1" 200 4686
Skipping wheel aiohttp-3.8.3-cp311-cp311-musllinux_1_1_s390x.whl as this is not supported by the current environment
Skipping wheel aiohttp-3.8.3-cp311-cp311-musllinux_1_1_x86_64.whl as this is not supported by the current environment
Skipping wheel aiohttp-3.8.3-cp311-cp311-win32.whl as this is not supported by the current environment
Skipping wheel aiohttp-3.8.3-cp311-cp311-win_amd64.whl as this is not supported by the current environment
Skipping wheel aiohttp-3.8.3-cp36-cp36m-macosx_10_9_x86_64.whl as this is not supported by the current environment
Skipping wheel aiohttp-3.8.3-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl as this is not supported by the current environment
Skipping wheel aiohttp-3.8.3-cp36-cp36m-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl as this is not supported by the current environment
Skipping wheel aiohttp-3.8.3-cp36-cp36m-manylinux_2_17_s390x.manylinux2014_s390x.whl as this is not supported by the current environment
Skipping wheel aiohttp-3.8.3-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl as this is not supported by the current environment
Skipping wheel aiohttp-3.8.3-cp36-cp36m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl as this is not supported by the current environment
Skipping wheel aiohttp-3.8.3-cp36-cp36m-musllinux_1_1_aarch64.whl as this is not supported by the current environment
Skipping wheel aiohttp-3.8.3-cp36-cp36m-musllinux_1_1_i686.whl as this is not supported by the current environment
Skipping wheel aiohttp-3.8.3-cp36-cp36m-musllinux_1_1_ppc64le.whl as this is not supported by the current environment
Skipping wheel aiohttp-3.8.3-cp36-cp36m-musllinux_1_1_s390x.whl as this is not supported by the current environment
Skipping wheel aiohttp-3.8.3-cp36-cp36m-musllinux_1_1_x86_64.whl as this is not supported by the current environment
Skipping wheel aiohttp-3.8.3-cp36-cp36m-win32.whl as this is not supported by the current environment
Skipping wheel aiohttp-3.8.3-cp36-cp36m-win_amd64.whl as this is not supported by the current environment
Skipping wheel aiohttp-3.8.3-cp37-cp37m-macosx_10_9_x86_64.whl as this is not supported by the current environment
Skipping wheel aiohttp-3.8.3-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl as this is not supported by the current environment
Skipping wheel aiohttp-3.8.3-cp37-cp37m-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl as this is not supported by the current environment
Skipping wheel aiohttp-3.8.3-cp37-cp37m-manylinux_2_17_s390x.manylinux2014_s390x.whl as this is not supported by the current environment
Skipping wheel aiohttp-3.8.3-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl as this is not supported by the current environment
Skipping wheel aiohttp-3.8.3-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl as this is not supported by the current environment
Skipping wheel aiohttp-3.8.3-cp37-cp37m-musllinux_1_1_aarch64.whl as this is not supported by the current environment
Skipping wheel aiohttp-3.8.3-cp37-cp37m-musllinux_1_1_i686.whl as this is not supported by the current environment
Skipping wheel aiohttp-3.8.3-cp37-cp37m-musllinux_1_1_ppc64le.whl as this is not supported by the current environment
Skipping wheel aiohttp-3.8.3-cp37-cp37m-musllinux_1_1_s390x.whl as this is not supported by the current environment
Skipping wheel aiohttp-3.8.3-cp37-cp37m-musllinux_1_1_x86_64.whl as this is not supported by the current environment
Skipping wheel aiohttp-3.8.3-cp37-cp37m-win32.whl as this is not supported by the current environment
Skipping wheel aiohttp-3.8.3-cp37-cp37m-win_amd64.whl as this is not supported by the current environment
Skipping wheel aiohttp-3.8.3-cp38-cp38-macosx_10_9_universal2.whl as this is not supported by the current environment
Skipping wheel aiohttp-3.8.3-cp38-cp38-macosx_10_9_x86_64.whl as this is not supported by the current environment
Skipping wheel aiohttp-3.8.3-cp38-cp38-macosx_11_0_arm64.whl as this is not supported by the current environment
Skipping wheel aiohttp-3.8.3-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl as this is not supported by the current environment
Skipping wheel aiohttp-3.8.3-cp38-cp38-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl as this is not supported by the current environment
Skipping wheel aiohttp-3.8.3-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl as this is not supported by the current environment
Skipping wheel aiohttp-3.8.3-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl as this is not supported by the current environment
Skipping wheel aiohttp-3.8.3-cp38-cp38-musllinux_1_1_aarch64.whl as this is not supported by the current environment
Skipping wheel aiohttp-3.8.3-cp38-cp38-musllinux_1_1_i686.whl as this is not supported by the current environment
Skipping wheel aiohttp-3.8.3-cp38-cp38-musllinux_1_1_ppc64le.whl as this is not supported by the current environment
Skipping wheel aiohttp-3.8.3-cp38-cp38-musllinux_1_1_s390x.whl as this is not supported by the current environment
Skipping wheel aiohttp-3.8.3-cp38-cp38-musllinux_1_1_x86_64.whl as this is not supported by the current environment
Skipping wheel aiohttp-3.8.3-cp38-cp38-win32.whl as this is not supported by the current environment
Skipping wheel aiohttp-3.8.3-cp38-cp38-win_amd64.whl as this is not supported by the current environment
Skipping wheel aiohttp-3.8.3-cp39-cp39-macosx_10_9_universal2.whl as this is not supported by the current environment
Skipping wheel aiohttp-3.8.3-cp39-cp39-macosx_10_9_x86_64.whl as this is not supported by the current environment
Skipping wheel aiohttp-3.8.3-cp39-cp39-macosx_11_0_arm64.whl as this is not supported by the current environment
Skipping wheel aiohttp-3.8.3-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl as this is not supported by the current environment
Skipping wheel aiohttp-3.8.3-cp39-cp39-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl as this is not supported by the current environment
Skipping wheel aiohttp-3.8.3-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl as this is not supported by the current environment
Skipping wheel aiohttp-3.8.3-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl as this is not supported by the current environment
[urllib3.connectionpool] https://files.pythonhosted.org:443 "GET /packages/60/ef/7681134338fc097acef8d9b2f8abe0458e4d87559c689a8c306d0957ece5/requests_toolbelt-0.9.1-py2.py3-none-any.whl HTTP/1.1" 200 54314
Skipping wheel aiohttp-3.8.3-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl as this is not supported by the current environment
Skipping wheel aiohttp-3.8.3-cp39-cp39-musllinux_1_1_aarch64.whl as this is not supported by the current environment
Skipping wheel aiohttp-3.8.3-cp39-cp39-musllinux_1_1_i686.whl as this is not supported by the current environment
Skipping wheel aiohttp-3.8.3-cp39-cp39-musllinux_1_1_ppc64le.whl as this is not supported by the current environment
Skipping wheel aiohttp-3.8.3-cp39-cp39-musllinux_1_1_s390x.whl as this is not supported by the current environment
Skipping wheel aiohttp-3.8.3-cp39-cp39-musllinux_1_1_x86_64.whl as this is not supported by the current environment
Skipping wheel aiohttp-3.8.3-cp39-cp39-win32.whl as this is not supported by the current environment
Skipping wheel aiohttp-3.8.3-cp39-cp39-win_amd64.whl as this is not supported by the current environment
[urllib3.connectionpool] https://files.pythonhosted.org:443 "GET /packages/af/d6/248ad502c6049011e7851e1474dd0a58175895388bed15f7f67dcb9187d9/aiohttp-3.8.3-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl HTTP/1.1" 200 1038098
  β€’ Installing aiofiles (22.1.0): Skipped for the following reason: Already installed
  β€’ Installing cerberus (1.3.4): Skipped for the following reason: Already installed
  β€’ Installing click (8.1.3): Skipped for the following reason: Already installed
  β€’ Installing certifi (2022.9.24): Skipped for the following reason: Already installed
  β€’ Installing httpcore (0.11.1): Skipped for the following reason: Already installed
  β€’ Installing httptools (0.5.0): Skipped for the following reason: Already installed
  β€’ Installing h11 (0.9.0): Skipped for the following reason: Already installed
  β€’ Installing idna (3.4): Skipped for the following reason: Already installed
  β€’ Installing mock (3.0.5)
  β€’ Installing monzo-cli (1.1.0 /app/wheels/Monzo_CLI-1.1.0-py3-none-any.whl)
  β€’ Updating prometheus-async (19.2.0 -> 18.3.0)
  β€’ Updating protobuf (3.20.3 -> 3.20.2)
  β€’ Installing detect-secrets (0.12.7)
  β€’ Installing httpx (0.15.4): Skipped for the following reason: Already installed
  β€’ Installing hvac (0.9.2)
  β€’ Installing pyparsing (3.0.9): Skipped for the following reason: Already installed
  β€’ Installing pyyaml (6.0): Skipped for the following reason: Already installed
  β€’ Installing packaging (21.3): Skipped for the following reason: Already installed
  β€’ Installing pytest-sanic (1.1.2)
  β€’ Installing rfc3986 (1.5.0): Skipped for the following reason: Already installed
  β€’ Installing sanic (20.12.6): Skipped for the following reason: Already installed
  β€’ Installing setuptools (65.4.1): Skipped for the following reason: Already installed
  β€’ Installing six (1.16.0): Skipped for the following reason: Already installed
  β€’ Installing sniffio (1.3.0): Skipped for the following reason: Already installed
  β€’ Installing ujson (5.5.0): Skipped for the following reason: Already installed
  β€’ Installing urllib3 (1.26.9): Skipped for the following reason: Already installed
  β€’ Installing uvloop (0.14.0): Skipped for the following reason: Already installed
  β€’ Installing websockets (9.1): Skipped for the following reason: Already installed
  β€’ Installing wrapt (1.14.1): Skipped for the following reason: Already installed
  β€’ Updating sanic-validation (0.5.1 -> 0.4.4)
[urllib3.connectionpool] https://pypi.org:443 "GET /pypi/protobuf/3.20.2/json HTTP/1.1" 200 3849
Skipping wheel protobuf-3.20.2-cp310-cp310-manylinux2014_aarch64.whl as this is not supported by the current environment
Skipping wheel protobuf-3.20.2-cp310-cp310-manylinux_2_12_x86_64.manylinux2010_x86_64.whl as this is not supported by the current environment
Skipping wheel protobuf-3.20.2-cp310-cp310-win32.whl as this is not supported by the current environment
Skipping wheel protobuf-3.20.2-cp310-cp310-win_amd64.whl as this is not supported by the current environment
Skipping wheel protobuf-3.20.2-cp36-cp36m-manylinux_2_5_x86_64.manylinux1_x86_64.whl as this is not supported by the current environment
Skipping wheel protobuf-3.20.2-cp37-cp37m-macosx_10_9_x86_64.whl as this is not supported by the current environment
Skipping wheel protobuf-3.20.2-cp37-cp37m-manylinux2014_aarch64.whl as this is not supported by the current environment
Skipping wheel protobuf-3.20.2-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.whl as this is not supported by the current environment
Skipping wheel protobuf-3.20.2-cp37-cp37m-win32.whl as this is not supported by the current environment
Skipping wheel protobuf-3.20.2-cp37-cp37m-win_amd64.whl as this is not supported by the current environment
Skipping wheel protobuf-3.20.2-cp38-cp38-macosx_10_9_x86_64.whl as this is not supported by the current environment
Skipping wheel protobuf-3.20.2-cp38-cp38-manylinux2014_aarch64.whl as this is not supported by the current environment
Skipping wheel protobuf-3.20.2-cp38-cp38-win32.whl as this is not supported by the current environment
Skipping wheel protobuf-3.20.2-cp38-cp38-win_amd64.whl as this is not supported by the current environment
Skipping wheel protobuf-3.20.2-cp39-cp39-macosx_10_9_x86_64.whl as this is not supported by the current environment
Skipping wheel protobuf-3.20.2-cp39-cp39-manylinux2014_aarch64.whl as this is not supported by the current environment
Skipping wheel protobuf-3.20.2-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.whl as this is not supported by the current environment
Skipping wheel protobuf-3.20.2-cp39-cp39-win32.whl as this is not supported by the current environment
Skipping wheel protobuf-3.20.2-cp39-cp39-win_amd64.whl as this is not supported by the current environment
[urllib3.connectionpool] https://files.pythonhosted.org:443 "GET /packages/3c/06/e5aceb753499e9fcf616c06a87f8b8640b404314efc77abd6a4e0d019c47/protobuf-3.20.2-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.whl HTTP/1.1" 200 1019322
[urllib3.connectionpool] https://pypi.org:443 "GET /pypi/prometheus-async/18.3.0/json HTTP/1.1" 200 2494
[urllib3.connectionpool] https://files.pythonhosted.org:443 "GET /packages/b2/89/79fc07e1b8abb9712b710d904203ccb47249ee75aa0953921722e77bb21f/prometheus_async-18.3.0-py2.py3-none-any.whl HTTP/1.1" 200 16427
[urllib3.connectionpool] https://pypi.org:443 "GET /pypi/mock/3.0.5/json HTTP/1.1" 200 1790
[urllib3.connectionpool] https://pypi.org:443 "GET /pypi/pytest-sanic/1.1.2/json HTTP/1.1" 200 3812
[urllib3.connectionpool] https://pypi.org:443 "GET /pypi/sanic-validation/0.4.4/json HTTP/1.1" 200 1282
[urllib3.connectionpool] https://pypi.org:443 "GET /pypi/hvac/0.9.2/json HTTP/1.1" 200 1804
[urllib3.connectionpool] https://pypi.org:443 "GET /pypi/detect-secrets/0.12.7/json HTTP/1.1" 200 1251
[urllib3.connectionpool] https://files.pythonhosted.org:443 "GET /packages/05/d2/f94e68be6b17f46d2c353564da56e6fb89ef09faeeff3313a046cb810ca9/mock-3.0.5-py2.py3-none-any.whl HTTP/1.1" 200 25027
[urllib3.connectionpool] https://files.pythonhosted.org:443 "GET /packages/87/04/597b1c66865fc6018c4cdce539d1398a1fcd2343b2556a719862e97330ec/sanic-validation-0.4.4.tar.gz HTTP/1.1" 200 15518
[urllib3.connectionpool] https://files.pythonhosted.org:443 "GET /packages/a2/2c/53a45c1968ac17e80943976db1651abf021510e01a79f461cc6798dce9f9/pytest_sanic-1.1.2-py3-none-any.whl HTTP/1.1" 200 12649
[urllib3.connectionpool] https://files.pythonhosted.org:443 "GET /packages/7b/2c/b95b551769459406ca440788c32d699820f4c875020ff95c6e3844eee6d3/hvac-0.9.2-py2.py3-none-any.whl HTTP/1.1" 200 103302
[urllib3.connectionpool] https://files.pythonhosted.org:443 "GET /packages/11/bd/7253eb9f44b87c2dcab707e035800b63c1c9f641a1784c60f8854ebdff63/detect_secrets-0.12.7-py2.py3-none-any.whl HTTP/1.1" 200 59511
  Stack trace:
  4  /opt/poetry/venv/lib/python3.8/site-packages/poetry/installation/executor.py:253 in _execute_operation
      251β”‚
      252β”‚             try:
    β†’ 253β”‚                 result = self._do_execute_operation(operation)
      254β”‚             except EnvCommandError as e:
      255β”‚                 if e.e.returncode == -2:
  3  /opt/poetry/venv/lib/python3.8/site-packages/poetry/installation/executor.py:326 in _do_execute_operation
      324β”‚             return 0
      325β”‚
    β†’ 326β”‚         result: int = getattr(self, f"_execute_{method}")(operation)
      327β”‚
      328β”‚         if result != 0:
  2  /opt/poetry/venv/lib/python3.8/site-packages/poetry/installation/executor.py:455 in _execute_update
      453β”‚         status_code = self._update(operation)
      454β”‚
    β†’ 455β”‚         self._save_url_reference(operation)
      456β”‚
      457β”‚         return status_code
  1  /opt/poetry/venv/lib/python3.8/site-packages/poetry/installation/executor.py:746 in _save_url_reference
      744β”‚             # That's not what we want, so we remove the direct_url.json file,
      745β”‚             # if it exists.
    β†’ 746β”‚             for (
      747β”‚                 direct_url_json
      748β”‚             ) in self._env.site_packages.find_distribution_direct_url_json_files(
  AssertionError

  at /opt/poetry/venv/lib/python3.8/site-packages/poetry/utils/env.py:343 in find_distribution_files_with_name
       339β”‚     ) -> Iterable[Path]:
       340β”‚         for distribution in self.distributions(
       341β”‚             name=distribution_name, writable_only=writable_only
       342β”‚         ):
    β†’  343β”‚             assert distribution.files is not None
       344β”‚             for file in distribution.files:
       345β”‚                 if file.name == name:
       346β”‚                     yield Path(
       347β”‚                         distribution.locate_file(file),  # type: ignore[no-untyped-call]
  Stack trace:
  4  /opt/poetry/venv/lib/python3.8/site-packages/poetry/installation/executor.py:253 in _execute_operation
      251β”‚
      252β”‚             try:
    β†’ 253β”‚                 result = self._do_execute_operation(operation)
      254β”‚             except EnvCommandError as e:
      255β”‚                 if e.e.returncode == -2:
  3  /opt/poetry/venv/lib/python3.8/site-packages/poetry/installation/executor.py:326 in _do_execute_operation
      324β”‚             return 0
      325β”‚
    β†’ 326β”‚         result: int = getattr(self, f"_execute_{method}")(operation)
      327β”‚
      328β”‚         if result != 0:
  2  /opt/poetry/venv/lib/python3.8/site-packages/poetry/installation/executor.py:455 in _execute_update
      453β”‚         status_code = self._update(operation)
      454β”‚
    β†’ 455β”‚         self._save_url_reference(operation)
      456β”‚
      457β”‚         return status_code
  1  /opt/poetry/venv/lib/python3.8/site-packages/poetry/installation/executor.py:746 in _save_url_reference
      744β”‚             # That's not what we want, so we remove the direct_url.json file,
      745β”‚             # if it exists.
    β†’ 746β”‚             for (
      747β”‚                 direct_url_json
      748β”‚             ) in self._env.site_packages.find_distribution_direct_url_json_files(
  AssertionError

  at /opt/poetry/venv/lib/python3.8/site-packages/poetry/utils/env.py:343 in find_distribution_files_with_name
       339β”‚     ) -> Iterable[Path]:
       340β”‚         for distribution in self.distributions(
       341β”‚             name=distribution_name, writable_only=writable_only
       342β”‚         ):
    β†’  343β”‚             assert distribution.files is not None
       344β”‚             for file in distribution.files:
       345β”‚                 if file.name == name:
       346β”‚                     yield Path(
       347β”‚                         distribution.locate_file(file),  # type: ignore[no-untyped-call]
The command '/bin/sh -c poetry install -vvv' returned a non-zero code: 1

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 16 (13 by maintainers)

Commits related to this issue

Most upvoted comments

Raised a PR here: https://github.com/python-poetry/poetry/pull/6877. Let me know what you folks think! πŸ˜„

I would say it has been mostly intermittent (~30% of the time), but for unknown reasons it’s occurring a lot more regularly these past two days 😭

I have a slight hunch on what could be the cause but I’d need some time to verify it. Hunch being some egress rules in my production environment blocking certain traffic when installing dependencies, so poetry tries alternative sources that returns distribution.files as None.

distribution.files comes from untyped code external to Poetry – from reading the source and documentation it was inferred that it should never be None, hence the assertion to collapse the type. Clearly this is not the case in the β€˜real world,’ and we should instead handle that case. It would be even better if we could understand how and why it becomes None, and write unit tests to that end.

suggest submit an MR that copes with distribution.files being None in the three places that currently assert it, treating it the same as an empty list

even better if you can figure out how to reproduce in unit test…