From 79cccee6aa5f3883f0f393c8b01388ac62062275 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Randy=20D=C3=B6ring?= <30527984+radoering@users.noreply.github.com> Date: Sat, 13 Sep 2025 11:57:56 +0200 Subject: [PATCH] release: bump version to 2.2.0 --- CHANGELOG.md | 36 +++++++++++++++++++++++++++++++++++- poetry.lock | 18 +++++++----------- pyproject.toml | 6 +++--- 3 files changed, 45 insertions(+), 15 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 90df4c99ff2..794af76c224 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,38 @@ # Change Log +## [2.2.0] - 2025-09-14 + +### Added + +- **Add support for nesting dependency groups** ([#10166](https://github.com/python-poetry/poetry/pull/10166)). +- **Add support for PEP 735 dependency groups** ([#10130](https://github.com/python-poetry/poetry/pull/10130)). +- **Add support for PEP 639 license clarity** ([#10413](https://github.com/python-poetry/poetry/pull/10413)). +- Add a `--format` option to `poetry show` to alternatively output json format ([#10487](https://github.com/python-poetry/poetry/pull/10487)). +- Add official support for Python 3.14 ([#10514](https://github.com/python-poetry/poetry/pull/10514)). + +### Changed + +- **Normalize dependency group names** ([#10387](https://github.com/python-poetry/poetry/pull/10387)). +- Change `installer.no-binary` and `installer.only-binary` so that explicit package names will take precedence over `:all:` ([#10278](https://github.com/python-poetry/poetry/pull/10278)). +- Improve log output during `poetry install` when a wheel is built from source ([#10404](https://github.com/python-poetry/poetry/pull/10404)). +- Improve error message in case a file lock could not be acquired while cloning a git repository ([#10535](https://github.com/python-poetry/poetry/pull/10535)). +- Require `dulwich>=0.24.0` ([#10492](https://github.com/python-poetry/poetry/pull/10492)). +- Allow `virtualenv>=20.33` again ([#10506](https://github.com/python-poetry/poetry/pull/10506)). +- Allow `findpython>=0.7` ([#10510](https://github.com/python-poetry/poetry/pull/10510)). +- Allow `importlib-metadata>=8.7` ([#10511](https://github.com/python-poetry/poetry/pull/10511)). + +### Fixed + +- Fix an issue where `poetry new` did not create the project structure in an existing empty directory ([#10431](https://github.com/python-poetry/poetry/pull/10431)). +- Fix an issue where a dependency that was required for a specific Python version was not installed into an environment of a pre-release Python version ([#10516](https://github.com/python-poetry/poetry/pull/10516)). + +### poetry-core ([`2.2.0`](https://github.com/python-poetry/poetry-core/releases/tag/2.2.0)) + +- Deprecate table values and values that are not valid SPDX expressions for `[project.license]` ([#870](https://github.com/python-poetry/poetry-core/pull/870)). +- Fix an issue where explicitly included files that are in `.gitignore` were not included in the distribution ([#874](https://github.com/python-poetry/poetry-core/pull/874)). +- Fix an issue where marker operations could result in invalid markers ([#875](https://github.com/python-poetry/poetry-core/pull/875)). + + ## [2.1.4] - 2025-08-05 ### Changed @@ -2529,7 +2562,8 @@ Initial release -[Unreleased]: https://github.com/python-poetry/poetry/compare/2.1.4...main +[Unreleased]: https://github.com/python-poetry/poetry/compare/2.2.0...main +[2.2.0]: https://github.com/python-poetry/poetry/releases/tag/2.2.0 [2.1.4]: https://github.com/python-poetry/poetry/releases/tag/2.1.4 [2.1.3]: https://github.com/python-poetry/poetry/releases/tag/2.1.3 [2.1.2]: https://github.com/python-poetry/poetry/releases/tag/2.1.2 diff --git a/poetry.lock b/poetry.lock index 8674fe97061..a72b48d568e 100644 --- a/poetry.lock +++ b/poetry.lock @@ -1174,19 +1174,15 @@ testing = ["coverage", "pytest", "pytest-benchmark"] [[package]] name = "poetry-core" -version = "2.1.3" +version = "2.2.0" description = "Poetry PEP 517 Build Backend" optional = false -python-versions = ">=3.9, <4.0" +python-versions = "<4.0,>=3.9" groups = ["main"] -files = [] -develop = false - -[package.source] -type = "git" -url = "https://github.com/python-poetry/poetry-core.git" -reference = "HEAD" -resolved_reference = "614a980ebc5387e7066853822fd9cf120b505aaa" +files = [ + {file = "poetry_core-2.2.0-py3-none-any.whl", hash = "sha256:0edea81d07e88cbd407369eef753c722da8ff1338f554788dc04636e756318fc"}, + {file = "poetry_core-2.2.0.tar.gz", hash = "sha256:b4033b71b99717a942030e074fec7e3082e5fde7a8ed10f02cd2413bdf940b1f"}, +] [[package]] name = "pre-commit" @@ -2027,4 +2023,4 @@ cffi = ["cffi (>=1.17) ; python_version >= \"3.13\" and platform_python_implemen [metadata] lock-version = "2.1" python-versions = ">=3.9,<4.0" -content-hash = "cf1eefff3c1d6ea8bf1beaea7b3ea695766783a7069f4504e5ee7e1deaeea175" +content-hash = "2f00eb595b5fb641435f38bc953ea094ae157576cc815ca1a39a1bcdc4f889a2" diff --git a/pyproject.toml b/pyproject.toml index c7cf97e527c..db88e2623d9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,10 +1,10 @@ [project] name = "poetry" -version = "2.2.0.dev0" +version = "2.2.0" description = "Python dependency management and packaging made easy." requires-python = ">=3.9,<4.0" dependencies = [ - "poetry-core @ git+https://github.com/python-poetry/poetry-core.git", + "poetry-core (==2.2.0)", "build (>=1.2.1,<2.0.0)", "cachecontrol[filecache] (>=0.14.0,<0.15.0)", "cleo (>=2.1.0,<3.0.0)", @@ -45,7 +45,7 @@ maintainers = [ license = "MIT" readme = "README.md" keywords = ["packaging", "dependency", "poetry"] -# classifieres is dynamic because we want to create Python classifiers automatically +# classifiers are dynamic because we want to create Python classifiers automatically dynamic = [ "classifiers" ] [project.urls]