You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
OS version and name: Docker image python:3.10-slim
pyproject.toml: None
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
I am unable to install or update any dependencies when running Poetry with Python 3.10 from the official Python Docker image.
The minimal reproduction example is described below.
With python:3.10-slim, Poetry is unable to even update itself after installing:
# apt -y update && apt -y install --no-install-recommends curl[...]
# curl -sSL https://install.python-poetry.org | python3 - --version 1.5.0Retrieving Poetry metadata
# Welcome to Poetry!This will download and install the latest version of Poetry,a dependency and package manager for Python.It will add the `poetry` command to Poetry's bin directory, located at:/root/.local/binYou can uninstall at any time by executing this script with the --uninstall option,and these changes will be reverted.Installing Poetry (1.5.0): DonePoetry (1.5.0) is installed now. Great!To get started you need Poetry's bin directory (/root/.local/bin) in your `PATH`environment variable.Add `export PATH="/root/.local/bin:$PATH"` to your shell configuration file.Alternatively, you can call Poetry explicitly with `/root/.local/bin/poetry`.You can test that everything is set up by executing:`poetry --version`
# export PATH="/root/.local/bin:$PATH"
# poetry --versionPoetry (version 1.5.0)
# poetry self update 1.5.1Updating Poetry version ...Updating dependenciesResolving dependencies... (8.7s)Package operations: 0 installs, 2 updates, 0 removals
# poetry --versionPoetry (version 1.5.0)
# python --versionPython 3.10.12
Installing anything from a pyproject.toml leads to a similar result: Poetry prints out the required installs/updates, but then does nothing.
With python:3.11-slim, all works as expected:
# apt -y update && apt -y install --no-install-recommends curl[...]
# curl -sSL https://install.python-poetry.org | python3 - --version 1.5.0Retrieving Poetry metadata
# Welcome to Poetry!This will download and install the latest version of Poetry,a dependency and package manager for Python.It will add the `poetry` command to Poetry's bin directory, located at:/root/.local/binYou can uninstall at any time by executing this script with the --uninstall option,and these changes will be reverted.Installing Poetry (1.5.0): DonePoetry (1.5.0) is installed now. Great!To get started you need Poetry's bin directory (/root/.local/bin) in your `PATH`environment variable.Add `export PATH="/root/.local/bin:$PATH"` to your shell configuration file.Alternatively, you can call Poetry explicitly with `/root/.local/bin/poetry`.You can test that everything is set up by executing:`poetry --version`
# export PATH="/root/.local/bin:$PATH"
# poetry --versionPoetry (version 1.5.0)
# poetry self update 1.5.1Updating Poetry version ...Updating dependenciesResolving dependencies... (9.3s)Package operations: 0 installs, 2 updates, 0 removals • Updating poetry-core (1.6.0 -> 1.6.1) • Updating poetry (1.5.0 -> 1.5.1)Writing lock file
# poetry --versionPoetry (version 1.5.1)
# python --versionPython 3.11.4
The text was updated successfully, but these errors were encountered:
-vvv
option) and have included the output below.Issue
I am unable to install or update any dependencies when running Poetry with Python 3.10 from the official Python Docker image.
The minimal reproduction example is described below.
With python:3.10-slim, Poetry is unable to even update itself after installing:
Installing anything from a pyproject.toml leads to a similar result: Poetry prints out the required installs/updates, but then does nothing.
With python:3.11-slim, all works as expected:
The text was updated successfully, but these errors were encountered: