forked from pool/python-poetry
Accepting request 1082722 from home:Simmphonie:branches:devel:languages:python
- Update to 1.4.2
* When trying to install wheels with invalid RECORD files, Poetry does
not fail anymore but only prints a warning.
This mitigates an unintended change introduced in Poetry 1.4.1 (#7694).
* Fix an issue where relative git submodule urls were not parsed correctly (#7017).
* Fix an issue where Poetry could freeze when building a project with a build
script if it generated enough output to fill the OS pipe buffer (#7699).
OBS-URL: https://build.opensuse.org/request/show/1082722
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-poetry?expand=0&rev=57
This commit is contained in:
@@ -26,7 +26,7 @@
|
||||
%endif
|
||||
|
||||
Name: python-poetry%{psuffix}
|
||||
Version: 1.3.2
|
||||
Version: 1.4.2
|
||||
Release: 0
|
||||
Summary: Python dependency management and packaging
|
||||
License: MIT
|
||||
@@ -36,28 +36,31 @@ URL: https://python-poetry.org/
|
||||
Source: https://github.com/python-poetry/poetry/archive/%{version}.tar.gz#/poetry-%{version}.tar.gz
|
||||
BuildRequires: %{python_module base >= 3.7}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module poetry-core = 1.4.0}
|
||||
BuildRequires: %{python_module poetry-core = 1.5.2}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-CacheControl >= 0.12.9
|
||||
Requires: python-build >= 0.10.0
|
||||
Requires: python-cachy >= 0.3.0
|
||||
Requires: python-cleo >= 2.0.0
|
||||
Requires: python-crashtest >= 0.4.1
|
||||
Requires: python-dulwich >= 0.20.46
|
||||
Requires: python-dulwich >= 0.21.2
|
||||
Requires: python-filelock >= 3.8.0
|
||||
Requires: python-html5lib >= 1.0
|
||||
Requires: python-poetry-core = 1.4.0
|
||||
Requires: python-poetry-plugin-export >= 1.2.0
|
||||
Requires: python-poetry-core = 1.5.2
|
||||
Requires: python-poetry-plugin-export >= 1.3.0
|
||||
%if 0%{?python_version_nodots} < 310
|
||||
Requires: python-importlib-metadata >= 4.4
|
||||
%endif
|
||||
Requires: python-installer >= 0.7.0
|
||||
Requires: python-jsonschema >= 4.10.0
|
||||
Requires: python-keyring >= 23.9.0
|
||||
Requires: python-lockfile >= 0.12.2
|
||||
Requires: python-packaging >= 20.4
|
||||
Requires: python-pexpect >= 4.7.0
|
||||
Requires: python-pkginfo >= 1.5
|
||||
Requires: python-pkginfo >= 1.9.4
|
||||
Requires: python-platformdirs >= 2.5.2
|
||||
Requires: python-pyproject-hooks >= 1.0.0
|
||||
Requires: python-requests >= 2.18
|
||||
Requires: python-shellingham >= 1.5
|
||||
Requires: (python-requests-toolbelt >= 0.9.1 with python-requests-toolbelt < 0.11.0)
|
||||
@@ -74,7 +77,7 @@ Recommends: git-core
|
||||
Recommends: python-devel
|
||||
BuildArch: noarch
|
||||
%if %{with test}
|
||||
BuildRequires: %{python_module deepdiff >= 5.0}
|
||||
BuildRequires: %{python_module deepdiff >= 6.2}
|
||||
BuildRequires: %{python_module flatdict >= 4.0.1}
|
||||
BuildRequires: %{python_module httpretty >= 1.0}
|
||||
# Required because deepdiff > 6.2.3
|
||||
@@ -93,8 +96,8 @@ Python dependency management and packaging made easy.
|
||||
|
||||
%prep
|
||||
%autosetup -p1 -n poetry-%{version}
|
||||
rm src/poetry/_vendor/.gitignore
|
||||
rmdir src/poetry/_vendor
|
||||
#rm src/poetry/_vendor/.gitignore
|
||||
#rmdir src/poetry/_vendor
|
||||
for f in console/commands/source/update.py \
|
||||
console/events/console_events.py \
|
||||
layouts/standard.py; do
|
||||
@@ -118,6 +121,7 @@ done
|
||||
donttest="test_uninstall_git_package_nspkg_pth_cleanup"
|
||||
# does not find the expected packages in venv
|
||||
donttest="$donttest or test_executor_should_write_pep610_url_references"
|
||||
donttest="$donttest or test_prepare_directory or test_prepare_sdist"
|
||||
%{python_expand # pytest needs to be called from the virtualenv python interpreter gh#python-poetry/poetry#1645
|
||||
virtualenv-%{$python_bin_suffix} --system-site-packages testenv-%{$python_bin_suffix}
|
||||
source testenv-%{$python_bin_suffix}/bin/activate
|
||||
@@ -135,7 +139,7 @@ deactivate
|
||||
|
||||
%if !%{with test}
|
||||
%files %{python_files}
|
||||
%doc README.md CHANGELOG.md
|
||||
%doc README.md
|
||||
%license LICENSE
|
||||
%{python_sitelib}/poetry
|
||||
%{python_sitelib}/poetry-%{version}.dist-info
|
||||
|
||||
Reference in New Issue
Block a user