mrkeyoor.comAsk

python-poetry/poetrytested 07 Oct 2026commit 63bba27

poetry review

The Poetry checkout built in 5 seconds, but tests stopped after 8 seconds on a missing responses import.

  • Build 5 s
  • Tests failed
24 sto install
  • 70 packages
Dev Toolsevaluationupdated 25 Oct 2026
+2stars / 7d

Poetry manages Python project dependencies and isolated environments, with commands for packaging and publishing code. Its lock file records selected dependency versions so colleagues using Poetry can install the same selections.

Verdict

The Poetry checkout built in 5 seconds, but tests stopped after 8 seconds on a missing responses import. This run establishes a successful build, not a passing suite or representative application compatibility. Choose Poetry when the team will review its lock file and explicitly configure package sources across development, CI and deployment. If pip must reproduce those decisions, provide its configuration separately and verify that route.

We ran it

Lab card: what happened when we ran poetry
Lab card from our sandbox run
Screenshot of poetry (python-poetry.org)
python-poetry.org
Install✓ · 24s70 packages · 88 MB
Build✓ · 5s
Tests✗ · 8sran, no count parsed
Known vulns0(pip-audit)
Repo1015 files~82,721 lines of source · 8.8 MB · 6 CI workflows · tests dir

Answers from our run

Does poetry build from source?

Dependencies installed in 24 seconds (70 packages), and the build succeeded in 5 seconds. We cloned commit 63bba27 into a clean Debian container with 3 CPUs and no project-specific setup.

Do poetry's tests pass?

No. The project's own test command exited unsuccessfully after 8 seconds, and its output did not expose an individual test count.

Does poetry have known vulnerabilities in its dependencies?

pip-audit found none in the dependency tree at the time of our run.

Who should not use poetry?

Teams expecting pip to use poetry.lock to select dependency versions.

What are the alternatives to poetry?

uv, PDM. The Poetry checkout built in 5 seconds, but tests stopped after 8 seconds on a missing responses import.

Setup4/5Our source checkout installed in 24 s and built in 5 s with 70 dependencies, but we did not run a README task.Editor’s note: The repository installation succeeded, but representative application setup and installation in a verified supported environment were not assessed.
Docs4/5One point each for actionable lock-file, environment, operating-mode and package-source guidance. No point for consolidated installer-portability guidance: the relevant warnings are split between two guides. The body states this five-point editorial rubric.
Community5/5Last push on 2026-10-24 and 34,323 stars.Editor’s note: The supplied push timestamp and combined issue count do not establish support responsiveness or the quality of resolutions.
Maturity4/5Latest release 2.5.1 on 2026-09-20, repository created 2018-02-28 and its test suite did not pass in our sandbox.Editor’s note: The build succeeded, but tests stopped during conftest loading; representative application locking, compatibility and publishing were not exercised.

How we score

Discussed on

  1. hnPoetry – Dependency Management for Python – v1.0129 points
  2. hnPoetry v1.073 points
  3. hnPoetry: Python dependency management and packaging made easy56 points
  4. hnPoetry – Python dependency management and packaging46 points
  5. hnPoetry: Python Packaging and Dependency Management27 points

Who it’s for

Python application teams willing to commit poetry.lock and use Poetry consistently in development and CI.
Library maintainers who want dependency management and package publishing in the same workflow.
Teams using private package indexes that can maintain explicit source and credential policies.

Who it’s NOT for

Teams expecting pip to use poetry.lock to select dependency versions.
Organizations expecting Poetry's private-source settings to travel inside a published package: pip ignores those settings.
Developers expecting a normal poetry install to obtain Python: the documented workflow requires a compatible interpreter already available.

Setup reality

The recorded sandbox installed Poetry commit 63bba27 in 24 seconds, with 70 dependencies recorded and 88 MB on disk. The build succeeded in 5 seconds. Tests failed with exit 4 after 8 seconds because loading tests/conftest.py raised ModuleNotFoundError: No module named 'responses'. The log does not establish why the module was unavailable.

Pip-audit reported 0 known vulnerabilities, but the audit record also lists packages: 0. Its package coverage is unestablished, so this is not evidence of a verified clean dependency inventory.

PyPI is the default package source. Private repositories need source configuration and, where required, authentication or certificates. Publishing uses separate repository settings. Credentials can come from environment variables or a supported system keyring; failed or unsupported keyring access can fall back to auth.toml.

A compatible Python interpreter must already be available for the documented project workflow. Poetry creates an isolated environment by default and can respect an externally activated one. The recorded sandbox had 3 CPUs, 8 GB RAM and image label ghcr.io/astral-sh/uv:python3.12-bookworm. That label does not establish the actual interpreter or operating-system version.

Poetry's lock file requires a shared installer policy

Commit poetry.lock when colleagues and CI should use the dependency versions Poetry selected. Poetry's basic-use guide recommends this workflow, but also warns that pip does not use that lock file to choose dependency versions. A team adopting Poetry needs to decide which installer owns each deployment path.

Poetry combines dependency management with isolated environments and package publishing. Projects describe their dependencies in pyproject.toml. This suits teams that want a consistent routine across development and automation. Mixed installers require additional policy: a Poetry configuration alone does not make every installer follow the same decisions.

What happened when we ran it

The recorded sandbox installed Poetry commit 63bba27 in 24 seconds and built it in 5 seconds on October 7, 2026. Installation recorded 70 dependencies and occupied 88 MB. The checkout contained 1,015 files, about 82,721 lines of source and 8.8 MB. These measurements describe work on Poetry's repository, not dependency installation or resolution for an unrelated application.

Tests failed with exit 4 after 8 seconds. Loading tests/conftest.py reached its import of responses and raised ModuleNotFoundError: No module named 'responses'. The supplied log establishes where execution stopped, but not why that module was unavailable. There is no passing-test count. The successful build does not establish a passing suite, and the import failure does not establish a resolver defect.

Pip-audit reported 0 known vulnerabilities, but the audit record also lists packages: 0. Its package coverage is unestablished. Treat this as a recorded audit result, not a verified clean dependency inventory.

The sandbox configuration recorded 3 CPUs, 8 GB RAM and image label ghcr.io/astral-sh/uv:python3.12-bookworm. The supplied evidence does not establish the actual interpreter or operating-system version. Repository signals included a tests directory and 6 CI workflow files, with no Dockerfile.

A library lock file does not constrain its users

The basic-use guide distinguishes an application's environment from a published library. An application using Poetry can install the versions recorded in its lock file. An application consuming a library instead selects dependencies within the library's declared constraints; it ignores that library's lock file.

Library maintainers should therefore check the dependency combinations their users can receive, alongside their locked development environment. For an internal application, review lock changes and verify that CI and deployment use the intended installer. These are recommendations based on the documentation, not workflows exercised by this sandbox run.

Poetry also has a non-package mode for dependency management without packaging the project. In that mode it installs dependencies without installing the project itself, and cannot build or publish the project.

Private-source settings stop at Poetry's boundary

Poetry's package sources are absent from the core metadata produced by poetry-core. Pip therefore ignores those source settings. If a dependency should come from an internal index, putting that preference in Poetry's project configuration does not make another installer follow it. Mixed Poetry and pip environments need explicit configuration for each installation route.

Adding a primary source disables implicit PyPI access unless PyPI is configured explicitly. Supplemental sources are searched when higher-priority sources provide no compatible distribution. Explicit sources are searched for packages that name them. Source constraints are not inherited by dependencies: a private package's private dependency may need its own source constraint.

Before adopting Poetry across a team, trace one representative private dependency through every deployment route. The sandbox did not exercise private repositories or authenticate to one.

Publishing uses repository configuration separate from package discovery. The documentation describes environment variables and supported keyrings for credentials. If keyring access fails or is unsupported, Poetry can write credentials to auth.toml. Check the credential configuration used by fresh CI jobs as well as developer machines.

Interpreter provisioning is a separate decision

The basic-use guide says a compatible Python interpreter must be available when poetry install runs. Poetry's documented ordinary installation workflow does not obtain that interpreter. By default, Poetry creates a virtual environment, but it can respect an externally activated one.

uv manages Python versions as well as project dependencies. Consider it when interpreter provisioning belongs in the project tool. This review provides no comparative speed measurement.

PDM supports lock files and lets users choose a build backend. Consider it when that choice is a requirement. Neither alternative was tested in the recorded Poetry run.

Maintenance and documentation have different evidence

GitHub recorded Poetry's last push on October 24, 2026, with 617 open issues and pull requests in the combined API count. That timestamp establishes recent repository activity, but not what changed or how quickly maintainers resolve reports. The supplied release record identifies 2.5.1, published September 20, 2026. It is separate from the measured checkout at commit 63bba27; these measurements are not presented as a test of release 2.5.1.

Documentation receives 4/5 under this review's rubric: one point each for actionable lock-file guidance, environment guidance, operating-mode guidance, package-source guidance, and a consolidated account of installer portability limits. The supplied guides satisfy the first four criteria. Lock-file and source portability warnings are split between the basic-use and repository guides, so the final criterion receives no point. This is an editorial assessment of the supplied documentation, not a usability test.

Setup ease, support quality and maturity remain unassessed. Before standardizing, take one real application through its lock-file and private-index workflow in the actual deployment environment, especially if pip appears along that path.

Alternatives

ProjectWhat it isPick it when
uv gh↗A Python package and project manager that also manages Python versions.Consider uv when interpreter provisioning belongs in the same tool as project dependencies; no comparative speed test is supplied.
PDMA Python project manager with lock files and a choice of build backend.Consider PDM when choosing the build backend independently is a requirement; this review did not test that workflow.

What people are saying

  1. [github-trending] chinese-poetry/chinese-poetry

Sources

  1. Poetry basic usage
  2. Poetry package repositories
  3. uv README
  4. PDM README
  5. Poetry repository facts
  6. Poetry latest release

More dev tools reviews