Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AssertionError from Poetry install #6788

Closed
4 tasks done
jace-ys opened this issue Oct 12, 2022 · 16 comments · Fixed by #6877
Closed
4 tasks done

AssertionError from Poetry install #6788

jace-ys opened this issue Oct 12, 2022 · 16 comments · Fixed by #6877
Labels
kind/bug Something isn't working as expected status/triage This issue needs to be triaged

Comments

@jace-ys
Copy link
Contributor

jace-ys commented Oct 12, 2022

  • 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
@jace-ys jace-ys added kind/bug Something isn't working as expected status/triage This issue needs to be triaged labels Oct 12, 2022
@dimbleby
Copy link
Contributor

dimbleby commented Oct 12, 2022

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...

@jace-ys
Copy link
Contributor Author

jace-ys commented Oct 12, 2022

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...

Hey @dimbleby, thanks for your suggestion. Are you suggesting that what I'm seeing is due to some bug in the Poetry installer that doesn't properly handle distribution.files being None?

@dimbleby
Copy link
Contributor

clearly poetry doesn't handle distribution.files being None: it asserts against it.

I don't understand any better than you what are the circumstances where that happens but it seems straightforward and pragmatic to cope with it.

@neersighted
Copy link
Member

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.

@jace-ys
Copy link
Contributor Author

jace-ys commented Oct 12, 2022

Interesting, that's useful to know. I can't seem to figure out the exact circumstance to reproduce the issue consistently, but I can say for certain that I'm not encountering it locally but only on my production build environment 😞

It's also interesting that no one else has reported this issue before, so I'm wondering if it's something specific to my environment 🤔

@neersighted
Copy link
Member

neersighted commented Oct 12, 2022

Incidentally, this is why typing assertions are so powerful/preferable to cast -- if the assert wasn't there, we likely would have failed in a different and more exotic/hard to debug way.

I was unable to reproduce on Linux/amd64 using your pyproject.toml (dropping Monzo-CLI as it is unavailable) -- do I understand correctly that this is intermittent in your environment?

@jace-ys
Copy link
Contributor Author

jace-ys commented Oct 13, 2022

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.

@jace-ys
Copy link
Contributor Author

jace-ys commented Oct 19, 2022

Tiny update: we discovered that the AssertionError only happens when Poetry is trying to update a package. Eg. when updating xyz 1.23 -> 1.24, the distribution files for xyz 1.23 don't exist in the virtual environment so the update fails. Although, before running poetry install, I've checked that xyz 1.23 does exist in the virtual environment's site-packages.

We are not super sure what's causing the original dependency to be deleted and will look into it more tomorrow. We suspected it might be a race condition somewhere where a thread deletes the original dependency before it can be updated, but even running with installer.parallel = false still results in the same error.

As for why it only happens on our build environment and not locally, we're still looking into that.

@dimbleby
Copy link
Contributor

If I were you I'd just submit an MR and be done with it...

@jace-ys
Copy link
Contributor Author

jace-ys commented Oct 20, 2022

If I were you I'd just submit an MR and be done with it...

Thanks for the suggestion @dimbleby, I can give that a go soon if we're all agreed that that's the right approach.

Just want to share a bit more findings that maybe you folks could help demystify:

When performing an update, it seems like the AssertionError spawns from Poetry trying to find the distribution files of the existing version of the package, but for some reason those files have been removed (we saw this when we tried to print out the distribution that causes the error). We are not sure what's causing that and why; we also have no idea why this issue only reproduces on our build environment but not locally.

Other than dropping the assertions, another workaround we found was setting experimental.new-installer = false - this seemed to install things properly without any errors. From reading the source of Poetry, setting that config to false causes Poetry to fallback to the PipInstaller instead of the Executor so it must be something the Executor is doing that causes existing versions of a package to be removed before the update happens. We don't think it's a race condition as we still get the error when disabling parallel installs or setting max workers to 1.

I don't think there's a whole lot more we can find, so we will probably settle for setting experimental.new-installer = false for now and raise a PR to drop the assertions as a longer-term fix.

@dimbleby @neersighted Any thoughts or ideas?

@neersighted
Copy link
Member

neersighted commented Oct 20, 2022

Dropping the new installer is not a good idea -- you are falling back to pip fetching packages, instead of Poetry, which is not nearly as tested and which is going to be removed soon. I would instead experiment with limiting parallelism with installer.max-workers and installer.parallel, if you suspect some sort of race condition.

Given we already handle the case of distribution.files being empty, we should just handle None as zero; clearly our typing is wrong and None is possible, even if we don't understand it fully.

@jace-ys
Copy link
Contributor Author

jace-ys commented Oct 20, 2022

I would instead experiment with limiting parallelism with installer.max-workers and installer.parallel, if you suspect some sort of race condition.

Thanks @neersighted. I don't think it's a race condition as I've tried both POETRY_INSTALLER_PARALLEL=false and POETRY_INSTALLER_MAX_WORKERS=1 but neither of them resolved the issue.

I will raise a PR to handle distribution.files being None 👍🏻

@jace-ys
Copy link
Contributor Author

jace-ys commented Oct 21, 2022

Raised a PR here: #6877. Let me know what you folks think! 😄

@lanedd
Copy link

lanedd commented Nov 2, 2022

I had a failure similar to this, I believe the issue was caused by changing the repository URL. GitLab CI/CD was using Poetry 1.2.2 to build a test environment. Previously a couple versions of the package had been built by GitLab. The repository URL was changed slightly and then another package was attempted to be created. Here is the log snippet of the test failing to create the Poetry environment:

$ $POETRY install
Installing dependencies from lock file
Package operations: 22 installs, 2 updates, 0 removals
  • Updating frozenlist (1.3.1 /cache/{repository}/pypoetry/artifacts/11/a5/a9/f36d061e06bf205d08572b6ff619c700983d3cee974b4dbe3ad4b6/frozenlist-1.3.1-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl -> 1.3.1)
  AssertionError
  
  at ~/.local/share/pypoetry/venv/lib/python3.9/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]

where {repository} is the name of the updated repository.

I tried running the build multiple times and it always failed. After reverting to the old repository name the build was able to succeed.

I think it was trying to reference a cache that did not exist and so was None and failed.

@elcolie
Copy link

elcolie commented Nov 2, 2022

Me too

Writing lock file

Package operations: 326 installs, 2 updates, 0 removals

  • Installing attrs (22.1.0): Failed

  AssertionError



  at ~/.local/share/pypoetry/venv/lib/python3.10/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]

neersighted pushed a commit that referenced this issue Nov 3, 2022
We discovered that in some unknown situations, `distribution.files` can
be `None`, causing the assertion to fail. To handle `distribution.files`
being `None` more gracefully, we treat it as if it were an empty list.

Resolves: #6788
Copy link

github-actions bot commented Mar 1, 2024

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 1, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
kind/bug Something isn't working as expected status/triage This issue needs to be triaged
Projects
None yet
5 participants