Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

release: bump version to 2.0.0 #796

Merged
merged 1 commit into from
Jan 4, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
62 changes: 61 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,65 @@
# Change Log


## [2.0.0] - 2025-01-04

### Added

- **Add support for the `project` section in the `pyproject.toml` file according to PEP 621** ([#708](https://github.com/python-poetry/poetry-core/pull/708),
[#792](https://github.com/python-poetry/poetry-core/pull/792)).
- Add support for non PEP440 compliant version in the `platform_release` marker ([#722](https://github.com/python-poetry/poetry-core/pull/722)).
- Add support for string comparisons with `in` / `not in` in generic constraints ([#722](https://github.com/python-poetry/poetry-core/pull/722)).
- Add support for script files that are generated by a build script ([#710](https://github.com/python-poetry/poetry-core/pull/710)).
- Add support for `SOURCE_DATE_EPOCH` when building packages ([#766](https://github.com/python-poetry/poetry-core/pull/766),
[#781](https://github.com/python-poetry/poetry-core/pull/781)).

### Changed

- Drop support for Python 3.8 ([#798](https://github.com/python-poetry/poetry-core/pull/798)).
- Create `METADATA` files with version 2.3 instead of 2.2 ([#707](https://github.com/python-poetry/poetry-core/pull/707)).
- Normalize source vcs URLs ([#701](https://github.com/python-poetry/poetry-core/pull/701)).
- Make `allow-prereleases` a tri-state setting ([#783](https://github.com/python-poetry/poetry-core/pull/783)).
- Rename exceptions to have an `Error` suffix ([#767](https://github.com/python-poetry/poetry-core/pull/767)).
- Remove support for `x` in version constraints ([#770](https://github.com/python-poetry/poetry-core/pull/770)).
- Remove support for scripts with extras ([#708](https://github.com/python-poetry/poetry-core/pull/708)).
- Remove deprecated features and interfaces ([#702](https://github.com/python-poetry/poetry-core/pull/702),
[#769](https://github.com/python-poetry/poetry-core/pull/769)).
- Deprecate `tool.poetry.dev-dependencies` in favor of `tool.poetry.group.dev.dependencies` ([#754](https://github.com/python-poetry/poetry-core/pull/754)).
- Deprecate `Package.python_marker` ([#446](https://github.com/python-poetry/poetry-core/pull/446)).
- Improve Cygwin git support under Windows ([#704](https://github.com/python-poetry/poetry-core/pull/704)).
- Improve error message when the `pyproject.toml` file cannot be parsed ([#734](https://github.com/python-poetry/poetry-core/pull/734)).
- Improve handling of `readme` files ([#752](https://github.com/python-poetry/poetry-core/pull/752)).
- Improve error handling when the Python constraint is empty ([#761](https://github.com/python-poetry/poetry-core/pull/761)).
- Improve performance for creating a PEP 508 requirement from a dependency ([#779](https://github.com/python-poetry/poetry-core/pull/779)).
- Update list of supported licenses ([#706](https://github.com/python-poetry/poetry-core/pull/706),
[#718](https://github.com/python-poetry/poetry-core/pull/718),
[#727](https://github.com/python-poetry/poetry-core/pull/727),
[#736](https://github.com/python-poetry/poetry-core/pull/736),
[#746](https://github.com/python-poetry/poetry-core/pull/746),
[#755](https://github.com/python-poetry/poetry-core/pull/755),
[#764](https://github.com/python-poetry/poetry-core/pull/764),
[#784](https://github.com/python-poetry/poetry-core/pull/784),
[#787](https://github.com/python-poetry/poetry-core/pull/787),
[#795](https://github.com/python-poetry/poetry-core/pull/795)).

### Fixed

- Fix an issue where the `platlib` directory of the wrong Python was used ([#726](https://github.com/python-poetry/poetry-core/pull/726)).
- Fix handling of generic constraints ([#732](https://github.com/python-poetry/poetry-core/pull/732)).
- Fix an issue where building a wheel in a nested output directory results in an error ([#762](https://github.com/python-poetry/poetry-core/pull/762)).
- Fix an issue where `+` was not allowed in git URL paths ([#765](https://github.com/python-poetry/poetry-core/pull/765)).
- Fix an issue where the temporary directory was not cleaned up on error ([#775](https://github.com/python-poetry/poetry-core/pull/775)).
- Fix an issue where the regular expression for author names was too restrictive ([#517](https://github.com/python-poetry/poetry-core/pull/517)).
- Fix an issue where basic auth http(s) credentials could not be parsed ([#791](https://github.com/python-poetry/poetry-core/pull/791)).

### Vendoring

- [`fastjsonschema==2.21.1`](https://github.com/horejsek/python-fastjsonschema/blob/master/CHANGELOG.txt)
- [`lark==1.2.2`](https://github.com/lark-parser/lark/releases/tag/1.2.2)
- [`packaging==24.2`](https://github.com/pypa/packaging/blob/main/CHANGELOG.rst)
- [`tomli==2.2.1`](https://github.com/hukkin/tomli/blob/master/CHANGELOG.md)


## [1.9.1] - 2024-10-13

### Added
Expand Down Expand Up @@ -640,7 +699,8 @@ No changes.
- Fixed support for stub-only packages ([#28](https://github.com/python-poetry/core/pull/28)).


[Unreleased]: https://github.com/python-poetry/poetry-core/compare/1.9.1...main
[Unreleased]: https://github.com/python-poetry/poetry-core/compare/2.0.0...main
[2.0.0]: https://github.com/python-poetry/poetry-core/releases/tag/2.0.0
[1.9.1]: https://github.com/python-poetry/poetry-core/releases/tag/1.9.1
[1.9.0]: https://github.com/python-poetry/poetry-core/releases/tag/1.9.0
[1.8.1]: https://github.com/python-poetry/poetry-core/releases/tag/1.8.1
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "poetry-core"
version = "2.0.0.dev0"
version = "2.0.0"
description = "Poetry PEP 517 Build Backend"
authors = ["Sébastien Eustace <[email protected]>"]
license = "MIT"
Expand Down
2 changes: 1 addition & 1 deletion src/poetry/core/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

# this cannot presently be replaced with importlib.metadata.version as when building
# itself, poetry-core is not available as an installed distribution.
__version__ = "2.0.0.dev0"
__version__ = "2.0.0"

__vendor_site__ = (Path(__file__).parent / "_vendor").as_posix()

Expand Down
Loading