[Python] Poetry install process killed after upgrading to macOS Sequoia (15.x) with ASDF Python

Discussão em 'Python' iniciado por Stack, Maio 22, 2025.

  1. Stack

    Stack Membro Participativo

    I'm experiencing a persistent issue where poetry install gets killed during package installation after upgrading to macOS Sequoia. The process consistently fails at the same point during dependency installation. Environment Details

    macOS Version: macOS Sequoia 15.x (upgraded from previous version)
    Python Version: 3.12.9 (managed via ASDF)
    Poetry Version: Latest
    Python Manager: ASDF
    Project: 238 packages to install from lock file


    Error Details

    poetry install -vvv
    Loading configuration file /Users/jason/Library/Application Support/pypoetry/config.toml
    Loading configuration file /Users/jason/Library/Application Support/pypoetry/auth.toml
    Adding repository ado (https://pkgs.dev.azure.com/VentureOne/ASK71/_packaging/ask71_python_packages/pypi/simple) and setting it as explicit
    Adding repository tii-gitlab (https://gitlab.com/api/v4/projects/56367249/packages/pypi/simple) and setting it as supplemental
    Using virtualenv: /Users/jason/development/ask71-v2/backend/services/knowledge_management_service/.venv
    Checking keyring availability: Checking if keyring is available
    [keyring:keyring.backend] Loading KWallet
    [keyring:keyring.backend] Loading SecretService
    [keyring:keyring.backend] Loading Windows
    [keyring:keyring.backend] Loading chainer
    [keyring:keyring.backend] Loading libsecret
    [keyring:keyring.backend] Loading macOS
    Using keyring backend 'macOS Keyring'
    Available
    Installing dependencies from lock file
    Finding the necessary packages for the current system
    Package operations: 238 installs, 0 updates, 0 removals
    - Installing certifi (2025.4.26): Pending...
    Creating new session for pypi.org
    [urllib3:urllib3.connectionpool] Starting new HTTPS connection (1): pypi.org:443
    [1] 98075 killed poetry install -vvv


    Poetry-Specific Solutions

    ✅ poetry cache clear --all pypi ✅ Complete Poetry reinstallation (curl -sSL https://install.python-poetry.org | python3 - --uninstall + reinstall) ✅ poetry config keyring.enabled false ✅ poetry config installer.max-workers 1 ✅ poetry env remove --all and recreating virtual environment ✅ poetry install --dry-run (works fine) ✅ poetry add requests in test project (works fine)

    ASDF/Python Solutions

    • ✅ asdf reshim python ✅ asdf global python 3.12.9 ✅ Reinstalled Python via ASDF (asdf uninstall python 3.12.9 + asdf install python 3.12.9) ✅ Updated ASDF and Python plugin ✅ Tried different Python versions (3.12.8, 3.11.x)

    System-Level Solutions

    • ✅ Updated Xcode Command Line Tools (sudo xcode-select --install) ✅ Cleared all Poetry configuration directories ✅ Tried using system Python (poetry env use /usr/bin/python3) ✅ Tried installing Poetry via pipx ✅ Attempted installing dependencies in smaller batches (--only main, --only dev)

    Any insights or alternative approaches would be greatly appreciated. This is blocking development work on a large project with many dependencies.

    Continue reading...

Compartilhe esta Página