From f93d308af4fbda8ad6dbc4f60059e054641285bc9ff68e7e71fe1efb786b6fd1 Mon Sep 17 00:00:00 2001 From: Benjamin Greiner Date: Sun, 9 Oct 2022 10:26:53 +0000 Subject: [PATCH] Accepting request 1009081 from home:bnavigator:branches:devel:languages:python - Update to 1.3.2 * Fix an issue where the normalization was not applied to the path of an sdist built using a PEP 517 frontend (#495). - Release 1.3.1 * Fix an issue where a typing-driven assertion could be false at runtime, causing a failure during prepare_metadata_for_build_wheel (#492). - Release 1.3.0 * Add 3.11 to the list of available Python versions (#477). * Deprecate poetry.core.constraints.generic, which is replaced by poetry.core.packages.constraints (#482). * Deprecate poetry.core.semver, which is replaced by poetry.core.constraints.version (#482). * Fix an issue where versions were escaped wrongly when building the wheel name (#469). * Fix an issue where caret constraints of pre-releases with a major version of 0 resulted in an empty version range (#475). * Fix an issue where the names of extras were not normalized according to PEP 685 (#476). * Fix an issue where sdist names were not normalized (#484). - Release 1.2.0 * Added support for subdirectories in url dependencies (#398). * When setting an invalid version constraint an error is raised instead of silently setting "any version" (#461). * Allow more characters in author name (#411). * Fixed an issue where incorrect Requires-Dist information was generated when environment markers where used for optional packages (#462). * Fixed an issue where incorrect python constraints were parsed from environment markers (#457). OBS-URL: https://build.opensuse.org/request/show/1009081 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-poetry-core?expand=0&rev=12 --- poetry-core-1.0.8-gh.tar.gz | 3 -- poetry-core-1.3.2-gh.tar.gz | 3 ++ python-poetry-core.changes | 87 +++++++++++++++++++++++++++++++++++++ python-poetry-core.spec | 45 +++++++++---------- 4 files changed, 111 insertions(+), 27 deletions(-) delete mode 100644 poetry-core-1.0.8-gh.tar.gz create mode 100644 poetry-core-1.3.2-gh.tar.gz diff --git a/poetry-core-1.0.8-gh.tar.gz b/poetry-core-1.0.8-gh.tar.gz deleted file mode 100644 index de6a1f5..0000000 --- a/poetry-core-1.0.8-gh.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:b8795006e169a24e0e114ba1c03217716cd190e8d2716c796ddc5ed0382dbca8 -size 414941 diff --git a/poetry-core-1.3.2-gh.tar.gz b/poetry-core-1.3.2-gh.tar.gz new file mode 100644 index 0000000..a556707 --- /dev/null +++ b/poetry-core-1.3.2-gh.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:731c2e35874ee97f73ed42d8a332cd21cf2ab1f156db6a5adb00e6119bc51226 +size 539267 diff --git a/python-poetry-core.changes b/python-poetry-core.changes index fc374ce..182c934 100644 --- a/python-poetry-core.changes +++ b/python-poetry-core.changes @@ -1,3 +1,90 @@ +------------------------------------------------------------------- +Sun Oct 9 10:20:58 UTC 2022 - Ben Greiner + +- Update to 1.3.2 + * Fix an issue where the normalization was not applied to the + path of an sdist built using a PEP 517 frontend (#495). +- Release 1.3.1 + * Fix an issue where a typing-driven assertion could be false at + runtime, causing a failure during + prepare_metadata_for_build_wheel (#492). +- Release 1.3.0 + * Add 3.11 to the list of available Python versions (#477). + * Deprecate poetry.core.constraints.generic, which is replaced by + poetry.core.packages.constraints (#482). + * Deprecate poetry.core.semver, which is replaced by + poetry.core.constraints.version (#482). + * Fix an issue where versions were escaped wrongly when building + the wheel name (#469). + * Fix an issue where caret constraints of pre-releases with a + major version of 0 resulted in an empty version range (#475). + * Fix an issue where the names of extras were not normalized + according to PEP 685 (#476). + * Fix an issue where sdist names were not normalized (#484). +- Release 1.2.0 + * Added support for subdirectories in url dependencies (#398). + * When setting an invalid version constraint an error is raised + instead of silently setting "any version" (#461). + * Allow more characters in author name (#411). + * Fixed an issue where incorrect Requires-Dist information was + generated when environment markers where used for optional + packages (#462). + * Fixed an issue where incorrect python constraints were parsed + from environment markers (#457). + * Fixed the hashing of markers and constraints (#466). + * Fixed an issue where the PEP 508 name of directory dependencies + used platform paths (#463). +- Release 1.1.0 + * Dropped support for Python 2.7 and 3.6 (#131, #263). + * Reorganized imports internally to improve performances (#131). + * Directory dependencies are now in non-develop mode by default + (#98). + * Improved support for PEP 440 specific versions that do not + abide by semantic versioning (#140). + * Files in source distributions now have a deterministic time to + improve reproducibility. (#142) + * Added support for script files in addition to standard entry + points. (#40) + * Added support for dependency groups. (#183) + * Add support for most of the guaranteed hashes (#207). + * Add support to declare multiple README files (#248). + * Add support for git sub directories (#192). + * Add hooks according to PEP-660 for editable installs (#182). + * Add support for version epochs (#264). + * Loose the strictness when parsing version constraint to support + invalid use of wildcards, e.g. >=3.* (#186). + * No longer assume a default git branch name (#192). + * Sort package name in extras to make it reproducible (#280). + * Improve marker handling (#208, #282, #283, #284, #286, #291, + #293, #294, #297). + * Added support for handling git urls with subdirectory (#288). + * Added support for metadata files as described in PEP-658 for + PEP-503 "simple" API repositories (#333). + * Renamed dependency group of runtime dependencies to from + default to main (#326). + * poetry-core is now completely type checked. + * Improved the SemVer constraint parsing (#327). + * Improved the speed when cloning git repositories (#290). + * Added support for valid PEP 517 projects with another + build-system than poetry-core as directory dependencies (#368, + #377). + * Added support for yanked files and releases according to PEP + 592 (#400). + * Relaxed schema validation to allow additional properties + (#369). + * Harmonized string representation of dependencies (#393). + * Changed wheel name normalization to follow most recent + packaging specification (#394). + * Changed equality check of direct origin dependencies, so that + constraints are not considered anymore (#405). + * Deprecated Dependency.set_constraint() and replaced it by a + constraint property for consistency (#370). + * Removed Package.requires_extras (#374). + * Improved marker handling (#380, #383, #384, #390, #395). + * Enabled setting version of ProjectPackage to support + dynamically setting the project's package version (e.g. from a + plugin) (#447). + ------------------------------------------------------------------- Fri Mar 18 11:05:18 UTC 2022 - Ben Greiner diff --git a/python-poetry-core.spec b/python-poetry-core.spec index 25c859c..734cb9a 100644 --- a/python-poetry-core.spec +++ b/python-poetry-core.spec @@ -16,10 +16,8 @@ # -%define skip_python2 1 -%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-poetry-core -Version: 1.0.8 +Version: 1.3.2 Release: 0 Summary: Python poetry core utilities License: MIT @@ -27,32 +25,33 @@ Group: Development/Languages/Python URL: https://github.com/python-poetry/poetry-core # Only the github archive provides the tests Source: %{url}/archive/%{version}.tar.gz#/poetry-core-%{version}-gh.tar.gz -BuildRequires: %{python_module attrs >= 19.3.0} -BuildRequires: %{python_module jsonschema >= 3.2.0} -BuildRequires: %{python_module lark-parser >= 0.9.0} -BuildRequires: %{python_module packaging >= 20.4} +BuildRequires: %{python_module attrs >= 22.1.0} +BuildRequires: %{python_module base >= 3.7} +BuildRequires: %{python_module jsonschema >= 4.1.0} +BuildRequires: %{python_module lark-parser >= 1.1.2} +BuildRequires: %{python_module packaging >= 21.3} BuildRequires: %{python_module pip} -BuildRequires: %{python_module pyparsing >= 2.4.7} -BuildRequires: %{python_module pyrsistent >= 0.16.0} -BuildRequires: %{python_module six >= 1.15.0} -BuildRequires: %{python_module tomlkit >= 0.7.0} +BuildRequires: %{python_module pyparsing >= 3.0.9} +BuildRequires: %{python_module pyrsistent >= 0.18.1} +BuildRequires: %{python_module tomlkit >= 0.11.3} +BuildRequires: %{python_module typing-extensions >= 4.3.0} +BuildRequires: fdupes BuildRequires: python-rpm-macros -Requires: python-attrs >= 19.3.0 -Requires: python-jsonschema >= 3.2.0 -Requires: python-lark-parser >= 0.9.0 -Requires: python-packaging >= 20.4 -Requires: python-pyparsing >= 2.4.7 -Requires: python-pyrsistent >= 0.16.0 -Requires: python-six >= 1.15.0 -Requires: python-tomlkit >= 0.7.0 +Requires: python-attrs >= 22.1.0 +Requires: python-jsonschema >= 4.1.0 +Requires: python-lark-parser >= 1.1.2 +Requires: python-packaging >= 21.3 +Requires: python-pyparsing >= 3.0.9 +Requires: python-pyrsistent >= 0.18.1 +Requires: python-tomlkit >= 0.11.3 +Requires: python-typing-extensions >= 4.3.0 BuildArch: noarch # SECTION these are all test dependencies, including devel and git BuildRequires: %{python_module devel} -BuildRequires: %{python_module pep517} +BuildRequires: %{python_module build} BuildRequires: %{python_module pytest-mock} BuildRequires: %{python_module pytest} BuildRequires: %{python_module virtualenv} -BuildRequires: fdupes BuildRequires: git-core # /SECTION %python_subpackages @@ -64,10 +63,8 @@ PEP 517 compatible build frontends to build Poetry managed projects. %prep %setup -q -n poetry-core-%{version} -# python-poetry will provide this file -rm poetry/__init__.py # unbundle: we provide the vendored packages on our own -rm -r poetry/core/_vendor +rm -r src/poetry/core/_vendor %build %pyproject_wheel