Your message dated Sat, 22 Feb 2025 09:39:03 +0000
with message-id <[email protected]>
and subject line Bug#1098622: fixed in rasterio 1.4.3-2
has caused the Debian Bug report #1098622,
regarding rasterio: FTBFS: E           assert 1 == 0
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.)


-- 
1098622: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1098622
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: src:rasterio
Version: 1.4.3-1
Severity: serious
Tags: ftbfs trixie sid

Dear maintainer:

During a rebuild of all packages in unstable, your package failed to build:

--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean --buildsystem pybuild
   dh_auto_clean -O--buildsystem=pybuild
   dh_autoreconf_clean -O--buildsystem=pybuild
   dh_clean -O--buildsystem=pybuild
 debian/rules binary
dh binary --buildsystem pybuild
   dh_update_autotools_config -O--buildsystem=pybuild
   dh_autoreconf -O--buildsystem=pybuild
   dh_auto_configure -O--buildsystem=pybuild
   dh_auto_build -O--buildsystem=pybuild
I: pybuild plugin_pyproject:129: Building wheel for python3.12 with "build" 
module
I: pybuild base:311: python3.12 -m build --skip-dependency-check --no-isolation 
--wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_rasterio  
* Building wheel...

[... snipped ...]

INFO:wheel:adding 'rasterio/rio/warp.py'
INFO:wheel:adding 'rasterio-1.4.3.dist-info/AUTHORS.txt'
INFO:wheel:adding 'rasterio-1.4.3.dist-info/LICENSE.txt'
INFO:wheel:adding 'rasterio-1.4.3.dist-info/METADATA'
INFO:wheel:adding 'rasterio-1.4.3.dist-info/WHEEL'
INFO:wheel:adding 'rasterio-1.4.3.dist-info/entry_points.txt'
INFO:wheel:adding 'rasterio-1.4.3.dist-info/top_level.txt'
INFO:wheel:adding 'rasterio-1.4.3.dist-info/RECORD'
INFO:root:removing build/bdist.linux-x86_64/wheel
Successfully built rasterio-1.4.3-cp313-cp313-linux_x86_64.whl
I: pybuild plugin_pyproject:144: Unpacking wheel built for python3.13 with 
"installer" module
   debian/rules override_dh_auto_test
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_test
I: pybuild pybuild:308: cp -r /<<PKGBUILDDIR>>/tests 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_rasterio/build
I: pybuild base:311: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_rasterio/build; 
python3.12 -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 tes
 ts/test_warp.py --ignore tests/test_warpedvrt.py
Test data present.
============================= test session starts ==============================
platform linux -- Python 3.12.9, pytest-8.3.4, pluggy-1.5.0
rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_rasterio/build
configfile: pyproject.toml
plugins: hypothesis-6.125.2, typeguard-4.4.1
collected 1135 items / 1 skipped

tests/test__env.py .................                                     [  1%]
tests/test__version.py .....                                             [  1%]
tests/test_band.py .                                                     [  2%]
tests/test_band_masks.py ...........                                     [  2%]
tests/test_blocks.py ......................                              [  4%]
tests/test_boundless_read.py .XX..........                               [  6%]
tests/test_checksum.py ......                                            [  6%]
tests/test_cli_main.py ..                                                [  6%]
tests/test_colorinterp.py .....xx................................        [ 10%]
tests/test_colormap.py .                                                 [ 10%]
tests/test_complex_dtypes.py .....                                       [ 10%]
tests/test_coords.py ......                                              [ 11%]
tests/test_creation_options.py .                                         [ 11%]
tests/test_crs.py ...................................................... [ 16%]
......................................................................   [ 22%]
tests/test_data_paths.py ..                                              [ 22%]
tests/test_dataset.py .................................                  [ 25%]
tests/test_dataset_mask.py ............                                  [ 26%]
tests/test_dataset_rw.py ...                                             [ 26%]
tests/test_deprecated.py .                                               [ 26%]
tests/test_descriptions.py ....                                          [ 27%]
tests/test_driver_management.py ....                                     [ 27%]
tests/test_driver_policy.py ..                                           [ 27%]
tests/test_dtypes.py ..........................                          [ 29%]
tests/test_enums.py ...........                                          [ 30%]
tests/test_err.py .....                                                  [ 31%]
tests/test_features.py ................................................. [ 35%]
................sx.......................................s.............. [ 42%]
X.........                                                               [ 42%]
tests/test_filepath.py .............xx...                                [ 44%]
tests/test_fillnodata.py ....                                            [ 44%]
tests/test_gcps.py .........                                             [ 45%]
tests/test_gdal_raster_io.py ...................................         [ 48%]
tests/test_image_structure.py ...............                            [ 50%]
tests/test_indexing.py .....................                             [ 51%]
tests/test_int8.py .....                                                 [ 52%]
tests/test_io_mixins.py .....                                            [ 52%]
tests/test_mask.py .......................                               [ 54%]
tests/test_mask_creation.py .x...                                        [ 55%]
tests/test_memoryfile.py ..................................              [ 58%]
tests/test_meta.py ..                                                    [ 58%]
tests/test_no_georef.py ..                                               [ 58%]
tests/test_nodata.py ......                                              [ 59%]
tests/test_open.py .......                                               [ 59%]
tests/test_open_options.py ...                                           [ 60%]
tests/test_open_overview_level.py .                                      [ 60%]
tests/test_open_sharing.py ..                                            [ 60%]
tests/test_options.py .                                                  [ 60%]
tests/test_overviews.py ..............                                   [ 61%]
tests/test_pad.py .                                                      [ 61%]
tests/test_path.py ...................................................   [ 66%]
tests/test_png.py .                                                      [ 66%]
tests/test_process_pool_executor.py ..                                   [ 66%]
tests/test_profile.py ...................                                [ 68%]
tests/test_read.py .........................                             [ 70%]
tests/test_read_dtype.py ....                                            [ 70%]
tests/test_read_resample.py ........                                     [ 71%]
tests/test_reshape_image.py ...                                          [ 71%]
tests/test_revolvingdoor.py .                                            [ 71%]
tests/test_rio_create.py ..........F.F.F                                 [ 73%]
tests/test_rio_env.py ....                                               [ 73%]
tests/test_rio_transform.py .                                            [ 73%]
tests/test_rpcs.py ......                                                [ 74%]
tests/test_sampling.py ...........                                       [ 74%]
tests/test_scale_offset.py ........                                      [ 75%]
tests/test_show_versions.py ....                                         [ 76%]
tests/test_shutil.py .................                                   [ 77%]
tests/test_statistics.py .......                                         [ 78%]
tests/test_subdatasets.py ..                                             [ 78%]
tests/test_tag_item.py ...                                               [ 78%]
tests/test_tag_ns.py .                                                   [ 78%]
tests/test_tags.py .....                                                 [ 79%]
tests/test_thread_pool_executor.py ..                                    [ 79%]
tests/test_threading.py ....                                             [ 79%]
tests/test_tools.py ..                                                   [ 79%]
tests/test_transform.py ................................................ [ 84%]
......................                                                   [ 85%]
tests/test_units.py ....                                                 [ 86%]
tests/test_update.py ........                                            [ 87%]
tests/test_vrt.py ...                                                    [ 87%]
tests/test_warnings.py .....                                             [ 87%]
tests/test_warp_transform.py ........................                    [ 89%]
tests/test_windows.py .................................................. [ 94%]
..................                                                       [ 95%]
tests/test_windows_mixins.py ......                                      [ 96%]
tests/test_write.py .........................................            [100%]

=================================== FAILURES ===================================
____________________________ test_create_overwrite _____________________________

tmp_path = PosixPath('/tmp/pytest-of-buildd/pytest-0/test_create_overwrite0')
runner = <click.testing.CliRunner object at 0x7f94cf246ea0>

    def test_create_overwrite(tmp_path, runner):
        """Allow overwrite of existing file with option."""
        outpath = tmp_path.joinpath("out.tif")
        outpath.touch()
        outfile = str(outpath)
    
        result = runner.invoke(
            main_group,
            [
                "create",
                "-f",
                "GTiff",
                "-t",
                "uint8",
                "-n",
                "3",
                "-h",
                "512",
                "-w",
                "256",
                "--overwrite",
                outfile,
            ],
        )
>       assert result.exit_code == 0
E       assert 1 == 0
E        +  where 1 = <Result SystemExit(1)>.exit_code

tests/test_rio_create.py:373: AssertionError
________________________ test_create_overwrite_nonfile _________________________

runner = <click.testing.CliRunner object at 0x7f94cf0f7ce0>

    def test_create_overwrite_nonfile(runner):
        """Allow overwrite of existing non-file with option."""
        with MemoryFile(bytes(bytearray(100000))) as memfile:
            result = runner.invoke(
                main_group,
                [
                    "create",
                    "-f",
                    "GTiff",
                    "-t",
                    "uint8",
                    "-n",
                    "1",
                    "-h",
                    "16",
                    "-w",
                    "16",
                    "--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:421: 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 0x7f94cf0f7eb0>.
INFO     rasterio._env:__init__.py:356 GDAL signalled an error: err_no=4, 
msg="`/vsimem/test_create_overwrite_nonfile-d4748ac4-f727-4d4b-847e-16ec3e70f955/test_create_overwrite_nonfile-d4748ac4-f727-4d4b-847e-16ec3e70f955.tif'
 not recognized as being in a supported file format."
DEBUG    rasterio._env:env.py:374 Stopped GDALEnv <rasterio._env.GDALEnv object 
at 0x7f94cf0f7eb0>.
_______________________ test_create_overwrite_nonfile_2 ________________________

path_rgb_byte_tif = 
'/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_rasterio/build/tests/data/RGB.byte.tif'
runner = <click.testing.CliRunner object at 0x7f94cf0f6f00>

    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 0x7f94cf0f5870>.
DEBUG    rasterio._env:env.py:374 Stopped GDALEnv <rasterio._env.GDALEnv object 
at 0x7f94cf0f5870>.
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 0x7f94cf110eb0>.
DEBUG    rasterio._env:env.py:374 Stopped GDALEnv <rasterio._env.GDALEnv object 
at 0x7f94cf110eb0>.
=============================== 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.12_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.12_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 9.21s ==
E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=1: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_rasterio/build; python3.12 -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
I: pybuild pybuild:308: cp -r /<<PKGBUILDDIR>>/tests 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_rasterio/build
I: pybuild base:311: 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 tes
 ts/test_warp.py --ignore tests/test_warpedvrt.py
Test data present.
============================= test session starts ==============================
platform linux -- Python 3.13.2, pytest-8.3.4, pluggy-1.5.0
rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_rasterio/build
configfile: pyproject.toml
plugins: hypothesis-6.125.2, typeguard-4.4.1
collected 1135 items / 1 skipped

tests/test__env.py .................                                     [  1%]
tests/test__version.py .....                                             [  1%]
tests/test_band.py .                                                     [  2%]
tests/test_band_masks.py ...........                                     [  2%]
tests/test_blocks.py ......................                              [  4%]
tests/test_boundless_read.py .XX..........                               [  6%]
tests/test_checksum.py ......                                            [  6%]
tests/test_cli_main.py ..                                                [  6%]
tests/test_colorinterp.py .....xx................................        [ 10%]
tests/test_colormap.py .                                                 [ 10%]
tests/test_complex_dtypes.py .....                                       [ 10%]
tests/test_coords.py ......                                              [ 11%]
tests/test_creation_options.py .                                         [ 11%]
tests/test_crs.py ...................................................... [ 16%]
......................................................................   [ 22%]
tests/test_data_paths.py ..                                              [ 22%]
tests/test_dataset.py .................................                  [ 25%]
tests/test_dataset_mask.py ............                                  [ 26%]
tests/test_dataset_rw.py ...                                             [ 26%]
tests/test_deprecated.py .                                               [ 26%]
tests/test_descriptions.py ....                                          [ 27%]
tests/test_driver_management.py ....                                     [ 27%]
tests/test_driver_policy.py ..                                           [ 27%]
tests/test_dtypes.py ..........................                          [ 29%]
tests/test_enums.py ...........                                          [ 30%]
tests/test_err.py .....                                                  [ 31%]
tests/test_features.py ................................................. [ 35%]
................sx.......................................s.............. [ 42%]
X.........                                                               [ 42%]
tests/test_filepath.py .............xx...                                [ 44%]
tests/test_fillnodata.py ....                                            [ 44%]
tests/test_gcps.py .........                                             [ 45%]
tests/test_gdal_raster_io.py ...................................         [ 48%]
tests/test_image_structure.py ...............                            [ 50%]
tests/test_indexing.py .....................                             [ 51%]
tests/test_int8.py .....                                                 [ 52%]
tests/test_io_mixins.py .....                                            [ 52%]
tests/test_mask.py .......................                               [ 54%]
tests/test_mask_creation.py .x...                                        [ 55%]
tests/test_memoryfile.py ..................................              [ 58%]
tests/test_meta.py ..                                                    [ 58%]
tests/test_no_georef.py ..                                               [ 58%]
tests/test_nodata.py ......                                              [ 59%]
tests/test_open.py .......                                               [ 59%]
tests/test_open_options.py ...                                           [ 60%]
tests/test_open_overview_level.py .                                      [ 60%]
tests/test_open_sharing.py ..                                            [ 60%]
tests/test_options.py .                                                  [ 60%]
tests/test_overviews.py ..............                                   [ 61%]
tests/test_pad.py .                                                      [ 61%]
tests/test_path.py ...................................................   [ 66%]
tests/test_png.py .                                                      [ 66%]
tests/test_process_pool_executor.py ..                                   [ 66%]
tests/test_profile.py ...................                                [ 68%]
tests/test_read.py .........................                             [ 70%]
tests/test_read_dtype.py ....                                            [ 70%]
tests/test_read_resample.py ........                                     [ 71%]
tests/test_reshape_image.py ...                                          [ 71%]
tests/test_revolvingdoor.py .                                            [ 71%]
tests/test_rio_create.py ..........F.F.F                                 [ 73%]
tests/test_rio_env.py ....                                               [ 73%]
tests/test_rio_transform.py .                                            [ 73%]
tests/test_rpcs.py ......                                                [ 74%]
tests/test_sampling.py ...........                                       [ 74%]
tests/test_scale_offset.py ........                                      [ 75%]
tests/test_show_versions.py ....                                         [ 76%]
tests/test_shutil.py .................                                   [ 77%]
tests/test_statistics.py .......                                         [ 78%]
tests/test_subdatasets.py ..                                             [ 78%]
tests/test_tag_item.py ...                                               [ 78%]
tests/test_tag_ns.py .                                                   [ 78%]
tests/test_tags.py .....                                                 [ 79%]
tests/test_thread_pool_executor.py ..                                    [ 79%]
tests/test_threading.py ....                                             [ 79%]
tests/test_tools.py ..                                                   [ 79%]
tests/test_transform.py ................................................ [ 84%]
......................                                                   [ 85%]
tests/test_units.py ....                                                 [ 86%]
tests/test_update.py ........                                            [ 87%]
tests/test_vrt.py ...                                                    [ 87%]
tests/test_warnings.py .....                                             [ 87%]
tests/test_warp_transform.py ........................                    [ 89%]
tests/test_windows.py .................................................. [ 94%]
..................                                                       [ 95%]
tests/test_windows_mixins.py ......                                      [ 96%]
tests/test_write.py .........................................            [100%]

=================================== FAILURES ===================================
____________________________ test_create_overwrite _____________________________

tmp_path = PosixPath('/tmp/pytest-of-buildd/pytest-1/test_create_overwrite0')
runner = <click.testing.CliRunner object at 0x7fb3b73fbd40>

    def test_create_overwrite(tmp_path, runner):
        """Allow overwrite of existing file with option."""
        outpath = tmp_path.joinpath("out.tif")
        outpath.touch()
        outfile = str(outpath)
    
        result = runner.invoke(
            main_group,
            [
                "create",
                "-f",
                "GTiff",
                "-t",
                "uint8",
                "-n",
                "3",
                "-h",
                "512",
                "-w",
                "256",
                "--overwrite",
                outfile,
            ],
        )
>       assert result.exit_code == 0
E       assert 1 == 0
E        +  where 1 = <Result SystemExit(1)>.exit_code

tests/test_rio_create.py:373: AssertionError
________________________ test_create_overwrite_nonfile _________________________

runner = <click.testing.CliRunner object at 0x7fb3b69eac10>

    def test_create_overwrite_nonfile(runner):
        """Allow overwrite of existing non-file with option."""
        with MemoryFile(bytes(bytearray(100000))) as memfile:
            result = runner.invoke(
                main_group,
                [
                    "create",
                    "-f",
                    "GTiff",
                    "-t",
                    "uint8",
                    "-n",
                    "1",
                    "-h",
                    "16",
                    "-w",
                    "16",
                    "--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:421: 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 0x7fb3b73bfe50>.
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.

--- End Message ---
--- Begin Message ---
Source: rasterio
Source-Version: 1.4.3-2
Done: Bas Couwenberg <[email protected]>

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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Bas Couwenberg <[email protected]> (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 [email protected])


-----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 <[email protected]>
Changed-By: Bas Couwenberg <[email protected]>
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-----

Attachment: pgpJnPQ8mkSMS.pgp
Description: PGP signature


--- End Message ---
_______________________________________________
Pkg-grass-devel mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-grass-devel

Reply via email to