From 65929689694b29c0225b9d1ac6ba0eca51753e84 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Randy=20D=C3=B6ring?= <30527984+radoering@users.noreply.github.com> Date: Sat, 3 Dec 2022 13:58:47 +0100 Subject: [PATCH] release: bump version to 1.3.0 --- CHANGELOG.md | 86 +++++++++++++++++++++++++++++++++++++++++++++----- pyproject.toml | 2 +- 2 files changed, 79 insertions(+), 9 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3635a702289..55001ae7840 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,74 @@ # Change Log + +## [1.3.0] - 2022-12-03 + +### Added + +- A comment with `@generated` is added to poetry.lock in order to allow tools to detect that the lock file is not created manually ([#2773](/~https://github.com/python-poetry/poetry/pull/2773)). +- When running `poetry check` the project is checked for valid and deprecated trove classifiers ([#2881](/~https://github.com/python-poetry/poetry/pull/2881)). +- Add a cli option to specify working path ([#6810](/~https://github.com/python-poetry/poetry/pull/6810)). + +### Changed + +- When trying to upload a file that doesn't exist an `UploadError` is raised ([#4417](/~https://github.com/python-poetry/poetry/pull/4417)). +- Improved performance by preferring wheels to source distributions for extracting meta information ([#6547](/~https://github.com/python-poetry/poetry/pull/6547)). +- New lock file format 2.0 where files and hashes are stored in each package section instead of the metadata section ([#6393](/~https://github.com/python-poetry/poetry/pull/6393)). +- Git dependencies of extras are only fetched if the extra is requested ([#6615](/~https://github.com/python-poetry/poetry/pull/6615)). +- Poetry calls pip with `--no-input` ([#6724](/~https://github.com/python-poetry/poetry/pull/6724), [#6966](/~https://github.com/python-poetry/poetry/pull/6966)). +- Refactored repositories and deprecated old modules and classes ([#6669](/~https://github.com/python-poetry/poetry/pull/6669), [#6803](/~https://github.com/python-poetry/poetry/pull/6803)). +- Directory dependencies are always resolved, even when running `poetry lock --no-update` ([#6843](/~https://github.com/python-poetry/poetry/pull/6843)). +- Improved performance of parallel installation for machines with more than 6 cores ([#6805](/~https://github.com/python-poetry/poetry/pull/6805)). +- Improved performance of reading the lock file ([#6562](/~https://github.com/python-poetry/poetry/pull/6562)). +- If there are incompatible constraints in the requirements of a package an error is raised ([#7098](/~https://github.com/python-poetry/poetry/pull/7098)). + +### Fixed + +- Fix an issue where the output of commands executed with `--dry-run` contained duplicate entries ([#4660](/~https://github.com/python-poetry/poetry/pull/4660)). +- Fix an issue where `poetry show --outdated` failed with a runtime error related to direct origin dependencies ([#6016](/~https://github.com/python-poetry/poetry/pull/6016)). +- Fix an issue where only the last command of an `ApplicationPlugin` is registered ([#6304](/~https://github.com/python-poetry/poetry/pull/6304)). +- Fix an issue where git dependencies were fetched unnecessarily when running `poetry lock --no-update` ([#6131](/~https://github.com/python-poetry/poetry/pull/6131)). +- Fix an issue where stdout was polluted with messages that should go to stderr ([#6429](/~https://github.com/python-poetry/poetry/pull/6429)). +- Fix shell activation for zsh ([#5795](/~https://github.com/python-poetry/poetry/pull/5795)). +- Fix an issue where a url dependencies was shown as outdated ([#6396](/~https://github.com/python-poetry/poetry/pull/6396)). +- Fix an issue where the source information of a dependency with extras was ignored ([#6472](/~https://github.com/python-poetry/poetry/pull/6472)). +- Fix an issue where running multiple Poetry installs simultaneously could result in a corrupt artifact cache ([#6186](/~https://github.com/python-poetry/poetry/pull/6186)). +- Fix an issue where Poetry failed to run pip due to a bad local configuration ([#6531](/~https://github.com/python-poetry/poetry/pull/6531)). +- Fix an issue where `poetry update` and `poetry lock` resolved dependencies differently ([#6477](/~https://github.com/python-poetry/poetry/pull/6477)). +- Fix an issue where Poetry hangs forever during dependency resolution due cachecontrol lock leftovers ([#6471](/~https://github.com/python-poetry/poetry/pull/6471)). +- Fix an issue where `poetry env remove` removed the wrong environment ([#6195](/~https://github.com/python-poetry/poetry/pull/6195)). +- Fix an issue where `poetry install` fails due to unfortunately named files in the current folder ([#6628](/~https://github.com/python-poetry/poetry/pull/6628)). +- Fix an issue where dependencies from different sources where merged during dependency resolution ([#6679](/~https://github.com/python-poetry/poetry/pull/6679)). +- Fix an issue where `experimental.system-git-client` could not be used via environment variable ([#6783](/~https://github.com/python-poetry/poetry/pull/6783)). +- Fix an issue where poetry fails with an `AssertionError` due to `distribution.files` being `None` ([#6788](/~https://github.com/python-poetry/poetry/pull/6788)). +- Fix an issue where `poetry add` results in duplicate entries when cases are mixed ([#6832](/~https://github.com/python-poetry/poetry/pull/6832)). +- Fix an issue where `poetry env list` does not list the in-project environment ([#6979](/~https://github.com/python-poetry/poetry/pull/6979)). +- Fix an issue where the return code of a script was not relayed as exit code ([#6824](/~https://github.com/python-poetry/poetry/pull/6824)). +- Fix an issue where an encoding error was not propagated correctly ([#6790](/~https://github.com/python-poetry/poetry/pull/6790)). +- Fix an issue where `poetry env info` did not respect `virtualenvs.prefer-active-python` ([#6986](/~https://github.com/python-poetry/poetry/pull/6986)). +- Fix an issue where a package from the wrong source was installed for a multiple-constraints dependency with different sources ([#6747](/~https://github.com/python-poetry/poetry/pull/6747)). +- Fix an issue where two version of the same package are installed for a multiple-constraints dependency with overlapping markers ([#7098](/~https://github.com/python-poetry/poetry/pull/7098)). + +### Docs + +- Improve documentation of package sources ([#5605](/~https://github.com/python-poetry/poetry/pull/5605)). +- Updated the Windows cache path ([#7012](/~https://github.com/python-poetry/poetry/pull/7012)). + +### poetry-core ([`1.4.0`](/~https://github.com/python-poetry/poetry-core/releases/tag/1.4.0)) + +- `ParseConstraintError` is now raised on version and constraint parsing errors, and includes information on the package that caused the error ([#514](/~https://github.com/python-poetry/poetry-core/pull/514)). +- Fix an issue where invalid PEP 508 requirements were generated due to a missing space before semicolons ([#510](/~https://github.com/python-poetry/poetry-core/pull/510)). +- Fix an issue where relative paths were encoded into package requirements, instead of a file:// URL as required by PEP 508 ([#512](/~https://github.com/python-poetry/poetry-core/pull/512)). + +### poetry-plugin-export ([`^1.2.0`](/~https://github.com/python-poetry/poetry-plugin-export/releases/tag/1.2.0)) + +- Ensure compatibility with Poetry 1.3.0. No functional changes. + +### cleo ([`^2.0.0`](/~https://github.com/python-poetry/poetry-core/releases/tag/2.0.0)) + +- TODO + + ## [1.2.2] - 2022-10-10 ### Added @@ -83,25 +152,25 @@ ### Docs - Added note about how to add a git dependency with a subdirectory ([#6218](/~https://github.com/python-poetry/poetry/pull/6218)) -- Fixed several style issues in the docs ([#6255](/~https://github.com/python-poetry/poetry/pull/6255)) -- Fixed outdated info about `--only` parameter ([#6264](/~https://github.com/python-poetry/poetry/pull/6264)) +- Fixed several style issues in the docs ([#6254](/~https://github.com/python-poetry/poetry/pull/6254)) +- Fixed outdated info about `--only` parameter ([#6263](/~https://github.com/python-poetry/poetry/pull/6263)) ## [1.2.0rc2] - 2022-08-26 ### Fixed -- Fixed an issue where virtual environments were created unnecessarily when running `poetry self` commands ([#6226](/~https://github.com/python-poetry/poetry/pull/6226)) -- Ensure that packages' `pretty_name` are written to the lock file ([#6243](/~https://github.com/python-poetry/poetry/pull/6243)) +- Fixed an issue where virtual environments were created unnecessarily when running `poetry self` commands ([#6225](/~https://github.com/python-poetry/poetry/pull/6225)) +- Ensure that packages' `pretty_name` are written to the lock file ([#6237](/~https://github.com/python-poetry/poetry/pull/6237)) ### Improvements -- Improved the consistency of `Pool().remove_repository()` to make it easier to write poetry plugins ([#6231](/~https://github.com/python-poetry/poetry/pull/6231)) +- Improved the consistency of `Pool().remove_repository()` to make it easier to write poetry plugins ([#6214](/~https://github.com/python-poetry/poetry/pull/6214)) ### Docs -- Removed mentions of Python 2.7 from docs ([#6235](/~https://github.com/python-poetry/poetry/pull/6235)) -- Added note about the difference between groups and extras ([#6232](/~https://github.com/python-poetry/poetry/pull/6232)) +- Removed mentions of Python 2.7 from docs ([#6234](/~https://github.com/python-poetry/poetry/pull/6234)) +- Added note about the difference between groups and extras ([#6230](/~https://github.com/python-poetry/poetry/pull/6230)) ## [1.2.0rc1] - 2022-08-22 @@ -1612,7 +1681,8 @@ Initial release -[Unreleased]: /~https://github.com/python-poetry/poetry/compare/1.2.2...master +[Unreleased]: /~https://github.com/python-poetry/poetry/compare/1.3.0...master +[1.3.0]: /~https://github.com/python-poetry/poetry/releases/tag/1.3.0 [1.2.2]: /~https://github.com/python-poetry/poetry/releases/tag/1.2.2 [1.2.1]: /~https://github.com/python-poetry/poetry/releases/tag/1.2.1 [1.2.0]: /~https://github.com/python-poetry/poetry/releases/tag/1.2.0 diff --git a/pyproject.toml b/pyproject.toml index c05a4ed049a..59b21880ee1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "poetry" -version = "1.3.0.dev0" +version = "1.3.0" description = "Python dependency management and packaging made easy." authors = [ "Sébastien Eustace ",