commit python-py3dns for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-py3dns for openSUSE:Factory checked in at 2024-06-07 15:04:28 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-py3dns (Old) and /work/SRC/openSUSE:Factory/.python-py3dns.new.24587 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "python-py3dns" Fri Jun 7 15:04:28 2024 rev:5 rq:1179083 version:4.0.2 Changes: -------- --- /work/SRC/openSUSE:Factory/python-py3dns/python-py3dns.changes 2024-03-01 23:37:49.414271808 +0100 +++ /work/SRC/openSUSE:Factory/.python-py3dns.new.24587/python-py3dns.changes 2024-06-07 15:04:54.223132198 +0200 @@ -1,0 +2,7 @@ +Thu Jun 6 20:25:40 UTC 2024 - Dirk Müller <dmueller@suse.com> + +- update to 4.0.2: + * Update expected test results due to changed example.com IP + addresses. + +------------------------------------------------------------------- Old: ---- py3dns-4.0.1.tar.gz New: ---- py3dns-4.0.2.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-py3dns.spec ++++++ --- /var/tmp/diff_new_pack.t2A8E0/_old 2024-06-07 15:04:55.923194131 +0200 +++ /var/tmp/diff_new_pack.t2A8E0/_new 2024-06-07 15:04:55.951195150 +0200 @@ -17,7 +17,7 @@ Name: python-py3dns -Version: 4.0.1 +Version: 4.0.2 Release: 0 Summary: Python module for DNS (Domain Name Service) License: CNRI-Python ++++++ py3dns-4.0.1.tar.gz -> py3dns-4.0.2.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/py3dns-4.0.1/CHANGES new/py3dns-4.0.2/CHANGES --- old/py3dns-4.0.1/CHANGES 2024-02-25 15:54:28.064536000 +0100 +++ new/py3dns-4.0.2/CHANGES 2024-06-06 14:10:31.968456700 +0200 @@ -1,3 +1,6 @@ +4.0.2 Thu, Jun 6, 2024 + * Update expected test results due to changed example.com IP addresses. + 4.0.1 Sun, Feb 25, 2024 * Fix regex string in Base.py to be raw string to resolve SyntaxWarning for invalid escape sequence with python3.12, thanks to Agathe Porte for fixing diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/py3dns-4.0.1/DNS/__init__.py new/py3dns-4.0.2/DNS/__init__.py --- old/py3dns-4.0.1/DNS/__init__.py 2024-02-25 15:56:46.498406200 +0100 +++ new/py3dns-4.0.2/DNS/__init__.py 2024-06-06 14:10:01.659978400 +0200 @@ -10,7 +10,7 @@ # __init__.py for DNS class. -__version__ = '4.0.1' +__version__ = '4.0.2' try: import ipaddress diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/py3dns-4.0.1/DNS/tests/test_base.py new/py3dns-4.0.2/DNS/tests/test_base.py --- old/py3dns-4.0.1/DNS/tests/test_base.py 2020-04-17 21:29:51.000000000 +0200 +++ new/py3dns-4.0.2/DNS/tests/test_base.py 2024-06-06 14:06:22.728525000 +0200 @@ -36,12 +36,12 @@ self.assertTrue(a_response.answers) # is the result vaguely ipv4 like? self.assertEqual(a_response.answers[0]['data'].count('.'), 3) - self.assertEqual(a_response.answers[0]['data'],'93.184.216.34') + self.assertEqual(a_response.answers[0]['data'],'93.184.215.14') # Default result type for .qry object is an ipaddress object ad_response = dnsobj.qry(qtype='A', timeout=1) self.assertTrue(ad_response.answers) - self.assertEqual(ad_response.answers[0]['data'],ipaddress.IPv4Address('93.184.216.34')) + self.assertEqual(ad_response.answers[0]['data'],ipaddress.IPv4Address('93.184.215.14')) ab_response = dnsobj.qry(qtype='A', resulttype='binary', timeout=1) self.assertTrue(ab_response.answers) @@ -49,11 +49,11 @@ self.assertEqual(len(ab_response.answers[0]['data']), 4) for b in ab_response.answers[0]['data']: assertIsByte(b) - self.assertEqual(ab_response.answers[0]['data'],b']\xb8\xd8\"') + self.assertEqual(ab_response.answers[0]['data'],b']\xb8\xd7\x0e') ai_response = dnsobj.qry(qtype='A', resulttype='integer', timeout=1) self.assertTrue(ai_response.answers) - self.assertEqual(ai_response.answers[0]['data'],1572395042) + self.assertEqual(ai_response.answers[0]['data'],1572394766) def testDnsRequestAAAA(self): @@ -63,12 +63,12 @@ self.assertTrue(aaaa_response.answers) # does the result look like an ipv6 address? self.assertTrue(':' in aaaa_response.answers[0]['data']) - self.assertEqual(aaaa_response.answers[0]['data'],'2606:2800:220:1:248:1893:25c8:1946') + self.assertEqual(aaaa_response.answers[0]['data'],'2606:2800:21f:cb07:6820:80da:af6b:8b2c') # default is returning ipaddress object aaaad_response = dnsobj.qry(qtype='AAAA', timeout=1) self.assertTrue(aaaad_response.answers) - self.assertEqual(aaaad_response.answers[0]['data'],ipaddress.IPv6Address('2606:2800:220:1:248:1893:25c8:1946')) + self.assertEqual(aaaad_response.answers[0]['data'],ipaddress.IPv6Address('2606:2800:21f:cb07:6820:80da:af6b:8b2c')) aaaab_response = dnsobj.qry(qtype='AAAA', resulttype='binary', timeout=1) self.assertTrue(aaaab_response.answers) @@ -76,11 +76,11 @@ self.assertEqual(len(aaaab_response.answers[0]['data']) , 16) for b in aaaab_response.answers[0]['data']: assertIsByte(b) - self.assertEqual(aaaab_response.answers[0]['data'],b'&\x06(\x00\x02 \x00\x01\x02H\x18\x93%\xc8\x19F') + self.assertEqual(aaaab_response.answers[0]['data'],b'&\x06(\x00\x02\x1f\xcb\x07h \x80\xda\xafk\x8b,') # IPv6 decimal aaaai_response = dnsobj.qry(qtype='AAAA', resulttype='integer', timeout=1) self.assertTrue(aaaai_response.answers) - self.assertEqual(aaaai_response.answers[0]['data'], 50542628918019813867414319910101719366) + self.assertEqual(aaaai_response.answers[0]['data'], 50542628918019563700009922510424083244) def testDnsRequestEmptyMX(self): dnsobj = DNS.DnsRequest('mail.kitterman.org') @@ -170,7 +170,7 @@ self.assertTrue(ad_response.answers) # is the result vaguely ipv4 like? self.assertEqual(ad_response.answers[0]['data'].count('.'), 3) - self.assertEqual(ad_response.answers[0]['data'],'93.184.216.34') + self.assertEqual(ad_response.answers[0]['data'],'93.184.215.14') def testDnsRequestAAAAD(self): dnsob = DNS.DnsRequest('example.org') @@ -182,7 +182,7 @@ self.assertEqual(len(aaaad_response.answers[0]['data']) , 16) for b in aaaad_response.answers[0]['data']: assertIsByte(b) - self.assertEqual(aaaad_response.answers[0]['data'],b'&\x06(\x00\x02 \x00\x01\x02H\x18\x93%\xc8\x19F') + self.assertEqual(aaaad_response.answers[0]['data'],b'&\x06(\x00\x02\x1f\xcb\x07h \x80\xda\xafk\x8b,') def testDnsRequestEmptyMXD(self): dnsob = DNS.DnsRequest('mail.kitterman.org') diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/py3dns-4.0.1/PKG-INFO new/py3dns-4.0.2/PKG-INFO --- old/py3dns-4.0.1/PKG-INFO 1970-01-01 01:00:00.000000000 +0100 +++ new/py3dns-4.0.2/PKG-INFO 1970-01-01 01:00:00.000000000 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: py3dns -Version: 4.0.1 +Version: 4.0.2 Summary: Python 3 DNS library Keywords: DNS Author-email: Anthony Baxter and others <py3dns-hackers@lists.launchpad.net>
participants (1)
-
Source-Sync