Skip to content

Commit 93a52a1

Browse files
committed
blog: announce Poetry 2.5.0
1 parent 53ea371 commit 93a52a1

2 files changed

Lines changed: 65 additions & 2 deletions

File tree

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
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 -->

‎pyproject.toml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ tags = "/blog/tag/:title/"
6666
description = "Python dependency management and packaging made easy"
6767

6868
[tool.website.config.params.documentation]
69-
defaultVersion = "2.4"
69+
defaultVersion = "2.4" # TODO: 2.5
7070

7171
[tool.website.config.markup.goldmark.renderer]
7272
unsafe = true
@@ -75,7 +75,7 @@ unsafe = true
7575
keepWhitespace = true
7676

7777
[tool.website.versions]
78-
"2.4" = "2.4"
78+
"2.4" = "2.4" # TODO: 2.5
7979
"1.8" = "1.8"
8080

8181
[build-system]

0 commit comments

Comments
 (0)