|
| 1 | +--- |
| 2 | +layout: single |
| 3 | +title: "Announcing Poetry 2.5.0" |
| 4 | +date: 2026-09-19 |
| 5 | +categories: [releases] |
| 6 | +tags: ["2.x", "2.5"] |
| 7 | +--- |
| 8 | + |
| 9 | +The Poetry team is pleased to announce the immediate availability of Poetry **2.5.0**. |
| 10 | + |
| 11 | +<!--more--> |
| 12 | + |
| 13 | +If you have a previous version of Poetry installed via `pipx`, |
| 14 | +getting Poetry **2.5.0** is as easy as: |
| 15 | + |
| 16 | +```bash |
| 17 | +$ pipx upgrade poetry |
| 18 | +``` |
| 19 | + |
| 20 | +If you used the [official installer](/docs/#installation), you can run: |
| 21 | + |
| 22 | +```bash |
| 23 | +$ poetry self update |
| 24 | +``` |
| 25 | + |
| 26 | +## Highlights |
| 27 | + |
| 28 | +### Faster uninstalls and updates with a built-in uninstaller |
| 29 | + |
| 30 | +Until now, Poetry has spawned a `pip uninstall` subprocess for each package that had to be removed. |
| 31 | +This does not only affect explicit removals: updating a package means uninstalling the old version |
| 32 | +before installing the new one. The overhead of starting pip again and again adds up, |
| 33 | +especially when many packages are updated at once. |
| 34 | + |
| 35 | +Poetry 2.5.0 introduces a built-in uninstaller so that Poetry no longer has to run a pip subprocess |
| 36 | +for each uninstall. This makes uninstalls – and thereby updates – faster. |
| 37 | + |
| 38 | +The built-in uninstaller is not used by default yet. You can opt in |
| 39 | +via the new `installer.builtin-uninstall` setting: |
| 40 | + |
| 41 | +```bash |
| 42 | +poetry config installer.builtin-uninstall true |
| 43 | +``` |
| 44 | + |
| 45 | +{{% note %}} |
| 46 | +We plan to make the built-in uninstaller the default in a future minor release |
| 47 | +and to remove the setting even later, just as we did with `installer.modern-installation`. |
| 48 | +Please try it out and [report](https://github.com/python-poetry/poetry/issues) any issues you encounter. |
| 49 | +{{% /note %}} |
| 50 | + |
| 51 | +## Upcoming Changes |
| 52 | + |
| 53 | +### Defaulting to `setuptools` instead of `poetry-core` if no build system is defined |
| 54 | + |
| 55 | +Per [PEP 517](https://peps.python.org/pep-0517/), a build tool should fall back to `setuptools` if no build system is |
| 56 | +defined in the `[build-system]` section of `pyproject.toml`. However, to avoid immediate disruption, Poetry will |
| 57 | +currently issue a **warning** in such cases and continue using the built-in `poetry-core` backend by default. |
| 58 | +This behavior will change in a future minor release so that Poetry will default to `setuptools` |
| 59 | +if no `[build-system]` section is defined. |
| 60 | + |
| 61 | +## Changelog |
| 62 | + |
| 63 | +<!-- TODO: add changelog --> |
0 commit comments