Your message dated Sat, 25 Jul 2020 23:38:47 +0000
with message-id <e1jztkd-000dbf...@fasolo.debian.org>
and subject line Bug#966071: fixed in python-email-validator 1.1.1-3
has caused the Debian Bug report #966071,
regarding FTBFS: tests require network access
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
966071: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=966071
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: python-email-validator
Version: 1.1.1-2
Severity: serious
Tags: ftbfs

Dear Maintainer,

When attempting to build python-email-validator 1.1.1-2 locally, it
fails with the following test failures:

tests/test_main.py ...........................................FFF. [100%]

=================================== FAILURES =================================== ________________________ test_deliverability_no_records ________________________

    def test_deliverability_no_records():
assert validate_email_deliverability('example.com', 'example.com') == {'mx': [(0, '')], 'mx-fallback': None}
E AssertionError: assert {'unknown-del...y': 'timeout'} == {'mx': [(0, ''...llback': None}
E         Left contains 1 more item:
E         {'unknown-deliverability': 'timeout'}
E         Right contains 2 more items:
E         {'mx': [(0, '')], 'mx-fallback': None}
E         Use -v to get the full diff

tests/test_main.py:254: AssertionError
__________________________ test_deliverability_found ___________________________

    def test_deliverability_found():
response = validate_email_deliverability('gmail.com', 'gmail.com')
      assert response.keys() == {'mx', 'mx-fallback'}
E AssertionError: assert dict_keys(['u...iverability']) == {'mx', 'mx-fallback'}
E         Use -v to get the full diff

tests/test_main.py:259: AssertionError
__________________________ test_deliverability_fails ___________________________

    def test_deliverability_fails():
        domain = 'xkxufoekjvjfjeodlfmdfjcu.com'
with pytest.raises(EmailUndeliverableError, match='The domain name {} does not exist'.format(domain)):
          validate_email_deliverability(domain, domain)
E Failed: DID NOT RAISE <class 'email_validator.EmailUndeliverableError'>

tests/test_main.py:270: Failed
===================== 3 failed, 44 passed in 45.39 seconds =====================


Based on the error messages, it looks like these tests require
network access.


-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.7.0-1-amd64 (SMP w/3 CPU threads)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8), LANGUAGE=en_US:en
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled


--
mvh / best regards
Hans Joachim Desserud
http://desserud.org

--- End Message ---
--- Begin Message ---
Source: python-email-validator
Source-Version: 1.1.1-3
Done: Sergio Durigan Junior <sergi...@debian.org>

We believe that the bug you reported is fixed in the latest version of
python-email-validator, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 966...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Sergio Durigan Junior <sergi...@debian.org> (supplier of updated 
python-email-validator package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sat, 25 Jul 2020 19:16:59 -0400
Source: python-email-validator
Architecture: source
Version: 1.1.1-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Modules Team 
<python-modules-t...@lists.alioth.debian.org>
Changed-By: Sergio Durigan Junior <sergi...@debian.org>
Closes: 966071
Changes:
 python-email-validator (1.1.1-3) unstable; urgency=medium
 .
   * Disable tests because they require internet access.
     - d/control: Remove B-D on the packages that are needed for testing.
     - d/rules: Override dh_auto_test.  The package requires internet
       access (actually, just DNS) to perform the tests, and the policy
       says that this shouldn't be done.  There is a discussion about
       whether this is a sensible thing to do or not, but since we have
       autopkgtests now, we can just run the tests there. (Closes: #966071)
   * New autopkgtest for the package.
     We run the upstream tests on it, since it's OK to require internet.
Checksums-Sha1:
 1227a49a73ebddff2fe9427198234108b42ae877 2334 
python-email-validator_1.1.1-3.dsc
 c3a027aed41e357fedf83057e37b49451a667a3a 2680 
python-email-validator_1.1.1-3.debian.tar.xz
 dec8098626ca4d5df7e4a1b1294d9ee1fc719184 6108 
python-email-validator_1.1.1-3_amd64.buildinfo
Checksums-Sha256:
 083212d4951bd3aab2855196ecd5e71cc82dfa915666da6df8e61036372af236 2334 
python-email-validator_1.1.1-3.dsc
 e4c7b7a95f821d83f4710e4dd72182a18a1c10bbc9b176fe125a2ac758662b81 2680 
python-email-validator_1.1.1-3.debian.tar.xz
 4f0ab6cb12e0e43fd37e23688753d254b786570419379f07000f68c3d0325f83 6108 
python-email-validator_1.1.1-3_amd64.buildinfo
Files:
 1c1d59d1eaaa4d10990f17a187eedee0 2334 python optional 
python-email-validator_1.1.1-3.dsc
 ec72e4e058c4d436d0ad1bd178455aad 2680 python optional 
python-email-validator_1.1.1-3.debian.tar.xz
 4a83adddb63a9153516c2cc15ff31ac6 6108 python optional 
python-email-validator_1.1.1-3_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJIBAEBCgAyFiEEI3pUsQKHKL8A7zH00Ot2KGX8XjYFAl8cvdUUHHNlcmdpb2Rq
QGRlYmlhbi5vcmcACgkQ0Ot2KGX8XjayUQ//c+O450/EWIIwlSQOZwsRgvSC8V0U
bred1irnVRoc31JAsERltj7LgB0BDofHtSOEXvHwDTlVi1MbCq2taB2XKT5G5ZtH
n5Ip4FddUGhzhcwfNXse/wIZMsnT0+a0JwnAy/wAn0n86xs7t/b+eyKd/CVWcNXV
9iuCZpL26U+DIF70oRDcSAzTjqMc48AbY6HLTrEBQdzllKKPya7oWjLsyKfR2mRh
4kj9KUj1+s0zTX9hZq9AwrBtVoTPnfaALsY9LD+q8rs2xJCm1MoAJFoGmwnhboue
8N3SIDtoW4cmBkof8wvHzqIcGFZk3LXK82JSEMnFgaurU36FYEt6ngmOlLCQ62Jc
K0inNiwOo3WMo8L01kMUw1jYNVXof5dKMxbnQZon/4gXjyR3XqDwef9xTrawPxhM
2wuCmht8/L6m6Qdde43FdD30ewj2ThIx9G2B7KlNuME6M4lrVW9q4dZJyZ5umYZd
nChgS4ZGJyTHlH8khk1UNbfuv9WUbs2VccIKz50vOLFBDyiSMH5IVqKhUcN7QBoT
0epZKKY9R661znM0ivEa85n6yHH4rtQ850vjK9XW0BtsIak79LDy7kxv+0m1oz8I
7/BNW/f0MRJ4Z+mgxNxid/3u4BAHcniUr4r3HFFw2yfOWqm5X1TghlQwgGMCgTsO
JeKbEKaekq9uUR8=
=u+zI
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to