Compare commits
1 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 45383d2306 |
BIN
poetry-core-1.5.2-gh.tar.gz
LFS
Normal file
BIN
poetry-core-1.5.2-gh.tar.gz
LFS
Normal file
Binary file not shown.
BIN
poetry-core-1.9.0-gh.tar.gz
LFS
BIN
poetry-core-1.9.0-gh.tar.gz
LFS
Binary file not shown.
@@ -1,127 +1,3 @@
|
|||||||
-------------------------------------------------------------------
|
|
||||||
Thu Sep 19 04:14:57 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
|
|
||||||
|
|
||||||
- Add patch support-newer-pythons.patch:
|
|
||||||
* Remove failing test with Python 3.12.6 and 3.13.
|
|
||||||
- Switch to autosetup macro.
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Mon Sep 9 18:50:14 UTC 2024 - Ben Greiner <code@bnavigator.de>
|
|
||||||
|
|
||||||
- Skip test failing with Python 3.12.6 gh#python-poetry/poetry#9678
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Tue Mar 19 15:29:49 UTC 2024 - Matej Cepl <mcepl@cepl.eu>
|
|
||||||
|
|
||||||
- Update to 1.9.0 (bsc#1221705):
|
|
||||||
- Added
|
|
||||||
- Add a to key in tool.poetry.packages to allow custom
|
|
||||||
subpackage names
|
|
||||||
- Add support for path dependencies that do not define a
|
|
||||||
build system
|
|
||||||
- Add a tool.poetry.package-mode key to support non-package
|
|
||||||
mode
|
|
||||||
- Changed
|
|
||||||
- Update list of supported licenses
|
|
||||||
- Improve support for PEP 691 JSON-based Simple API
|
|
||||||
- Establish zipapp compatibility
|
|
||||||
- Rework list of files included in build artifacts
|
|
||||||
- Improve performance by treating collections in packages as
|
|
||||||
immutable
|
|
||||||
- Deprecate poetry.core.masonry.builder
|
|
||||||
- Deprecate scripts that depend on extras
|
|
||||||
- Fixed
|
|
||||||
- Fix an issue where insignificant errors were printed if the
|
|
||||||
working directory is not inside a git repository
|
|
||||||
- Fix an issue where the project's directory was not
|
|
||||||
recognized as git repository on Windows due to an encoding
|
|
||||||
issue
|
|
||||||
- Vendoring
|
|
||||||
fastjsonschema==2.19.1
|
|
||||||
lark==1.1.8
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Tue Jan 2 19:14:12 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
|
||||||
|
|
||||||
- update to 1.8.1:
|
|
||||||
* Fix an issue where git URLs starting with `git+` could not be
|
|
||||||
parsed anymore (#657).
|
|
||||||
* Add `3.12` to the list of available Python versions (#631).
|
|
||||||
* Add support for creating packages dynamically in the build
|
|
||||||
script
|
|
||||||
* Improve marker logic for `extra` markers (#636).
|
|
||||||
* Update list of supported licenses (#635,
|
|
||||||
* #646).
|
|
||||||
* Deprecate `Dependency.transitive_python_versions` (#648).
|
|
||||||
* Deprecate `Dependency.transitive_python_constraint` (#649).
|
|
||||||
* Fix an issue where projects with extension modules were not
|
|
||||||
installed in editable mode (#633).
|
|
||||||
* Fix an issue where the wrong or no `lib` folder was added to
|
|
||||||
the wheel (#634).
|
|
||||||
* Replace `jsonschema` with `fastjsonschema`.
|
|
||||||
* `lark==1.1.8`
|
|
||||||
* `packaging==23.2`
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
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>
|
|
||||||
|
|
||||||
- Update to 1.6.1
|
|
||||||
* Fix an endless recursion in marker handling (#593).
|
|
||||||
* Fix an issue where the wheel tag was not built correctly under
|
|
||||||
certain circumstances (#591).
|
|
||||||
* Fix an issue where the tests included in the sdist failed due
|
|
||||||
to missing files (#589).
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Mon May 22 20:41:26 UTC 2023 - Ben Greiner <code@bnavigator.de>
|
|
||||||
|
|
||||||
- Update description
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Mon May 22 07:52:37 UTC 2023 - Dan Čermák <dcermak@suse.com>
|
|
||||||
|
|
||||||
- New upstream release 1.6.0
|
|
||||||
* Improve error message for invalid markers (#569).
|
|
||||||
* Increase robustness when deleting temporary directories on
|
|
||||||
Windows (#460).
|
|
||||||
* Replace tomlkit with tomli, which changes the interface of some
|
|
||||||
internal classes (#483).
|
|
||||||
* Deprecate Package.category (#561).
|
|
||||||
* Fix a performance regression in marker handling (#568).
|
|
||||||
* Fix an issue where wildcard version constraints were not
|
|
||||||
handled correctly (#402).
|
|
||||||
* Fix an issue where poetry build created duplicate Python
|
|
||||||
classifiers if they were specified manually (#578).
|
|
||||||
* Fix an issue where local versions where not handled correctly
|
|
||||||
(#579).
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Apr 24 17:44:26 UTC 2023 - Ben Greiner <code@bnavigator.de>
|
Mon Apr 24 17:44:26 UTC 2023 - Ben Greiner <code@bnavigator.de>
|
||||||
|
|
||||||
@@ -187,7 +63,7 @@ Tue Dec 13 17:40:10 UTC 2022 - Benjamin Greiner <code@bnavigator.de>
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Dec 13 16:06:09 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
|
Tue Dec 13 16:06:09 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
|
||||||
|
|
||||||
- Update to version 1.4.0
|
- Update to version 1.4.0
|
||||||
* Added
|
* Added
|
||||||
The PEP 517 metadata_directory is now respected as an input to the build_wheel hook (#487).
|
The PEP 517 metadata_directory is now respected as an input to the build_wheel hook (#487).
|
||||||
* Changed
|
* Changed
|
||||||
@@ -353,7 +229,7 @@ Wed Apr 14 21:43:18 UTC 2021 - Ben Greiner <code@bnavigator.de>
|
|||||||
* Fixed the PEP-508 representation of some dependencies (#103).
|
* Fixed the PEP-508 representation of some dependencies (#103).
|
||||||
* Fixed the Requires-Python metadata generation (#127).
|
* Fixed the Requires-Python metadata generation (#127).
|
||||||
* Fixed an error where pre-release versions were accepted in
|
* Fixed an error where pre-release versions were accepted in
|
||||||
version constraints (#128).
|
version constraints (#128).
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Oct 20 11:20:59 UTC 2020 - Dan Čermák <dcermak@suse.com>
|
Tue Oct 20 11:20:59 UTC 2020 - Dan Čermák <dcermak@suse.com>
|
||||||
@@ -369,7 +245,7 @@ Fri Oct 16 17:01:46 UTC 2020 - Benjamin Greiner <code@bnavigator.de>
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Oct 10 20:06:27 UTC 2020 - Benjamin Greiner <code@bnavigator.de>
|
Sat Oct 10 20:06:27 UTC 2020 - Benjamin Greiner <code@bnavigator.de>
|
||||||
|
|
||||||
- unbundle vendored packages
|
- unbundle vendored packages
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Oct 8 18:49:33 UTC 2020 - Benjamin Greiner <code@bnavigator.de>
|
Thu Oct 8 18:49:33 UTC 2020 - Benjamin Greiner <code@bnavigator.de>
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-poetry-core
|
# spec file for package python-poetry-core
|
||||||
#
|
#
|
||||||
# Copyright (c) 2024 SUSE LLC
|
# Copyright (c) 2023 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -18,26 +18,27 @@
|
|||||||
|
|
||||||
%{?sle15_python_module_pythons}
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-poetry-core
|
Name: python-poetry-core
|
||||||
Version: 1.9.0
|
Version: 1.5.2
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Poetry PEP 517 Build Backend
|
Summary: Python poetry core utilities
|
||||||
License: Apache-2.0 AND BSD-2-Clause AND MIT AND Python-2.0
|
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
|
URL: https://github.com/python-poetry/poetry-core
|
||||||
# Only the github archive provides the tests
|
# Only the github archive provides the tests
|
||||||
Source: %{url}/archive/%{version}.tar.gz#/poetry-core-%{version}-gh.tar.gz
|
Source: %{url}/archive/%{version}.tar.gz#/poetry-core-%{version}-gh.tar.gz
|
||||||
# PATCH-FIX-UPSTREAM gh#python-poetry/poetry-core#758
|
BuildRequires: %{python_module base >= 3.7}
|
||||||
Patch0: support-newer-pythons.patch
|
|
||||||
BuildRequires: %{python_module base >= 3.8}
|
|
||||||
BuildRequires: %{python_module pip}
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
|
%if %{python_version_nodots} < 38
|
||||||
|
Requires: python-importlib-metadata >= 1.7.0
|
||||||
|
%endif
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
# SECTION these are all test dependencies, including python-devel and git-core
|
# SECTION these are all test dependencies, including python-devel and git-core
|
||||||
BuildRequires: %{python_module devel}
|
BuildRequires: %{python_module devel}
|
||||||
BuildRequires: %{python_module build}
|
BuildRequires: %{python_module build}
|
||||||
BuildRequires: %{python_module pytest-mock}
|
BuildRequires: %{python_module pytest-mock}
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
BuildRequires: %{python_module tomli-w}
|
|
||||||
BuildRequires: %{python_module virtualenv}
|
BuildRequires: %{python_module virtualenv}
|
||||||
BuildRequires: git-core
|
BuildRequires: git-core
|
||||||
# /SECTION
|
# /SECTION
|
||||||
@@ -49,14 +50,17 @@ intended to be a light weight, fully compliant, self-contained package allowing
|
|||||||
PEP 517 compatible build frontends to build Poetry managed projects.
|
PEP 517 compatible build frontends to build Poetry managed projects.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -p1 -n poetry-core-%{version}
|
%setup -q -n poetry-core-%{version}
|
||||||
mkdir vendoredlicenses
|
mkdir vendoredlicenses
|
||||||
cp -p src/poetry/core/_vendor/lark/LICENSE vendoredlicenses/lark.LICENSE
|
cp src/poetry/core/_vendor/attrs/LICENSE vendoredlicenses/attrs.LICENSE
|
||||||
cp -p src/poetry/core/_vendor/fastjsonschema/LICENSE vendoredlicenses/fastjsonschema.LICENSE
|
cp src/poetry/core/_vendor/jsonschema/COPYING vendoredlicenses/jsonschema.COPYING
|
||||||
cp -p src/poetry/core/_vendor/packaging/LICENSE vendoredlicenses/packaging.LICENSE
|
cp src/poetry/core/_vendor/lark/LICENSE vendoredlicenses/lark.LICENSE
|
||||||
cp -p src/poetry/core/_vendor/packaging/LICENSE.APACHE vendoredlicenses/packaging.LICENSE.APACHE
|
cp src/poetry/core/_vendor/packaging/LICENSE vendoredlicenses/packaging.LICENSE
|
||||||
cp -p src/poetry/core/_vendor/packaging/LICENSE.BSD vendoredlicenses/packaging.LICENSE.BSD
|
cp src/poetry/core/_vendor/packaging/LICENSE.APACHE vendoredlicenses/packaging.LICENSE.APACHE
|
||||||
cp -p src/poetry/core/_vendor/tomli/LICENSE vendoredlicenses/tomli.LICENSE
|
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
|
%build
|
||||||
%pyproject_wheel
|
%pyproject_wheel
|
||||||
@@ -68,9 +72,7 @@ cp -p src/poetry/core/_vendor/tomli/LICENSE vendoredlicenses/tomli.L
|
|||||||
%check
|
%check
|
||||||
# gh#python-poetry/poetry#1645
|
# gh#python-poetry/poetry#1645
|
||||||
git init
|
git init
|
||||||
#https://github.com/python-poetry/poetry/issues/9678
|
%pytest
|
||||||
donttest="obsdummyprefix"
|
|
||||||
%pytest -k "not ($donttest)"
|
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%doc README.md
|
%doc README.md
|
||||||
|
|||||||
@@ -1,24 +0,0 @@
|
|||||||
From 10c20e199caa4809cceb14456d7e647cb833906a Mon Sep 17 00:00:00 2001
|
|
||||||
From: Emmanuel Arias <eamanu@yaerobi.com>
|
|
||||||
Date: Fri, 13 Sep 2024 09:18:00 -0300
|
|
||||||
Subject: [PATCH] Remove parametrize test for failed test
|
|
||||||
|
|
||||||
In CPython3.12.6 urllib.parse.urlunsplit() was modified to preserve relative path
|
|
||||||
in URL without netloc. poetry-core use this method to check the links in requirements.
|
|
||||||
This patch remove that parametrize test.
|
|
||||||
---
|
|
||||||
tests/version/test_requirements.py | 1 -
|
|
||||||
1 file changed, 1 deletion(-)
|
|
||||||
|
|
||||||
diff --git a/tests/version/test_requirements.py b/tests/version/test_requirements.py
|
|
||||||
index c1d6a34aa..6705cac06 100644
|
|
||||||
--- a/tests/version/test_requirements.py
|
|
||||||
+++ b/tests/version/test_requirements.py
|
|
||||||
@@ -134,7 +134,6 @@ def test_requirement(string: str, expected: dict[str, Any]) -> None:
|
|
||||||
[
|
|
||||||
("foo!", "Unexpected character at column 4\n\nfoo!\n ^\n"),
|
|
||||||
("foo (>=bar)", 'invalid version constraint ">=bar"'),
|
|
||||||
- ("name @ file:.", "invalid URL"),
|
|
||||||
("name @ file:/.", "invalid URL"),
|
|
||||||
],
|
|
||||||
)
|
|
||||||
Reference in New Issue
Block a user