#35 Filter lib2to3 (Pending)DeprecationWarning in testes
Merged 4 years ago by churchyard. Opened 4 years ago by churchyard.
rpms/ churchyard/python-setuptools lib2to3-deprecated  into  master

@@ -0,0 +1,11 @@ 

+ diff --git a/pytest.ini b/pytest.ini

+ index 825dbe6..40efb05 100644

+ --- a/pytest.ini

+ +++ b/pytest.ini

+ @@ -20,3 +20,6 @@ filterwarnings =

+      ignore:Unicode unequal comparison failed to convert:UnicodeWarning

+      # https://github.com/pypa/setuptools/issues/2025

+      ignore:direct construction of .*Item has been deprecated:DeprecationWarning

+ +    # https://github.com/pypa/setuptools/issues/2081

+ +    ignore:lib2to3 package is deprecated:PendingDeprecationWarning

+ +    ignore:lib2to3 package is deprecated:DeprecationWarning

file modified
+3 -1
@@ -25,6 +25,9 @@ 

  URL:            https://pypi.python.org/pypi/%{srcname}

  Source0:        %{pypi_source %{srcname} %{version} zip}

  

+ # https://github.com/pypa/setuptools/issues/2081

+ Patch1:         filter-lib2to3-deprecation-warnings.patch

+ 

  BuildArch:      noarch

  

  BuildRequires:  gcc
@@ -65,7 +68,6 @@ 

  %package -n python3-setuptools

  Summary:        Easily build and distribute Python 3 packages

  Conflicts:      python-setuptools < %{version}-%{release}

- %{?python_provide:%python_provide python3-setuptools}

  %{bundled}

  

  %if %{with bootstrap}

Build failed.

The build wil be pending now in https://copr.fedorainfracloud.org/coprs/g/python/python3.9/builds/?dirname=python3.9:pr:35 for hours, as that Copr is swamped with 3.9.0a6 rebuilds. I have verified this builds fine in Python 3.9 mock.

1 new commit added

  • Drop useless-provides %python_provide
4 years ago

Build succeeded.

Pull-Request has been merged by churchyard

4 years ago