Pin Poetry version <2

This commit is contained in:
Šarūnas Nejus 2025-05-14 03:44:18 +01:00
parent b92a1b3d98
commit 28781e9077
No known key found for this signature in database
GPG key ID: DD28F6704DBE3435
4 changed files with 172 additions and 322 deletions

View file

@ -87,6 +87,15 @@ Install `poetry`_ and `poethepoet`_ using `pipx`_::
$ pipx install poetry poethepoet $ pipx install poetry poethepoet
.. admonition:: Check ``tool.pipx-install`` section in ``pyproject.toml`` to
see supported versions
::
[tool.pipx-install]
poethepoet = ">=0.26"
poetry = "<2"
.. _pipx: https://pipx.pypa.io/stable .. _pipx: https://pipx.pypa.io/stable
.. _pipx-installation-instructions: https://pipx.pypa.io/stable/installation/ .. _pipx-installation-instructions: https://pipx.pypa.io/stable/installation/

View file

@ -6,18 +6,16 @@ Changelog goes here! Please add your entry to the bottom of one of the lists bel
Unreleased Unreleased
---------- ----------
New features:
Bug fixes: Bug fixes:
* :doc:`/reference/pathformat`: Fixed a regression where path legalization * :doc:`/reference/pathformat`: Fixed a regression where path legalization
incorrectly removed parts of user-configured path formats that followed a dot incorrectly removed parts of user-configured path formats that followed a dot
(**.**). (**.**).
:bug:`5771` :bug:`5771`
For packagers: For packagers:
* Force ``poetry`` version below 2 to avoid it mangling file modification times
Other changes: in ``sdist`` package.
:bug:`5770`
2.3.0 (May 07, 2025) 2.3.0 (May 07, 2025)
-------------------- --------------------
@ -115,8 +113,8 @@ Other changes:
:bug:`5539` :bug:`5539`
* :doc:`/plugins/smartplaylist`: URL-encode additional item `fields` within generated * :doc:`/plugins/smartplaylist`: URL-encode additional item `fields` within generated
EXTM3U playlists instead of JSON-encoding them. EXTM3U playlists instead of JSON-encoding them.
* typehints: `./beets/importer.py` file now has improved typehints. * typehints: `./beets/importer.py` file now has improved typehints.
* typehints: `./beets/plugins.py` file now includes typehints. * typehints: `./beets/plugins.py` file now includes typehints.
* :doc:`plugins/ftintitle`: Optimize the plugin by avoiding unnecessary writes * :doc:`plugins/ftintitle`: Optimize the plugin by avoiding unnecessary writes
to the database. to the database.
* Database models are now serializable with pickle. * Database models are now serializable with pickle.

471
poetry.lock generated

File diff suppressed because it is too large Load diff

View file

@ -159,7 +159,7 @@ build-backend = "poetry.core.masonry.api"
[tool.pipx-install] [tool.pipx-install]
poethepoet = ">=0.26" poethepoet = ">=0.26"
poetry = ">=1.8" poetry = ">=1.8,<2"
[tool.poe.tasks.build] [tool.poe.tasks.build]
help = "Build the package" help = "Build the package"