diff --git a/python-dns-lexicon.spec b/python-dns-lexicon.spec index 003c260..1e92eba 100644 --- a/python-dns-lexicon.spec +++ b/python-dns-lexicon.spec @@ -16,7 +16,7 @@ Version: 3.11.0 %endif Name: python-%{pypi_name} -Release: 1%{?dist} +Release: 2%{?dist} Summary: Manipulate DNS records on various DNS providers in a standardized/agnostic way License: MIT @@ -138,13 +138,24 @@ rm setup.py %if %{with tests} %check -# AutoProviderTests: unknown failure - exclude to get suite passing for now -# +# The following tests use tldextract which tries to fetch +# https://raw.githubusercontent.com/publicsuffix/list/master/public_suffix_list.dat +# on first invocation +# (see https://github.com/john-kurkowski/tldextract/tree/master#note-about-caching) +# - AutoProviderTests +# - NamecheapProviderTests +# - NamecheapManagedProviderTests +# Disabling those until tldextract 3.3.0+ is available on Fedora. +# With tldextract 3.3.0+ we can use Fedora's public suffix list by running +# tldextract --update --suffix_list_url "file:///usr/share/publicsuffix/public_suffix_list.dat" +# prior to running the tests +TEST_SELECTOR="not AutoProviderTests and not NamecheapProviderTests and not NamecheapManagedProviderTests" + # lexicon providers which do not work in Fedora due to missing dependencies: # - SoftLayerProviderTests # - LocalzoneProviderTests # - OciProviderTests -TEST_SELECTOR="not AutoProviderTests and not SoftLayerProviderTests and not LocalzoneProviderTests and not OciProviderTests" +TEST_SELECTOR+=" and not SoftLayerProviderTests and not LocalzoneProviderTests and not OciProviderTests" %if %{without extras} TEST_SELECTOR+=" and not DDNSProviderTests and not GransyProviderTests and not Route53ProviderTests" %endif @@ -189,6 +200,9 @@ rm -rf %{buildroot}%{python3_sitelib}/lexicon/tests # }}} %changelog +* Mon May 9 2022 Christian Schuermann 3.11.0-2 +- Disable tests that use tldextract until "suffix_list_url" cli flag is available + * Mon May 9 2022 Christian Schuermann 3.11.0-1 - Update to 3.11.0