Your message dated Tue, 27 Nov 2018 10:19:12 +0000
with message-id <e1grasw-0004kk...@fasolo.debian.org>
and subject line Bug#914552: fixed in black 18.9b0-1-6
has caused the Debian Bug report #914552,
regarding black: FTBFS Attempt to download test dependencies during build
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.)


-- 
914552: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=914552
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: black
Version: 18.9b0-1-5
Severity: serious
Tags: patch

Dear Maintainer,

I tried to build the package locally in pbuilder,
but it fails to build from source with the following error message:
running test
Searching for toml>=0.9.4

Note: Bypassing https://pypi.org/simple/toml/ (disallowed host; see http://bit.ly/2hrImnY for details).

Couldn't find index page for 'toml' (maybe misspelled?)
Scanning index of all packages (this may take a while)

Note: Bypassing https://pypi.org/simple/ (disallowed host; see http://bit.ly/2hrImnY for details).

No local packages or working download links found for toml>=0.9.4
error: Could not find suitable distribution for Requirement.parse('toml>=0.9.4') E: pybuild pybuild:338: test: plugin distutils failed with: exit code=1: python3.7 setup.py test


It fails since it attempts to download additional dependencies from the Internet. I originally saw this when it failed to build when it was synced to Ubuntu [1][2],
but was also able to reproduce it on Sid.

With the attached patch, gradually adding additional build dependencies,
it eventually built successfully.

[1] https://launchpad.net/ubuntu/+source/black/18.9b0-1-5/+build/15638431 [2] https://launchpadlibrarian.net/397800009/buildlog_ubuntu-disco-amd64.black_18.9b0-1-5_BUILDING.txt.gz

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

Kernel: Linux 4.18.0-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8), LANGUAGE=en_US:en (charmap=UTF-8)
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
diff --git a/debian/control b/debian/control
index 4bca183..bcd8447 100644
--- a/debian/control
+++ b/debian/control
@@ -5,7 +5,8 @@ Maintainer: Neil Williams <codeh...@debian.org>
 Build-Depends: debhelper (>= 11), dh-python,
  python3, python3-recommonmark, python3-setuptools,
  python3-sphinx, python3-docutils,
- libjs-underscore, libjs-jquery
+ libjs-underscore, libjs-jquery,
+ python3-appdirs, python3-attr, python3-click, python3-toml
 Standards-Version: 4.2.1
 Homepage: https://github.com/ambv/black
 X-Python3-Version: >= 3.6

--- End Message ---
--- Begin Message ---
Source: black
Source-Version: 18.9b0-1-6

We believe that the bug you reported is fixed in the latest version of
black, 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 914...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Neil Williams <codeh...@debian.org> (supplier of updated black 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: SHA256

Format: 1.8
Date: Tue, 27 Nov 2018 09:47:06 +0000
Source: black
Binary: black python-black-doc
Architecture: source all
Version: 18.9b0-1-6
Distribution: unstable
Urgency: medium
Maintainer: Neil Williams <codeh...@debian.org>
Changed-By: Neil Williams <codeh...@debian.org>
Description:
 black      - uncompromising Python code formatter (Python 3)
 python-black-doc - uncompromising Python code formatter (common documentation)
Closes: 914552
Changes:
 black (18.9b0-1-6) unstable; urgency=medium
 .
   * Support for Python3.7 and test dependencies. (Closes: #914552)
Checksums-Sha1:
 327b7e9ab9e89358776a7d8973517edf68d4f918 2238 black_18.9b0-1-6.dsc
 d97224ab40f61eaf8972f69f263a65b440b81cfe 6560 black_18.9b0-1-6.debian.tar.xz
 95f8fcfc8d662b48d136d32ffdaf04dfc4f91b3c 75388 black_18.9b0-1-6_all.deb
 c33993cc47484c729f38d0bd55bd31bb3e3568e2 7453 black_18.9b0-1-6_amd64.buildinfo
 8945c8f0f408036380bc01380dc42beb8d1d518e 273968 
python-black-doc_18.9b0-1-6_all.deb
Checksums-Sha256:
 52b1c45920d5afd9a9fbcb517ee3f3b28e305d2ebac9dbca04dcbe0d475b3867 2238 
black_18.9b0-1-6.dsc
 c85ff027894c577ddefcf8aeb148798ede9c777bbc0cfaf968f481e892df04d4 6560 
black_18.9b0-1-6.debian.tar.xz
 85dcc2719408686c828fcaa7140a3e7110eec6276aa1b2d0ae4ce3de9ac28daf 75388 
black_18.9b0-1-6_all.deb
 9fd578b5e5c4e497faa33da0efe189b9b285ea939878eb2b727fe0c016f4100a 7453 
black_18.9b0-1-6_amd64.buildinfo
 a28f44389b7cdcab7fe0b9635d50a478253f2691bc5a421bfa9411f08207eab0 273968 
python-black-doc_18.9b0-1-6_all.deb
Files:
 2cb658a07abb8c9a95063b10bf50543a 2238 python optional black_18.9b0-1-6.dsc
 c35a6aef354b217d5728c1f2c7dcd602 6560 python optional 
black_18.9b0-1-6.debian.tar.xz
 3d915140a65abd20b11e9df651d8ead3 75388 python optional black_18.9b0-1-6_all.deb
 5a5dd8a268f9c30c829d07f80817ac17 7453 python optional 
black_18.9b0-1-6_amd64.buildinfo
 cc6a9fd5a37489ecd918c308c35a57d4 273968 doc optional 
python-black-doc_18.9b0-1-6_all.deb

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

iQIzBAEBCAAdFiEEf3HB6ceOc10DYMbM8WfkPIFDtoIFAlv9FjUACgkQ8WfkPIFD
toLb+g//Tm9rMffCb3jOovVf3JT0cEvH1tbh9yFkn4Ty37HytIDl+d1N7q9ugq30
M+h05R+e1RRiXzd5TaiOltB5Rr+TYJNwrB0BfElm8U+pp/MS7BgUmVv/Nhds5DIH
73jT+YqXM2gxCQLAsajTmQHJcdVARckeZ6cGk4Q6/dYVijk3Uk5c/I+dMnbuYqcH
5luc6I2jYaDGGBQpH2unFXpfGCT0N+HEm/2BMqL6BLOKb3yAwY4m/SGPSWT9wCxm
bADkt4A4F0UE8Lq3gq7GVKHaBMFxqsz5l7M6sMraCzf89GCaSN8Z+eL3i2Jeii6p
5mLeCzT9x5DuCFko3ybWau4rAh8vxV2AcsZ4ASXaOzfkCkNrHazp2c1edgSSqRhN
T1lhSAJGdoh/+yHCVLjFICyjm3cVn601MouKjWNjYwTFr0yVZd5IQgrCdjqdg3NM
h+8+qSIXZ5gp9JEviSsUBgqAKy3uweekZbsP+gv9xJVf+n6EI/w/53fTvP+5NHR6
wfDtn3xDJOXrtBiOauf00EKcFfUzgU9zBZ6rqm4sQ1NLC+Ecjf0ck2VyArtU5NFY
ULsoPO19maE74xJlLv11LsskOp7sNdbImVClqJgg5ZBLMfHQRE0GDVvtSVd7Wn3p
XHVTaroWmcO5Ftf5NVnAiAfv1pfNAGgj05DJ9dTPg0fTK4kDQzI=
=qjpn
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to