diff --git a/CHANGELOG.md b/CHANGELOG.md index 5396fbbcfa2..7acf1331f96 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,63 @@ # Change Log +## [1.7.0] - 2023-11-01 + +### Added + +- **Add official support for Python 3.12** ([#7803](https://github.com/python-poetry/poetry/pull/7803), [#8544](https://github.com/python-poetry/poetry/pull/8544)). +- **Print a future warning that `poetry-plugin-export` will not be installed by default anymore** ([#8562](https://github.com/python-poetry/poetry/pull/8562)). +- Add `poetry-install` pre-commit hook ([#8327](https://github.com/python-poetry/poetry/pull/8327)). +- Add `--next-phase` option to `poetry version` ([#8089](https://github.com/python-poetry/poetry/pull/8089)). +- Print a warning when overwriting files from another package at installation ([#8386](https://github.com/python-poetry/poetry/pull/8386)). +- Print a warning if the current project cannot be installed ([#8369](https://github.com/python-poetry/poetry/pull/8369)). +- Report more details on build backend exceptions ([#8464](https://github.com/python-poetry/poetry/pull/8464)). + +### Changed + +- Set Poetry as `user-agent` for all HTTP requests ([#8394](https://github.com/python-poetry/poetry/pull/8394)). +- Do not install `setuptools` per default in Python 3.12 ([#7803](https://github.com/python-poetry/poetry/pull/7803)). +- Do not install `wheel` per default ([#7803](https://github.com/python-poetry/poetry/pull/7803)). +- Remove `setuptools` and `wheel` when running `poetry install --sync` if they are not required by the project ([#8600](https://github.com/python-poetry/poetry/pull/#8600)). +- Improve error message about PEP-517 support ([#8463](https://github.com/python-poetry/poetry/pull/8463)). +- Improve `keyring` handling ([#8227](https://github.com/python-poetry/poetry/pull/8227)). +- Read the `description` field when extracting metadata from `setup.py` files ([#8545](https://github.com/python-poetry/poetry/pull/8545)). + +### Fixed + +- **Fix an issue where dependencies of inactive extras were locked and installed** ([#8399](https://github.com/python-poetry/poetry/pull/8399)). +- **Fix an issue where build requirements were not installed due to a race condition in the artifact cache** ([#8517](https://github.com/python-poetry/poetry/pull/8517)). +- Fix an issue where packages included in the system site packages were installed even though `virtualenvs.options.system-site-packages` was set ([#8359](https://github.com/python-poetry/poetry/pull/8359)). +- Fix an issue where git dependencies' submodules with relative URLs were handled incorrectly ([#8020](https://github.com/python-poetry/poetry/pull/8020)). +- Fix an issue where a failed installation of build dependencies was not noticed directly ([#8479](https://github.com/python-poetry/poetry/pull/8479)). +- Fix an issue where `poetry shell` did not work completely with `nushell` ([#8478](https://github.com/python-poetry/poetry/pull/8478)). +- Fix an issue where a confusing error messages was displayed when running `poetry config pypi-token.pypi` without a value ([#8502](https://github.com/python-poetry/poetry/pull/8502)). +- Fix an issue where a cryptic error message is printed if there is no metadata entry in the lockfile ([#8523](https://github.com/python-poetry/poetry/pull/8523)). +- Fix an issue with the encoding with special characters in the virtualenv's path ([#8565](https://github.com/python-poetry/poetry/pull/8565)). +- Fix an issue where the connection pool size was not adjusted to the number of workers ([#8559](https://github.com/python-poetry/poetry/pull/8559)). + +### Docs + +- Improve the wording regarding a project's supported Python range ([#8423](https://github.com/python-poetry/poetry/pull/8423)). +- Make `pipx` the preferred (first mentioned) installation method ([#8090](https://github.com/python-poetry/poetry/pull/8090)). +- Add a warning about `poetry self` on Windows ([#8090](https://github.com/python-poetry/poetry/pull/8090)). +- Fix example for `poetry add` with a git dependency ([#8438](https://github.com/python-poetry/poetry/pull/8438)). +- Add information about auto-included files in wheels and sdist ([#8555](https://github.com/python-poetry/poetry/pull/8555)). +- Fix documentation of the `POETRY_REPOSITORIES_` variables docs ([#8492](https://github.com/python-poetry/poetry/pull/8492)). +- Add `CITATION.cff` file ([#8510](https://github.com/python-poetry/poetry/pull/8510)). + +### poetry-core ([`1.8.1`](https://github.com/python-poetry/poetry-core/releases/tag/1.8.1)) + +- Add support for creating packages dynamically in the build script ([#629](https://github.com/python-poetry/poetry-core/pull/629)). +- Improve marker logic for `extra` markers ([#636](https://github.com/python-poetry/poetry-core/pull/636)). +- Update list of supported licenses ([#635](https://github.com/python-poetry/poetry-core/pull/635), [#646](https://github.com/python-poetry/poetry-core/pull/646)). +- Fix an issue where projects with extension modules were not installed in editable mode ([#633](https://github.com/python-poetry/poetry-core/pull/633)). +- Fix an issue where the wrong or no `lib` folder was added to the wheel ([#634](https://github.com/python-poetry/poetry-core/pull/634)). + +### poetry-plugin-export ([`^1.6.0`](https://github.com/python-poetry/poetry-plugin-export/releases/tag/1.6.0)) + +- Add an `--all-extras` option ([#241](https://github.com/python-poetry/poetry-plugin-export/pull/241)). +- Fix an issue where git dependencies are exported with the branch name instead of the resolved commit hash ([#213](https://github.com/python-poetry/poetry-plugin-export/pull/213)). + ## [1.6.1] - 2023-08-21 @@ -1966,7 +2024,8 @@ Initial release -[Unreleased]: https://github.com/python-poetry/poetry/compare/1.6.1...master +[Unreleased]: https://github.com/python-poetry/poetry/compare/1.7.0...master +[1.7.0]: https://github.com/python-poetry/poetry/releases/tag/1.7.0 [1.6.1]: https://github.com/python-poetry/poetry/releases/tag/1.6.1 [1.6.0]: https://github.com/python-poetry/poetry/releases/tag/1.6.0 [1.5.1]: https://github.com/python-poetry/poetry/releases/tag/1.5.1 diff --git a/pyproject.toml b/pyproject.toml index c6b50de9728..d582fcbf7eb 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "poetry" -version = "1.7.0.dev0" +version = "1.7.0" description = "Python dependency management and packaging made easy." authors = ["Sébastien Eustace "] maintainers = [ @@ -23,6 +23,8 @@ keywords = ["packaging", "dependency", "poetry"] classifiers = [ "Topic :: Software Development :: Build Tools", "Topic :: Software Development :: Libraries :: Python Modules", + # Classifiers for Python 3.12 can be removed after Poetry 1.7.0 has been released. + "Programming Language :: Python :: 3.12", ] [tool.poetry.urls]