Accepting request 1113184 from devel:languages:python

- Update to 1.7.0
  ## Added
  * Optionally use resolved references when converting a VCS
    dependency to a PEP 508 dependency specification (#603).
  * Improve performance of marker handling (#609).
  ## Changed
  * Drop support for Python 3.7 (#566).
  * Remove deprecated poetry.core.constraints.generic and
    poetry.core.semver (#601).
  * Allow | as a value separator in markers with the operators in
    and not in (#608).
  * Put pretty name (instead of normalized name) in metadata
    (#620).
  * Update list of supported licenses (#623).
  ## Fixed
  * Fix an issue where the encoding was not handled correctly when
    calling a subprocess (#602).
  * Fix an issue where caret constraints with additional whitespace
    could not be parsed (#606).
  * Fix an issue where PEP 508 dependency specifications with names
    starting with a digit could not be parsed (#607).
  * Fix an issue where Poetry considered an unrelated .gitignore
    file resulting in an empty wheel (#611).

OBS-URL: https://build.opensuse.org/request/show/1113184
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-poetry-core?expand=0&rev=18
This commit is contained in:
Ana Guerrero 2023-09-25 17:59:56 +00:00 committed by Git OBS Bridge
commit f0f4fce420
4 changed files with 32 additions and 9 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:77fafe290509000ff8f9f808cd8ad99da504d2cb830d05323082967274028823
size 477291

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:302ede6fabb5935e1b6d0956376bb92e9874468f95cb8916eeb97e7a09276350
size 459637

View File

@ -1,3 +1,30 @@
-------------------------------------------------------------------
Sat Sep 23 10:06:31 UTC 2023 - Ben Greiner <code@bnavigator.de>
- Update to 1.7.0
## Added
* Optionally use resolved references when converting a VCS
dependency to a PEP 508 dependency specification (#603).
* Improve performance of marker handling (#609).
## Changed
* Drop support for Python 3.7 (#566).
* Remove deprecated poetry.core.constraints.generic and
poetry.core.semver (#601).
* Allow | as a value separator in markers with the operators in
and not in (#608).
* Put pretty name (instead of normalized name) in metadata
(#620).
* Update list of supported licenses (#623).
## Fixed
* Fix an issue where the encoding was not handled correctly when
calling a subprocess (#602).
* Fix an issue where caret constraints with additional whitespace
could not be parsed (#606).
* Fix an issue where PEP 508 dependency specifications with names
starting with a digit could not be parsed (#607).
* Fix an issue where Poetry considered an unrelated .gitignore
file resulting in an empty wheel (#611).
-------------------------------------------------------------------
Mon May 29 17:00:46 UTC 2023 - Ben Greiner <code@bnavigator.de>

View File

@ -18,7 +18,7 @@
%{?sle15_python_module_pythons}
Name: python-poetry-core
Version: 1.6.1
Version: 1.7.0
Release: 0
Summary: Poetry PEP 517 Build Backend
License: Apache-2.0 AND BSD-2-Clause AND MIT AND Python-2.0
@ -26,13 +26,10 @@ 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 base >= 3.7}
BuildRequires: %{python_module base >= 3.8}
BuildRequires: %{python_module pip}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
%if %{python_version_nodots} < 38
Requires: python-importlib-metadata >= 1.7.0
%endif
BuildArch: noarch
# SECTION these are all test dependencies, including python-devel and git-core
BuildRequires: %{python_module devel}
@ -61,7 +58,6 @@ cp src/poetry/core/_vendor/packaging/LICENSE.APACHE vendoredlicenses/packaging.
cp src/poetry/core/_vendor/packaging/LICENSE.BSD vendoredlicenses/packaging.LICENSE.BSD
cp src/poetry/core/_vendor/pyrsistent/LICENSE.mit vendoredlicenses/pyrsistent.LICENSE.mit
cp src/poetry/core/_vendor/tomli/LICENSE vendoredlicenses/tomli.LICENSE
cp src/poetry/core/_vendor/typing_extensions.LICENSE vendoredlicenses/typing_extensions.LICENSE
%build
%pyproject_wheel