![](https://seccdn.libravatar.org/avatar/128a7b98d536a9cf9b4d4d5a90d63475.jpg?s=120&d=mm&r=g)
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-dns-lexicon for openSUSE:Factory checked in at 2021-02-02 14:24:39 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-dns-lexicon (Old) and /work/SRC/openSUSE:Factory/.python-dns-lexicon.new.28504 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "python-dns-lexicon" Tue Feb 2 14:24:39 2021 rev:14 rq:867444 version:3.5.3 Changes: -------- --- /work/SRC/openSUSE:Factory/python-dns-lexicon/python-dns-lexicon.changes 2020-07-08 19:13:52.211292147 +0200 +++ /work/SRC/openSUSE:Factory/.python-dns-lexicon.new.28504/python-dns-lexicon.changes 2021-02-02 14:24:50.699314671 +0100 @@ -1,0 +2,46 @@ +Thu Jan 28 01:09:45 UTC 2021 - Ben Greiner <code@bnavigator.de> + +- Update to Version 3.5.3 + * Handle large number of hosted zones in route53 provider +- Changelog for 3.5.2 + * Fix domains in "lock" state with joker provider +- Changelog for 3.5.1 + * Add the Joker.com provider + * Add environment variable TLDEXTRACT_CACHE_PATH to configure a + tldextract cache custom location for Lexicon + * Old environment variable TLDEXTRACT_CACHE_FILE is deprecated + and will be removed in a future release +- Changelog for 3.5.0 + * Avoid installation problems with setuptools==50 + * Migrating codebase to Python 3.6+ specific features (Lexicon + will explicitly break on older versions now) + * Fix Easyname provider to work with their new website +- Changelog for 3.4.5 + * Add pagination support to Google Cloud DNS provider (#577) + * Add official support to Python 3.9 + * Add SSHFP record support to CloudFlare provider (library only) + (#612) +- Changelog for 3.4.4 + * Fix Gandi provider to use the new LiveDNS API URL +- Changelog for 3.4.3 + * Improve versions constraints by declaring latest major versions + known to work with Lexicon +- Changelog for 3.4.2 + * Relax versions constraints on Lexicon dependencies until there + is a real need. +- Changelog for 3.4.1 + * Add the Njalla provider +- Changelog for 3.4.0 + * Use poetry to manage dependencies, build and package Lexicon. + * The beautifulsoup4 dependency has been integrated to the core + ones for generic purpose. As a consequence henet, easyname and + gratisdns providers do not have optional dependencies anymore. + * Remove support for Python 2.7. + * Remove support for Python 3.5. + * Remove the extra security from requests dependency which does + not make sense anymore on recent versions of Python. +- Changelog for 3.3.28 + * Fix localzone provider to make it work with dnspython 2.x. + * Update easyname provider against the recent API changes. + +------------------------------------------------------------------- @@ -16,0 +63 @@ +- add remove-mock.patch gh#AnalogJ/lexicon#706 Old: ---- lexicon-3.3.26.tar.gz New: ---- lexicon-3.5.3.tar.gz remove-mock.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-dns-lexicon.spec ++++++ --- /var/tmp/diff_new_pack.h5sl0H/_old 2021-02-02 14:24:51.811316401 +0100 +++ /var/tmp/diff_new_pack.h5sl0H/_new 2021-02-02 14:24:51.819316413 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-dns-lexicon # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,50 +19,58 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python2 1 Name: python-dns-lexicon -Version: 3.3.26 +Version: 3.5.3 Release: 0 Summary: DNS record manipulation utility License: MIT URL: https://github.com/AnalogJ/lexicon Source0: https://github.com/AnalogJ/lexicon/archive/v%{version}.tar.gz#/lexicon-%{version}.tar.gz -BuildRequires: %{python_module PyNamecheap} +# PATCH-FIX-UPSTREAM remove-mock.patch gh#AnalogJ/lexicon#706 +Patch0: remove-mock.patch +BuildRequires: fdupes +BuildRequires: python-rpm-macros +# SECTION Python build system requirements +BuildRequires: %{python_module pip} +BuildRequires: %{python_module poetry} +BuildRequires: %{python_module setuptools} +# /SECTION +# SECTION poetry.dependencies BuildRequires: %{python_module PyYAML} BuildRequires: %{python_module beautifulsoup4} -BuildRequires: %{python_module boto3} BuildRequires: %{python_module cryptography} -BuildRequires: %{python_module dnspython >= 1.15.0} BuildRequires: %{python_module future} -BuildRequires: %{python_module html5lib} -BuildRequires: %{python_module localzone} -BuildRequires: %{python_module mock >= 2.0.0} -BuildRequires: %{python_module pytest >= 3.8.0} BuildRequires: %{python_module requests} -BuildRequires: %{python_module setuptools} -BuildRequires: %{python_module softlayer} BuildRequires: %{python_module tldextract} -BuildRequires: %{python_module transip >= 0.3.0} -BuildRequires: %{python_module vcrpy >= 1.13.0} +# /SECTION +# SECTION extras +BuildRequires: %{python_module PyNamecheap} +BuildRequires: %{python_module boto3} +BuildRequires: %{python_module localzone} +BuildRequires: %{python_module softlayer => 5} +BuildRequires: %{python_module transip >= 2} BuildRequires: %{python_module xmltodict} BuildRequires: %{python_module zeep} -BuildRequires: fdupes -BuildRequires: python-rpm-macros -Requires: python-PyNamecheap +# /section +# SECTION test dependencies +BuildRequires: %{python_module pytest >= 3.8.0} +BuildRequires: %{python_module vcrpy >= 1.13.0} +# /SECTION Requires: python-PyYAML Requires: python-beautifulsoup4 -Requires: python-boto3 Requires: python-cryptography -Requires: python-dnspython >= 1.15.0 Requires: python-future -Requires: python-localzone Requires: python-requests -Requires: python-setuptools -Requires: python-softlayer Requires: python-tldextract -Requires: python-transip >= 0.3.0 Requires: python-vcrpy -Requires: python-xmltodict Requires(post): update-alternatives Requires(postun): update-alternatives +Recommends: python-PyNamecheap +Recommends: python-boto3 +Recommends: python-localzone +Recommends: python-softlayer >= 5 +Recommends: python-transip >= 2 +Recommends: python-xmltodict +Recommends: python-zeep # Completely different pkg but same namespace Conflicts: python-lexicon BuildArch: noarch @@ -76,26 +84,21 @@ Lexicon was designed to be used in automation, specifically letsencrypt. %prep -%setup -q -n lexicon-%{version} -# Remove, since they are completely broken -rm lexicon/tests/providers/test_auto.py - +%autosetup -p1 -n lexicon-%{version} # rpmlint find . -type f -name ".gitignore" -delete %build -%python_build - -# rpmlint -find . -type f -name ".buildinfo" -delete +%pyproject_wheel %install -%python_install +%pyproject_install %python_clone -a %{buildroot}%{_bindir}/lexicon %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%pytest lexicon/tests +# test_auto does not work inside OBS +%pytest lexicon/tests --ignore lexicon/tests/providers/test_auto.py %post %python_install_alternative lexicon @@ -104,9 +107,10 @@ %python_uninstall_alternative lexicon %files %{python_files} -%{python_sitelib} %license LICENSE -%doc README.md +%doc README.rst %python_alternative %{_bindir}/lexicon +%{python_sitelib}/lexicon +%{python_sitelib}/dns_lexicon-%{version}*-info %changelog ++++++ lexicon-3.3.26.tar.gz -> lexicon-3.5.3.tar.gz ++++++ /work/SRC/openSUSE:Factory/python-dns-lexicon/lexicon-3.3.26.tar.gz /work/SRC/openSUSE:Factory/.python-dns-lexicon.new.28504/lexicon-3.5.3.tar.gz differ: char 12, line 1 ++++++ remove-mock.patch ++++++ Index: lexicon-3.5.3/lexicon/tests/test_library.py =================================================================== --- lexicon-3.5.3.orig/lexicon/tests/test_library.py +++ lexicon-3.5.3/lexicon/tests/test_library.py @@ -12,7 +12,7 @@ import importlib import pkgutil from types import ModuleType -import mock +from unittest import mock import pytest from lexicon.config import ConfigResolver Index: lexicon-3.5.3/lexicon/tests/providers/test_auto.py =================================================================== --- lexicon-3.5.3.orig/lexicon/tests/providers/test_auto.py +++ lexicon-3.5.3/lexicon/tests/providers/test_auto.py @@ -2,7 +2,7 @@ import socket from unittest import TestCase -import mock +from unittest import mock import pytest from lexicon.providers.auto import _get_ns_records_domains_for_domain