[continued from previous message]
INFO rasterio._env:__init__.py:356 GDAL signalled an error: err_no=4, msg="`/vsimem/test_create_overwrite_nonfile-c70b0572-58e6-439f-83fd-2a7eb5f98d38/test_create_overwrite_nonfile-c70b0572-58e6-439f-83fd-2a7eb5f98d38.tif' not recognized as being in
a supported file format."
DEBUG rasterio._env:env.py:374 Stopped GDALEnv <rasterio._env.GDALEnv object at 0x7fb3b73bfe50>.
_______________________ test_create_overwrite_nonfile_2 ________________________
path_rgb_byte_tif = '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_rasterio/build/tests/data/RGB.byte.tif'
runner = <click.testing.CliRunner object at 0x7fb3b73f62d0>
def test_create_overwrite_nonfile_2(path_rgb_byte_tif, runner):
"""Allow overwrite of existing non-file dataset with option."""
with open(path_rgb_byte_tif, "rb") as dataset:
data = dataset.read()
with MemoryFile(data) as memfile:
result = runner.invoke(
main_group,
[
"create",
"-f",
"GTiff",
"-t",
"uint8",
"-n",
"1",
"-h",
"512",
"-w",
"256",
"--overwrite",
memfile.name,
],
)
assert result.exit_code == 0
E assert 1 == 0
E + where 1 = <Result SystemExit(1)>.exit_code
tests/test_rio_create.py:481: AssertionError
------------------------------ Captured log call -------------------------------
DEBUG rasterio._env:env.py:338 GDAL data files are available at built-in paths.
DEBUG rasterio._env:env.py:338 PROJ data files are available at built-in paths.
DEBUG rasterio._env:env.py:338 Started GDALEnv: self=<rasterio._env.GDALEnv object at 0x7fb3b6b89570>.
DEBUG rasterio._env:env.py:374 Stopped GDALEnv <rasterio._env.GDALEnv object at 0x7fb3b6b89570>.
DEBUG rasterio._env:env.py:338 GDAL data files are available at built-in paths.
DEBUG rasterio._env:env.py:338 PROJ data files are available at built-in paths.
DEBUG rasterio._env:env.py:338 Started GDALEnv: self=<rasterio._env.GDALEnv object at 0x7fb3b6b89510>.
DEBUG rasterio._env:env.py:374 Stopped GDALEnv <rasterio._env.GDALEnv object at 0x7fb3b6b89510>.
=============================== warnings summary ===============================
tests/test_dtypes.py::test_cant_cast_dtype_nan[uint8] tests/test_dtypes.py::test_cant_cast_dtype_nan[uint16] tests/test_dtypes.py::test_cant_cast_dtype_nan[uint32] tests/test_dtypes.py::test_cant_cast_dtype_nan[int32]
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_rasterio/build/rasterio/dtypes.py:208: RuntimeWarning: invalid value encountered in cast
return numpy.allclose(values, values.astype(dtype), equal_nan=True)
tests/test_show_versions.py::test_get_deps_info tests/test_show_versions.py::test_show_versions_with_gdal
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_rasterio/build/rasterio/_show_versions.py:74: DeprecationWarning: The '__version__' attribute is deprecated and will be removed in Click 9.1. Use feature detection or 'importlib.metadata.version("click")' instead.
return module.__version__
-- Docs:
https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================
FAILED tests/test_rio_create.py::test_create_overwrite - assert 1 == 0
FAILED tests/test_rio_create.py::test_create_overwrite_nonfile - assert 1 == 0 FAILED tests/test_rio_create.py::test_create_overwrite_nonfile_2 - assert 1 == 0
= 3 failed, 1121 passed, 3 skipped, 6 xfailed, 3 xpassed, 6 warnings in 8.96s ==
E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_rasterio/build; python3.13 -m pytest --ignore tests/test_env.py --ignore tests/test_io.py --ignore tests/test_merge.py --ignore tests/test_
pyopener.py --ignore tests/test_read_boundless.py --ignore tests/test_rio_blocks.py --ignore tests/test_rio_bounds.py --ignore tests/test_rio_calc.py --ignore tests/test_rio_clip.py --ignore tests/test_rio_convert.py --ignore tests/test_rio_edit_info.py -
-ignore tests/test_rio_gcp.py --ignore tests/test_rio_helpers.py --ignore tests/test_rio_info.py --ignore tests/test_rio_insp.py --ignore tests/test_rio_main.py --ignore tests/test_rio_mask.py --ignore tests/test_rio_merge.py --ignore tests/test_rio_
options.py --ignore tests/test_rio_overview.py --ignore tests/test_rio_rasterize.py --ignore tests/test_rio_rm.py --ignore tests/test_rio_sample.py --ignore tests/test_rio_shapes.py --ignore tests/test_rio_stack.py --ignore tests/test_rio
_warp.py --ignore tests/test_session.py --ignore tests/test_warp.py --ignore tests/test_warpedvrt.py
dh_auto_test: error: pybuild --test -i python{version} -p "3.12 3.13" returned exit code 13
make[1]: *** [debian/rules:50: override_dh_auto_test] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:43: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2 --------------------------------------------------------------------------------
The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:
https://people.debian.org/~sanvila/build-logs/202502/
About the archive rebuild: The build was made on virtual machines from AWS, using sbuild and a reduced chroot with only build-essential packages.
If you could not reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.
If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:rasterio, so that this is still
visible in the BTS web page for this package.
Thanks.
Received: (at 1098622-close) by bugs.debian.org; 22 Feb 2025 09:39:05 +0000 X-Spam-Checker-Version: SpamAssassin 3.4.6-bugs.debian.org_2005_01_02
(2021-04-09) on buxtehude.debian.org
X-Spam-Level:
X-Spam-Status: No, score=-112.3 required=4.0 tests=BAYES_00,DKIM_SIGNED,
DKIM_VALID,DKIM_VALID_AU,FVGT_m_MULTI_ODD,HAS_BUG_NUMBER,MD5_SHA1_SUM,
PGPSIGNATURE,RDNS_NONE,SPF_HELO_NONE,SPF_NONE,USER_IN_DKIM_WELCOMELIST,
USER_IN_DKIM_WHITELIST autolearn=ham autolearn_force=no
version=3.4.6-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 101; hammy, 150; neutral, 139; spammy,
0. spammytokens: hammytokens:0.000-+--HX-Debian:DAK,
0.000-+--H*rp:D*ftp-master.debian.org, 0.000-+--HX-DAK:process-upload,
0.000-+--UD:debian.tar.xz, 0.000-+--H*r:sk:fasolo.
Return-path: <
envelope@ftp-master.debian.org>
Received: from muffat.debian.org ([2607:f8f0:614:1::1274:33]:59212)
from C=NA,ST=NA,L=Ankh Morpork,O=Debian SMTP,OU=Debian SMTP CA,CN=muffat.debian.org,EMAIL=
hostmaster@muffat.debian.org (verified)
by buxtehude.debian.org with esmtps (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
(Exim 4.94.2)
(envelope-from <
envelope@ftp-master.debian.org>)
id 1tllyT-00BYxn-8g
for
1098622-close@bugs.debian.org; Sat, 22 Feb 2025 09:39:05 +0000 Received: from [192.91.235.231] (port=57878 helo=fasolo.debian.org)
from C=NA,ST=NA,L=Ankh Morpork,O=Debian SMTP,OU=Debian SMTP CA,CN=fasolo.debian.org,EMAIL=
hostmaster@fasolo.debian.org (verified)
by muffat.debian.org with esmtps (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
(Exim 4.94.2)
(envelope-from <
envelope@ftp-master.debian.org>)
id 1tllyS-004ahn-Kr
for
1098622-close@bugs.debian.org; Sat, 22 Feb 2025 09:39:04 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;
d=ftp-master.debian.org; s=smtpauto.fasolo; h=Date:Message-Id:Content-Type:
Subject:MIME-Version:To:Reply-To:From:Cc:Content-Transfer-Encoding:Content-ID
:Content-Description:In-Reply-To:References;
bh=kgFweg8gWxNuEYv7vW48QtjRXBu0j7Y/cQkQmHKcXDE=; b=GHiEdRNF18EzVXUAaGX9NOzBFQ
bZJzH0O8ssuWtbXfnVefqABVE4S0j2nprPZSWFdLG/ACUGCvqFQvR3gpsnGY7RHir/XyA26o2QKrg
4wmp9BJ4TCHHLjJtD8yQjhACI3vqUdmZDIj6nSMwN+7C/Un4AuAITQhxFtzoiIgSL4Yf9djKTQl0/
MtLuty5IUj9QvksIWX73Gt1pEBq/ClGpWAaOgvcCIAKaSsj4vcqDVhn8ERbOICsKdx/4oEx/bL3Sy
/kJ2ZYbZKsylJGa/PygRDGXV/1hMFtkBddrOugJZ6p//fZjIg1ZcvoL94AJTxWHt3TybCHvIrN5Sl
uAIe2JyA==;
Received: from dak by fasolo.debian.org with local (Exim 4.94.2)
(envelope-from <
envelope@ftp-master.debian.org>)
id 1tllyR-008iy0-LR; Sat, 22 Feb 2025 09:39:03 +0000
From: Debian FTP Masters <
ftpmaster@ftp-master.debian.org>
Reply-To: Bas Couwenberg <
sebastic@debian.org>
To:
1098622-close@bugs.debian.org
X-DAK: dak process-upload
X-Debian: DAK
X-Debian-Package: rasterio
Debian: DAK
Debian-Changes: rasterio_1.4.3-2_source.changes
Debian-Source: rasterio
Debian-Version: 1.4.3-2
Debian-Architecture: source
Debian-Suite: unstable
Debian-Archive-Action: accept
MIME-Version: 1.0
Subject: Bug#1098622: fixed in rasterio 1.4.3-2
Content-Type: multipart/signed; micalg="pgp-sha256";
protocol="application/pgp-signature";
boundary="===============6207487193978513070=="
Message-Id: <
E1tllyR-008iy0-LR@fasolo.debian.org>
Date: Sat, 22 Feb 2025 09:39:03 +0000
--===============6207487193978513070==
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
Source: rasterio
Source-Version: 1.4.3-2
Done: Bas Couwenberg <
sebastic@debian.org>
We believe that the bug you reported is fixed in the latest version of rasterio, 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
1098622@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Bas Couwenberg <
sebastic@debian.org> (supplier of updated rasterio 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
ftpmaster@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Sat, 22 Feb 2025 09:26:21 +0100
Source: rasterio
Architecture: source
Version: 1.4.3-2
Distribution: unstable
Urgency: medium
Maintainer: Debian GIS Project <
pkg-grass-devel@lists.alioth.debian.org> Changed-By: Bas Couwenberg <
sebastic@debian.org>
Closes: 1098622
Changes:
rasterio (1.4.3-2) unstable; urgency=medium
.
* Team upload.
* Add patch to fix FTBFS with click 8.2.
(closes: #1098622)
* Update lintian overrides.
Checksums-Sha1:
445667da518a7fc06637af0247e8d4ebb368caf6 2419 rasterio_1.4.3-2.dsc
94ea25cc44d27beaa9347496d2e0ca3ed58daa71 9260 rasterio_1.4.3-2.debian.tar.xz
efb54c8739e20d58994b2c94527a72f6dd1139d8 17686 rasterio_1.4.3-2_amd64.buildinfo
Checksums-Sha256:
0619807daf27232bd08fd891b6bc33684a91317fe3abd880f539c0f7eeeb0389 2419 rasterio_1.4.3-2.dsc
8d2bdc8afba9a9147df52ba0b4e578855d3803515a209887a02fcd39f4865950 9260 rasterio_1.4.3-2.debian.tar.xz
e77b2026e2ec15a646113837c7b731862bfe113fefc9d2b185f79f643de994b7 17686 rasterio_1.4.3-2_amd64.buildinfo
Files:
e6ff407f053a6e85ad73473301ae8d15 2419 python optional rasterio_1.4.3-2.dsc
84eb8849d44f69fb5748e9d94816ca5f 9260 python optional rasterio_1.4.3-2.debian.tar.xz
1c938500b22784f6da0cc31abbdf82e4 17686 python optional rasterio_1.4.3-2_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEgYLeQXBWQI1hRlDRZ1DxCuiNSvEFAme5kTUACgkQZ1DxCuiN SvGLAxAAtGxlcl4mILKnA5lC47KUWWgCIIMEBvlM9fQOtnGpWSYubiSPW8zfHulm TccFfRD3FvrwL/R1CIF8NC0lTzr6tB90/emv/SaM+tfE/FfjuSKgiWknY0DFpKgk 0/XUf9MHHAJPfdA1bcvu1MOLfLPDCzXtiZfhX911wS5xbG3N8x/mbLlUqI4+t2Dv 3TbUEX65+mvXB7qA6+vxcccHf5CpYOAPel86jwPu7he1BeJGR9IgthciZDCV85hq TRMGYIxLrWrmiAvinuV/icI+5h9vib5YfS3ZM6/wFzDcrCOOIR40KwDH7w6ax+NI pBR2GzDLZZg7RAc+oqfqOJ0rp9E8GnQ4aNAzjsleNR11iDq4uTlj55pEpZRxpeff SNAI6ER9ykdab5TknVpBkGVSTS5e3QOngDl/tv/4LkDyRQKYoMQMwZjO+ALYihAe 0uHfVRgzHXOoqTtYJ7+A1CCBaMad9xkawMy+52L2L2dfV3X889gE5M8e1iZmWQtX 91dXoUa99/LyGdXHq+2NiQuyZttNqYw97+PF8b3WdVSCvQkptT3Tu7F9yyzKoMZv Rl09+oGN8PpM2LzcWIDgL/1Usegim94sKzcnBZUm3BYSPslAxFxS/wexXsLiSfWK a2bmEwT1cQiM00TwYEDPeR7C6Uw12hJUw537mIAhq/HUZPZNn9I=
=3VXj
-----END PGP SIGNATURE-----
--==============b07487193978513070=Content-Type: application/pgp-signature
-----BEGIN PGP SIGNATURE-----
iHUEABYIAB0WIQTziqJOuF8J+ZI8pJSb9qggYcy5IQUCZ7mbNwAKCRCb9qggYcy5 IZUdAQDQW84JTQLZ7XNhq/QV6UxARCnPl7yhb36EoVcQRgnybAEAvCiDW76+fQVW L2No4ZY54Cpa/ICt0y8P4pVmlsBYDAE=l65g
-----END PGP SIGNATURE-----
--==============b07487193978513070==--
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)