Your message dated Mon, 29 Oct 2018 19:49:22 +0000
with message-id <e1ghdxo-000f6s...@fasolo.debian.org>
and subject line Bug#912255: fixed in python-asdf 2.1.0-2
has caused the Debian Bug report #912255,
regarding python-asdf FTBFS if some webserver is listening to localhost:80
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.)


-- 
912255: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=912255
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: python-asdf
Version: 2.1.0-1
Severity: serious
Tags: ftbfs

python-asdf fails to build from source if some webserver is listening to
localhost:80. The Debian policy prohibits doing so in section 4.9. The
access is only legitimate if python-asdf starts the web server.

| =================================== FAILURES 
===================================
| _____________________________ test_invalid_source 
______________________________
| 
| small_tree = {'not_shared': array([10,  9,  8,  7,  6,  5,  4,  3,  2,  1], 
dtype=uint8), 'science_data': array([0., 1., 2., 3., 4., 5., 6., 7., 8., 9.]), 
'skipping': array([0., 2., 4., 6., 8.]), 'subset': array([3., 4., 5., 6.])}
| 
|     def test_invalid_source(small_tree):
|         buff = io.BytesIO()
|     
|         ff = asdf.AsdfFile(small_tree)
|         ff.write_to(buff)
|     
|         buff.seek(0)
|         with asdf.AsdfFile.open(buff) as ff2:
|             ff2.blocks.get_block(0)
|     
|             with pytest.raises(ValueError):
|                 ff2.blocks.get_block(2)
|     
|             with pytest.raises(IOError):
| >               ff2.blocks.get_block("http://127.0.0.1/";)
| 
| asdf/tests/test_low_level.py:141: 
| _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
_ 
| asdf/block.py:643: in get_block
|     source, do_not_fill_defaults=True)
| asdf/asdf.py:364: in open_external
|     do_not_fill_defaults=do_not_fill_defaults)
| asdf/asdf.py:778: in open
|     ignore_missing_extensions=ignore_missing_extensions)
| _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
_ 
| 
| cls = <class 'asdf.asdf.AsdfFile'>
| self = <asdf.asdf.AsdfFile object at 0x7f8e88f79400>, fd = 'http://127.0.0.1/'
| uri = None, mode = 'r', validate_checksums = False, do_not_fill_defaults = 
True
| _get_yaml_content = False, _force_raw_types = False
| strict_extension_check = False, ignore_missing_extensions = False
| 
|     @classmethod
|     def _open_impl(cls, self, fd, uri=None, mode='r',
|                    validate_checksums=False,
|                    do_not_fill_defaults=False,
|                    _get_yaml_content=False,
|                    _force_raw_types=False,
|                    strict_extension_check=False,
|                    ignore_missing_extensions=False):
|         """Attempt to open file-like object as either AsdfFile or 
AsdfInFits"""
|         if not is_asdf_file(fd):
|             try:
|                 # TODO: this feels a bit circular, try to clean up. Also
|                 # this introduces another dependency on astropy which may
|                 # not be desireable.
|                 from . import fits_embed
|                 return fits_embed.AsdfInFits._open_impl(fd, uri=uri,
|                             validate_checksums=validate_checksums,
|                             
ignore_version_mismatch=self._ignore_version_mismatch,
|                             extensions=self._extensions,
|                             strict_extension_check=strict_extension_check,
|                             
ignore_missing_extensions=ignore_missing_extensions,
|                             _extension_metadata=self._extension_metadata)
|             except ValueError:
|                 pass
|             raise ValueError(
| >               "Input object does not appear to be ASDF file or FITS with " +
|                 "ASDF extension")
| E           ValueError: Input object does not appear to be ASDF file or FITS 
with ASDF extension
| 
| asdf/asdf.py:682: ValueError
| ----------------------------- Captured stdout call 
-----------------------------
| Downloading http://127.0.0.1/ [Done]
| =============================== warnings summary 
===============================
| 
.pybuild/cpython3_3.7_asdf/build/asdf/tests/test_suite.py::test_reference_file[reference_files/1.0.0/complex.asdf]
|   /usr/lib/python3/dist-packages/numpy/core/numeric.py:2321: RuntimeWarning: 
overflow encountered in absolute
|     return less_equal(abs(x-y), atol + rtol * abs(y))
| 
| -- Docs: http://doc.pytest.org/en/latest/warnings.html
| === 1 failed, 319 passed, 12 skipped, 4 xfailed, 1 warnings in 4.60 seconds 
====
| E: pybuild pybuild:338: test: plugin distutils failed with: exit code=1: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.7_asdf/build; python3.7 -m pytest 
| dh_auto_test: pybuild --test --test-pytest -i python{version} -p "3.7 3.6" 
returned exit code 13
| make: *** [debian/rules:8: build] Error 25
| dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2

Helmut

--- End Message ---
--- Begin Message ---
Source: python-asdf
Source-Version: 2.1.0-2

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

Debian distribution maintenance software
pp.
Ole Streicher <oleb...@debian.org> (supplier of updated python-asdf 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: Mon, 29 Oct 2018 17:47:13 +0100
Source: python-asdf
Binary: python3-asdf python-asdf-doc asdftool
Architecture: source
Version: 2.1.0-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Astronomy Team 
<debian-astro-maintain...@lists.alioth.debian.org>
Changed-By: Ole Streicher <oleb...@debian.org>
Description:
 asdftool   - Command line tool to manipulate ASDF scientific data files
 python-asdf-doc - Python library for the Advanced Scientific Data Format 
(documenta
 python3-asdf - Python 3 library for the Advanced Scientific Data Format
Closes: 912255
Changes:
 python-asdf (2.1.0-2) unstable; urgency=medium
 .
   * Remove loopback internet access test (Closes: #912255)
Checksums-Sha1:
 19b4af0a66c00b2ec6794180af11ca9bfd916184 2419 python-asdf_2.1.0-2.dsc
 317f63c04be8ef6d84f47d930dc42aad77f95f18 6500 python-asdf_2.1.0-2.debian.tar.xz
Checksums-Sha256:
 76dbc9d07fbcdd580fe2e8d2428881f8bdbf9c02b6fabf4ab97a539a230b61ce 2419 
python-asdf_2.1.0-2.dsc
 1259025393014696d72ce35cd52001b0a7b52e75f9f626cc90aa7d896773a3f5 6500 
python-asdf_2.1.0-2.debian.tar.xz
Files:
 85c8904e8f04241daa7d04b5cdfc372d 2419 python optional python-asdf_2.1.0-2.dsc
 7a961959569f9fe9dc7b549c1ded5071 6500 python optional 
python-asdf_2.1.0-2.debian.tar.xz

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

iQIzBAEBCgAdFiEE7/BpV0Ra2/h0L3qtmk9WvbkOGL0FAlvXYYMACgkQmk9WvbkO
GL3IpA//VwJeicOUGw+hhvTaQrrQcjaP2z5MZL+HSmfvTQ1dyja6PJycwNBgNh3d
WS9otIeZYIfP31DIgKIdO0wgIz2FOXpcw2Nsy15Bb0zMuf/G84qZg4eplS7UygGX
1ZBCmrJX1NJ75cH7CwB9Xgmf3+7nXLkaU6+wPMss9xsFLf16MVw4+yi0ooEYxIFB
poLqfAeIgS1vcJN1u7uLw2OryTNAzPlTbGxb+9gKypMu2n1Rpt0EqP6GsalGc87u
2F484LNzsjailDb2emfgyejpuYaNPH9EfqnOPvYY7iURUpDZrk+pxWBeVeK/YlA5
OQJDf+4ydPq2d7zGGALUL967w9yptVP9eFyivCs2eIyBmahmeNbr12kgeLMs4gIY
CbWmBtLwTSTqRVmBHCmVPoHMDRIMqn5yLm4NGsdFd5MDdcFu0AM9nSq55N6825fj
NJZFnP6QorN8dJy2di9UmG9hZKqFo8dZXOUE011TlLxJ+65+C9336YVxq6j2VaMu
0UFo842PcO0/enczZplWnA31aOrorAM3nyJhKm2l9UnwfFk/+UyDdsTFzcj0zM+i
Ak9ojqaW11oS1x+XseG9C6iC2+TWhpI3VydRF2E0C4qfSYbIj2MxEL5bKV261mL/
umjygC0gVo+qw1unVfFTW5cfd47VEaJqZOSUIexeth7KrAZZXgI=
=S9tN
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to