• Bug#1098622: rasterio: FTBFS: E assert 1 == 0 (1/2)

    From Santiago Vila@21:1/5 to All on Sat Feb 22 00:40:11 2025
    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 ==

    [continued in next message]

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Debian Bug Tracking System@21:1/5 to All on Sat Feb 22 10:50:01 2025
    This is a multi-part message in MIME format...

    Your message dated Sat, 22 Feb 2025 09:39:03 +0000
    with message-id <E1tllyR-008iy0-LR@fasolo.debian.org>
    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 owner@bugs.debian.org
    immediately.)


    --
    1098622: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1098622
    Debian Bug Tracking System
    Contact owner@bugs.debian.org with problems

    Received: (at submit) by bugs.debian.org; 21 Feb 2025 23:29:24 +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=-121.5 required=4.0 tests=ALL_TRUSTED,BAYES_00,
    BODY_INCLUDES_PACKAGE,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,
    DKIM_VALID_AU,DKIM_VALID_EF,FOURLA,FROMDEVELOPER,HAS_PACKAGE,
    USER_IN_DKIM_WELCOMELIST,USER_IN_DKIM_WHITELIST,WEIRD_PORT,
    X_DEBBUGS_CC autolearn=ham autolearn_force=no
    version=3.4.6-bugs.debian.org_2005_01_02
    X-Spam-Bayes: score:0.0000 Tokens: new, 194; hammy, 150; neutral, 431; spammy,
    0. spammytokens: hammytokens:0.000-+--trixie, 0.000-+--pkgbuilddir,
    0.000-+--PKGBUILDDIR, 0.000-+--sk:dh_auto, 0.000-+--H*F:U*sanvila Return-path: <sanvila@debian.org>
    Received: from muffat.debian.org ([2607:f8f0:614:1::1274:33]:58500)
    from