diff --git a/.github/workflows/downstream.yml b/.github/workflows/downstream.yml index a87bfb8e5..293f9acfb 100644 --- a/.github/workflows/downstream.yml +++ b/.github/workflows/downstream.yml @@ -55,7 +55,12 @@ jobs: - name: Switch downstream to development poetry-core working-directory: ./poetry - run: poetry add --lock --group test ../poetry-core + run: | + # remove poetry-core from main group to avoid version conflicts + # with a potential entry in the test group + poetry remove poetry-core + # add to test group to overwrite a potential entry in that group + poetry add --lock --group test ../poetry-core - name: Install downstream dependencies working-directory: ./poetry diff --git a/CHANGELOG.md b/CHANGELOG.md index d1879ef17..563b5beb9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,24 @@ # Change Log +## [1.3.0] - 2022-10-05 + +### Added + +- Add `3.11` to the list of available Python versions ([#477](https://github.com/python-poetry/poetry-core/pull/477)). + +### Changed + +- Deprecate `poetry.core.constraints.generic`, which is replaced by `poetry.core.packages.constraints` ([#482](https://github.com/python-poetry/poetry-core/pull/482)). +- Deprecate `poetry.core.semver`, which is replaced by `poetry.core.constraints.version` ([#482](https://github.com/python-poetry/poetry-core/pull/482)). + +### Fixed + +- Fix an issue where versions were escaped wrongly when building the wheel name ([#469](https://github.com/python-poetry/poetry-core/pull/469)). +- Fix an issue where caret constraints of pre-releases with a major version of 0 resulted in an empty version range ([#475](https://github.com/python-poetry/poetry-core/pull/475)). +- Fix an issue where the names of extras were not normalized according to PEP 685 ([#476](https://github.com/python-poetry/poetry-core/pull/476)). +- Fix an issue where sdist names were not normalized ([#484](https://github.com/python-poetry/poetry-core/pull/484)). + + ## [1.2.0] - 2022-09-13 ### Added @@ -7,6 +26,7 @@ - Added support for subdirectories in `url` dependencies ([#398](https://github.com/python-poetry/poetry-core/pull/398)). ### Changed + - When setting an invalid version constraint an error is raised instead of silently setting "any version" ([#461](https://github.com/python-poetry/poetry-core/pull/461)). - Allow more characters in author name ([#411](https://github.com/python-poetry/poetry-core/pull/411)). @@ -33,6 +53,7 @@ ## [1.1.0rc2] - 2022-08-26 ### Changed + - Enabled setting `version` of `ProjectPackage` to support dynamically setting the project's package version (e.g. from a plugin) ([#447](https://github.com/python-poetry/poetry-core/pull/447)). ### Fixed @@ -385,7 +406,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.2.0...main +[Unreleased]: https://github.com/python-poetry/poetry-core/compare/1.3.0...main +[1.3.0]: https://github.com/python-poetry/poetry-core/releases/tag/1.3.0 [1.2.0]: https://github.com/python-poetry/poetry-core/releases/tag/1.2.0 [1.1.0]: https://github.com/python-poetry/poetry-core/releases/tag/1.1.0 [1.1.0rc3]: https://github.com/python-poetry/poetry-core/releases/tag/1.1.0rc3 diff --git a/pyproject.toml b/pyproject.toml index db8fb06b7..e558b9b7a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "poetry-core" -version = "1.2.0" +version = "1.3.0" description = "Poetry PEP 517 Build Backend" authors = ["Sébastien Eustace "] diff --git a/src/poetry/core/__init__.py b/src/poetry/core/__init__.py index 422373512..f53c46eb6 100644 --- a/src/poetry/core/__init__.py +++ b/src/poetry/core/__init__.py @@ -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__ = "1.2.0" +__version__ = "1.3.0" __vendor_site__ = (Path(__file__).parent / "_vendor").as_posix()