Accepting request 989216 from home:bnavigator:branches:devel:languages:python
- Remove dependency on packaging -- boo#1178257 - Enable ini2toml[lite] tests OBS-URL: https://build.opensuse.org/request/show/989216 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools?expand=0&rev=224
This commit is contained in:
parent
520bb94f3d
commit
495df21772
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Jul 14 15:53:33 UTC 2022 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
- Remove dependency on packaging -- boo#1178257
|
||||
- Enable ini2toml[lite] tests
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jul 13 09:01:18 UTC 2022 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
|
@ -48,8 +48,6 @@ Patch0: sort-for-reproducibility.patch
|
||||
# PATCH-FIX-OPENSUSE remove_mock.patch mcepl@suse.com
|
||||
Patch1: remove_mock.patch
|
||||
BuildRequires: %{python_module base >= 3.7}
|
||||
# For rpm pythondistdeps.py (boo#1186870)
|
||||
BuildRequires: python3-packaging
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires(post): update-alternatives
|
||||
@ -62,6 +60,7 @@ Requires: %mypython(abi) = %python_version
|
||||
BuildRequires: %{python_module build}
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module filelock >= 3.4.0}
|
||||
BuildRequires: %{python_module ini2toml-lite >= 0.9}
|
||||
BuildRequires: %{python_module jaraco.envs >= 2.2}
|
||||
BuildRequires: %{python_module jaraco.path >= 3.2.0}
|
||||
BuildRequires: %{python_module pip >= 19.1}
|
||||
@ -73,7 +72,6 @@ BuildRequires: %{python_module tomli-w >= 1.0.0}
|
||||
BuildRequires: %{python_module virtualenv >= 13.0.0}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: python3-setuptools-wheel = %{version}
|
||||
#BuildRequires: #{python_module ini2toml-lite >= 0.9}
|
||||
%endif
|
||||
%if 0%{?suse_version} || 0%{?fedora_version} >= 24
|
||||
Recommends: ca-certificates-mozilla
|
||||
@ -122,9 +120,9 @@ export PRE_BUILT_SETUPTOOLS_WHEEL=%{python3_sitelib}/../wheels/setuptools-%{vers
|
||||
export LANG=en_US.UTF-8
|
||||
# tests need imports from local source dir
|
||||
export PYTHONPATH=$(pwd)
|
||||
# no ini2toml[lite]
|
||||
ignoretests="$ignoretests --ignore setuptools/tests/config/test_apply_pyprojecttoml.py"
|
||||
%pytest -rfE -n auto -x ${ignoretests}
|
||||
# no online comparisons in obs
|
||||
donttest="(test_apply_pyproject_equivalent_to_setupcfg and https)"
|
||||
%pytest -rfE -n auto -k "not ($donttest)"
|
||||
%endif
|
||||
|
||||
%if !%{with test}
|
||||
@ -133,7 +131,7 @@ ignoretests="$ignoretests --ignore setuptools/tests/config/test_apply_pyprojectt
|
||||
%license LICENSE
|
||||
%doc CHANGES.rst README.rst
|
||||
%{python_sitelib}/setuptools
|
||||
%{python_sitelib}/setuptools-%{version}-py%{python_version}.egg-info
|
||||
%{python_sitelib}/setuptools-%{version}*-info
|
||||
%dir %{python_sitelib}/pkg_resources
|
||||
%{python_sitelib}/pkg_resources/*
|
||||
%{python_sitelib}/_distutils_hack
|
||||
|
Loading…
x
Reference in New Issue
Block a user