Your message dated Tue, 04 Feb 2020 16:20:15 +0000
with message-id <[email protected]>
and subject line Bug#950660: fixed in python-pyproj 2.4.2+ds-3
has caused the Debian Bug report #950660,
regarding python-pyproj FTBFS: test failures
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 [email protected]
immediately.)
--
950660: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=950660
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: python-pyproj
Version: 2.4.2+ds-2
Severity: serious
Tags: ftbfs
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/python-pyproj.html
...
=================================== FAILURES ===================================
__________________________________ test_datum __________________________________
aoi_data_directory = None
def test_datum(aoi_data_directory):
p1 = Proj(proj="latlong", datum="WGS84")
s_1 = -111.5
s_2 = 45.25919444444
p2 = Proj(proj="utm", zone=10, datum="NAD27")
x2, y2 = transform(p1, p2, s_1, s_2)
> assert_almost_equal((x2, y2), (1402291.0833290431, 5076289.591846835))
E AssertionError:
E Arrays are not almost equal to 7 decimals
E
E Mismatch: 100%
E Max absolute difference: 5.10040385
E Max relative difference: 3.63719338e-06
E x: array([1402285.9829252, 5076292.4212746])
E y: array([1402291.083329 , 5076289.5918468])
test/test_datum.py:12: AssertionError
________________________________ test_doctests _________________________________
aoi_data_directory = None
def test_doctests(aoi_data_directory):
"""run the examples in the docstrings using the doctest module"""
with warnings.catch_warnings():
warnings.filterwarnings(
"ignore",
"You will likely lose important projection information when",
UserWarning,
)
failure_count_proj, test_count = doctest.testmod(pyproj.proj,
verbose=True)
failure_count_crs, test_count_crs = doctest.testmod(pyproj.crs,
verbose=True)
failure_count_geod, test_count_geod = doctest.testmod(pyproj.geod,
verbose=True)
failure_count_transform, test_count_transform = doctest.testmod(
pyproj.transformer, verbose=True
)
failure_count = (
failure_count_proj
+ failure_count_crs
+ failure_count_geod
+ failure_count_transform
)
# Missing shapely wheels for Windows, non x86_64 platforms, and python
3.8
expected_failure_count = 0
try:
import shapely # noqa
except ImportError:
if (
os.name == "nt"
or platform.uname()[4] != "x86_64"
or (sys.version_info.major, sys.version_info.minor) >= (3, 8)
):
expected_failure_count = 6
# if the below line fails, doctests have failed
> assert (
failure_count == expected_failure_count
), "{0} of the doctests in " "lib/pyproj/__init__.py
failed".format(failure_count)
E AssertionError: 3 of the doctests in lib/pyproj/__init__.py failed
E assert 3 == 0
E -3
E +0
test/test_doctest_wrapper.py:50: AssertionError
...
________________________ test_transform__out_of_bounds _________________________
def test_transform__out_of_bounds():
with pytest.warns(FutureWarning):
transformer = Transformer.from_proj("+init=epsg:4326",
"+init=epsg:27700")
if LooseVersion(proj_version_str) >= LooseVersion("6.3.0"):
with pytest.raises(ProjError):
> transformer.transform(100000, 100000, errcheck=True)
E Failed: DID NOT RAISE <class 'pyproj.exceptions.ProjError'>
test/test_transformer.py:266: Failed
_________________ test_transformer__operations__scope_remarks __________________
def test_transformer__operations__scope_remarks():
transformer = Transformer.from_crs(28356, 7856)
assert transformer.scope is None
assert [op.scope for op in transformer.operations] == [
None,
"Conformal transformation of GDA94 coordinates that have been
derived through "
"GNSS CORS.",
None,
]
> assert [op.remarks for op in transformer.operations] == [
None,
"Scale difference in ppb where 1/billion = 1E-9. Derivation
excluded Cocos, "
"Christmas and Macquarie Islands but is applied there. See codes
8444-46 for "
"equivalents using NTv2 method. See code 8447 for alternative
including "
"distortion model for Aus only.",
None,
]
E AssertionError: assert [None, 'Scale... only.', None] == [None, 'Scale
... only.', None]
E At index 1 diff: 'Scale difference in ppb where 1/billion = 1E-9. See
CT codes 8444-46 for NTv2 method giving equivalent results for Christmas
Island, Cocos Islands and Australia respectively. See CT code 8447 for
alternative including distortion model for Australia only.' != 'Scale
difference in ppb where 1/billion = 1E-9. Derivation excluded Cocos, Christmas
and Macquarie Islands but is applied there. See codes 8444-46 for equivalents
using NTv2 method. See code 8447 for alternative including distortion model for
Aus only.'
E Full diff:
E [None,
E - 'Scale difference in ppb ...
E
E ...Full output truncated (12 lines hidden), use '-vv' to show
test/test_transformer.py:499: AssertionError
==================== 4 failed, 321 passed in 37.67 seconds =====================
E: pybuild pybuild:341: test: plugin distutils failed with: exit code=1: cd
/build/1st/python-pyproj-2.4.2+ds/.pybuild/cpython3_3.8_pyproj/build; python3.8
-m pytest -v
dh_auto_test: error: pybuild --test -i python{version} -p "3.8 3.7" returned
exit code 13
make[1]: *** [debian/rules:31: override_dh_auto_test] Error 25
--- End Message ---
--- Begin Message ---
Source: python-pyproj
Source-Version: 2.4.2+ds-3
We believe that the bug you reported is fixed in the latest version of
python-pyproj, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Bas Couwenberg <[email protected]> (supplier of updated python-pyproj 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 [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Tue, 04 Feb 2020 16:45:47 +0100
Source: python-pyproj
Architecture: source
Version: 2.4.2+ds-3
Distribution: unstable
Urgency: medium
Maintainer: Debian GIS Project <[email protected]>
Changed-By: Bas Couwenberg <[email protected]>
Closes: 950660
Changes:
python-pyproj (2.4.2+ds-3) unstable; urgency=medium
.
* Drop Name field from upstream metadata.
* Bump Standards-Version to 4.5.0, no changes.
* Add patch to fix FTBFS due to test failures.
(closes: #950660)
Checksums-Sha1:
6451285e077155bb35f40bd07c7ab7baa4ca6a25 2201 python-pyproj_2.4.2+ds-3.dsc
d643c0e5c6d594c5eba64e1d1c16b14ab72cd5a4 6912
python-pyproj_2.4.2+ds-3.debian.tar.xz
be0f9e720d668a96c67110719a8ba460514e4eba 9102
python-pyproj_2.4.2+ds-3_amd64.buildinfo
Checksums-Sha256:
b7270ba08a6b20001b38470da7088bac292d1221ead72bca7854181d9db92183 2201
python-pyproj_2.4.2+ds-3.dsc
7f00b3be2fb157f8818526ffd35fe76ce57f0d8cf794b2a8f1cec35d7cc7953e 6912
python-pyproj_2.4.2+ds-3.debian.tar.xz
4d3c814a1c076cc2a8358d6202a46f6dcaee0a40a7cea6cf70ed430f5b3379e3 9102
python-pyproj_2.4.2+ds-3_amd64.buildinfo
Files:
7c48de64743b3075eb58fa0ec52dfd99 2201 python optional
python-pyproj_2.4.2+ds-3.dsc
d7f1c98816a723465ff213f0bf3e14d6 6912 python optional
python-pyproj_2.4.2+ds-3.debian.tar.xz
7b68355ba33e1429864700aaa3488f7c 9102 python optional
python-pyproj_2.4.2+ds-3_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEgYLeQXBWQI1hRlDRZ1DxCuiNSvEFAl45la4ACgkQZ1DxCuiN
SvGx6BAAt7fTTRuZNKyqIi4v/UfF97nNy1oVbExbjyZin7a1Tr0K56WIrMq274Zr
R0h5Ig24IXnWQ1aa25DLVWTJKKLxXhmFya5fJk1QYLKf3iFF92KUWJ8v3uQBfzuM
3CFXRrF28ikjr4oVKkoz7A8S1PqKY3mOETY+tgMpYbm9wHy55lnzjz5p1hI6b7VS
9jjuxty5wo0einaamEYSJzs05hHR9uF+Vwozr/1A6cjYKKQyjER86P1YUUUfmmmq
KzGIUe+fBJo1u1DTjjMcNgZIDM2OtZa+3naky1bMxSaR4hUeQARDuVNtE12beqWG
ZOKJuNnsm617jXn59Z7V70hLRYb0HaHgwsBlHx4dvG3Hj1WjhLbcytGy2ZUKwDsZ
Hx3B5Werz7QKNnGIv2E9LCgQ6A0mmoRqB67LSggdmjx8ARXOI+YwF1TvcAcg8rRK
JOLOVw/EJmzxluR7jl5dX4dxnohtVb6ysM31lv2k+AeGGZgKX2gLX/XJdHk2RJrD
7TOz4yEYK3II/+PIWf9AqIt0ABnwZiDw+25JBLdqzdbXAPN3PNDhQsU0gpKBdfXw
M1hFr4K1OXmyrf1PLfbaCJ7VSt5rG6/T9QraLEYrAxgIPcmHlKVBFUjSjn1ukJzv
egc5QkTU9fA54QPlcVM9edF7qBefEnTl5Oab4LrA6DeDulVEYLM=
=d0Sp
-----END PGP SIGNATURE-----
--- End Message ---