Accepting request 1082582 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1082582 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-poetry-core?expand=0&rev=15
This commit is contained in:
commit
5a7f0b2334
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:621c2f84c6ec15e4ef450600870d62830f56b0bc608f0cc55e887ab50a7876a9
|
||||
size 556575
|
BIN
poetry-core-1.5.2-gh.tar.gz
(Stored with Git LFS)
Normal file
BIN
poetry-core-1.5.2-gh.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
@ -1,3 +1,50 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 24 17:44:26 UTC 2023 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
- Update to 1.5.2
|
||||
* no changes relevant for Linux
|
||||
- Release 1.5.1
|
||||
* Improve performance by caching parsed markers, constraints and
|
||||
versions (#556).
|
||||
- Release 1.5.0
|
||||
## Added
|
||||
* Improve marker handling (#528, #534, #530, #546, #547).
|
||||
* Allow overriding the output directory when building dist files
|
||||
(#527).
|
||||
* Validate whether dependencies referenced in extras are defined
|
||||
in the main dependency group (#542).
|
||||
* Improve handling of generic constraints (#515).
|
||||
## Changed
|
||||
* Deprecate the hash function of FileDependency (#535).
|
||||
* Do not set allows_preleases implicitly anymore if the lower
|
||||
bound of a constraint is a pre-release (#543).
|
||||
* Poetry no longer generates a setup.py file in sdists by default
|
||||
(#318).
|
||||
* Remove the unused platform attribute from Package (#548).
|
||||
* Deprecate the pretty_version parameter when creating a Package
|
||||
(#549).
|
||||
* Validate path dependencies during use instead of during
|
||||
construction (#520).
|
||||
## Fixed
|
||||
* Fix an issue where the PEP 517 metadata_directory was not
|
||||
respected when building an editable wheel (#537).
|
||||
* Fix an issue where trailing newlines were allowed in
|
||||
tool.poetry.description (#505).
|
||||
* Fix an issue where the name of the data folder in wheels was
|
||||
not normalized (#532).
|
||||
* Fix an issue where the order of entries in the RECORD file was
|
||||
not deterministic (#545).
|
||||
* Fix an issue where parsing of VCS URLs with escaped characters
|
||||
failed (#524).
|
||||
* Fix an issue where the subdirectory parameter of VCS URLs was
|
||||
not respected (#518).
|
||||
* Fix an issue where zero padding was not correctly handled in
|
||||
version comparisons (#540).
|
||||
* Fix an issue where sdist builds did not support multiple
|
||||
READMEs (#486).
|
||||
- Remove devendoring: produces too many build dependency cycles as
|
||||
a build backend
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 21 12:29:34 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
|
@ -18,36 +18,23 @@
|
||||
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-poetry-core
|
||||
Version: 1.4.0
|
||||
Version: 1.5.2
|
||||
Release: 0
|
||||
Summary: Python poetry core utilities
|
||||
License: MIT
|
||||
License: Apache-2.0 AND BSD-2-Clause AND MIT AND Python-2.0
|
||||
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 >= 22.1.0}
|
||||
BuildRequires: %{python_module base >= 3.7}
|
||||
BuildRequires: %{python_module jsonschema >= 4.16.0}
|
||||
BuildRequires: %{python_module lark >= 1.1.3}
|
||||
BuildRequires: %{python_module packaging >= 21.3}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module pyparsing >= 3.0.9}
|
||||
BuildRequires: %{python_module pyrsistent >= 0.18.1}
|
||||
BuildRequires: %{python_module tomlkit >= 0.11.5}
|
||||
BuildRequires: %{python_module typing-extensions >= 4.4.0}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-attrs >= 22.1.0
|
||||
Requires: python-jsonschema >= 4.16.0
|
||||
Requires: python-lark >= 1.1.3
|
||||
Requires: python-packaging >= 21.3
|
||||
Requires: python-pyparsing >= 3.0.9
|
||||
Requires: python-pyrsistent >= 0.18.1
|
||||
Requires: python-tomlkit >= 0.11.5
|
||||
Requires: python-typing-extensions >= 4.4.0
|
||||
%if %{python_version_nodots} < 38
|
||||
Requires: python-importlib-metadata >= 1.7.0
|
||||
%endif
|
||||
BuildArch: noarch
|
||||
# SECTION these are all test dependencies, including devel and git
|
||||
# SECTION these are all test dependencies, including python-devel and git-core
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module build}
|
||||
BuildRequires: %{python_module pytest-mock}
|
||||
@ -64,8 +51,16 @@ PEP 517 compatible build frontends to build Poetry managed projects.
|
||||
|
||||
%prep
|
||||
%setup -q -n poetry-core-%{version}
|
||||
# unbundle: we provide the vendored packages on our own
|
||||
rm -r src/poetry/core/_vendor
|
||||
mkdir vendoredlicenses
|
||||
cp src/poetry/core/_vendor/attrs/LICENSE vendoredlicenses/attrs.LICENSE
|
||||
cp src/poetry/core/_vendor/jsonschema/COPYING vendoredlicenses/jsonschema.COPYING
|
||||
cp src/poetry/core/_vendor/lark/LICENSE vendoredlicenses/lark.LICENSE
|
||||
cp src/poetry/core/_vendor/packaging/LICENSE vendoredlicenses/packaging.LICENSE
|
||||
cp src/poetry/core/_vendor/packaging/LICENSE.APACHE vendoredlicenses/packaging.LICENSE.APACHE
|
||||
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/tomlkit/LICENSE vendoredlicenses/tomlkit.LICENSE
|
||||
cp src/poetry/core/_vendor/typing_extensions.LICENSE vendoredlicenses/typing_extensions.LICENSE
|
||||
|
||||
%build
|
||||
%pyproject_wheel
|
||||
@ -81,7 +76,7 @@ git init
|
||||
|
||||
%files %{python_files}
|
||||
%doc README.md
|
||||
%license LICENSE
|
||||
%license LICENSE vendoredlicenses/*
|
||||
%dir %{python_sitelib}/poetry
|
||||
%{python_sitelib}/poetry/core
|
||||
%{python_sitelib}/poetry_core-%{version}.dist-info
|
||||
|
Loading…
Reference in New Issue
Block a user