Your message dated Mon, 03 Feb 2025 11:52:47 +0000
with message-id <e1tev0r-00evjx...@fasolo.debian.org>
and subject line Bug#1094734: fixed in ont-fast5-api 4.1.3+dfsg-1
has caused the Debian Bug report #1094734,
regarding FTBFS with NumPy 2
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.)


-- 
1094734: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1094734
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: ont-fast5-api
Version: 4.1.1+dfsg-5
Severity: serious
Tags: ftbfs
Justification: FTBFS

Dear maintainer,

During a test rebuild, ont-fast5-api failed to rebuild.

-------------------------------------------------------------------------------
[...]
test_002_events_only 
(test.test_segmentation_tools.TestSegmentationTools.test_002_events_only) ... 
ERROR

======================================================================
ERROR: test_001_put_and_retrieve 
(test.test_alignment_tools.TestAlignmentTools.test_001_put_and_retrieve)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/build/reproducible-path/ont-fast5-api-4.1.1+dfsg/.pybuild/cpython3_3.12_ont_fast5_api/build/test/test_alignment_tools.py",
 line 77, in test_001_put_and_retrieve
    align.add_alignment_data('template', sam1, sequence1)
  File 
"/build/reproducible-path/ont-fast5-api-4.1.1+dfsg/.pybuild/cpython3_3.12_ont_fast5_api/build/ont_fast5_api/analysis_tools/alignment.py",
 line 131, in add_alignment_data
    self.handle.add_analysis_dataset('{}/{}'.format(self.group_name, subgroup), 
'SAM', sam_arr)
  File 
"/build/reproducible-path/ont-fast5-api-4.1.1+dfsg/.pybuild/cpython3_3.12_ont_fast5_api/build/ont_fast5_api/fast5_read.py",
 line 485, in add_analysis_dataset
    sanitized_data = _sanitize_data_for_writing(data)
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File 
"/build/reproducible-path/ont-fast5-api-4.1.1+dfsg/.pybuild/cpython3_3.12_ont_fast5_api/build/ont_fast5_api/data_sanitisation.py",
 line 31, in _sanitize_data_for_writing
    elif isinstance(data, np.ndarray) and data.dtype.kind == 
np.dtype(np.unicode_):
                                                                      
^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/numpy/__init__.py", line 400, in 
__getattr__
    raise AttributeError(
AttributeError: `np.unicode_` was removed in the NumPy 2.0 release. Use 
`np.str_` instead.

======================================================================
ERROR: test_001_put_and_retrieve 
(test.test_basecall_1d_tools.TestBasecall1DTools.test_001_put_and_retrieve)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/build/reproducible-path/ont-fast5-api-4.1.1+dfsg/.pybuild/cpython3_3.12_ont_fast5_api/build/test/test_basecall_1d_tools.py",
 line 40, in test_001_put_and_retrieve
    basecall.add_event_data('template', data1)
  File 
"/build/reproducible-path/ont-fast5-api-4.1.1+dfsg/.pybuild/cpython3_3.12_ont_fast5_api/build/ont_fast5_api/analysis_tools/basecall_1d.py",
 line 34, in add_event_data
    self.handle.add_analysis_dataset('{}/{}'.format(self.group_name, 
event_group), 'Events', data)
  File 
"/build/reproducible-path/ont-fast5-api-4.1.1+dfsg/.pybuild/cpython3_3.12_ont_fast5_api/build/ont_fast5_api/fast5_read.py",
 line 485, in add_analysis_dataset
    sanitized_data = _sanitize_data_for_writing(data)
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File 
"/build/reproducible-path/ont-fast5-api-4.1.1+dfsg/.pybuild/cpython3_3.12_ont_fast5_api/build/ont_fast5_api/data_sanitisation.py",
 line 31, in _sanitize_data_for_writing
    elif isinstance(data, np.ndarray) and data.dtype.kind == 
np.dtype(np.unicode_):
                                                                      
^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/numpy/__init__.py", line 400, in 
__getattr__
    raise AttributeError(
AttributeError: `np.unicode_` was removed in the NumPy 2.0 release. Use 
`np.str_` instead.

======================================================================
ERROR: test_001_put_and_retrieve 
(test.test_basecall_2d_tools.TestBasecall2DTools.test_001_put_and_retrieve)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/build/reproducible-path/ont-fast5-api-4.1.1+dfsg/.pybuild/cpython3_3.12_ont_fast5_api/build/test/test_basecall_2d_tools.py",
 line 33, in test_001_put_and_retrieve
    basecall.add_prior_alignment(data1)
  File 
"/build/reproducible-path/ont-fast5-api-4.1.1+dfsg/.pybuild/cpython3_3.12_ont_fast5_api/build/ont_fast5_api/analysis_tools/basecall_2d.py",
 line 42, in add_prior_alignment
    self.handle.add_analysis_dataset(path, 'Alignment', data)
  File 
"/build/reproducible-path/ont-fast5-api-4.1.1+dfsg/.pybuild/cpython3_3.12_ont_fast5_api/build/ont_fast5_api/fast5_read.py",
 line 485, in add_analysis_dataset
    sanitized_data = _sanitize_data_for_writing(data)
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File 
"/build/reproducible-path/ont-fast5-api-4.1.1+dfsg/.pybuild/cpython3_3.12_ont_fast5_api/build/ont_fast5_api/data_sanitisation.py",
 line 31, in _sanitize_data_for_writing
    elif isinstance(data, np.ndarray) and data.dtype.kind == 
np.dtype(np.unicode_):
                                                                      
^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/numpy/__init__.py", line 400, in 
__getattr__
    raise AttributeError(
AttributeError: `np.unicode_` was removed in the NumPy 2.0 release. Use 
`np.str_` instead.

======================================================================
ERROR: test__sanitize_data 
(test.test_data_sanitisation.TestDataSanitisation.test__sanitize_data)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/build/reproducible-path/ont-fast5-api-4.1.1+dfsg/.pybuild/cpython3_3.12_ont_fast5_api/build/test/test_data_sanitisation.py",
 line 44, in test__sanitize_data
    _sanitize_data_for_writing(test_array))
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File 
"/build/reproducible-path/ont-fast5-api-4.1.1+dfsg/.pybuild/cpython3_3.12_ont_fast5_api/build/ont_fast5_api/data_sanitisation.py",
 line 31, in _sanitize_data_for_writing
    elif isinstance(data, np.ndarray) and data.dtype.kind == 
np.dtype(np.unicode_):
                                                                      
^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/numpy/__init__.py", line 400, in 
__getattr__
    raise AttributeError(
AttributeError: `np.unicode_` was removed in the NumPy 2.0 release. Use 
`np.str_` instead.

======================================================================
ERROR: test__sanitize_data_emptystrings 
(test.test_data_sanitisation.TestDataSanitisation.test__sanitize_data_emptystrings)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/build/reproducible-path/ont-fast5-api-4.1.1+dfsg/.pybuild/cpython3_3.12_ont_fast5_api/build/test/test_data_sanitisation.py",
 line 64, in test__sanitize_data_emptystrings
    byte_array = _sanitize_data_for_writing(test_ndarray_utf8)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File 
"/build/reproducible-path/ont-fast5-api-4.1.1+dfsg/.pybuild/cpython3_3.12_ont_fast5_api/build/ont_fast5_api/data_sanitisation.py",
 line 31, in _sanitize_data_for_writing
    elif isinstance(data, np.ndarray) and data.dtype.kind == 
np.dtype(np.unicode_):
                                                                      
^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/numpy/__init__.py", line 400, in 
__getattr__
    raise AttributeError(
AttributeError: `np.unicode_` was removed in the NumPy 2.0 release. Use 
`np.str_` instead.

======================================================================
ERROR: test_sanitise_array_empty_string 
(test.test_data_sanitisation.TestDataSanitisation.test_sanitise_array_empty_string)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/build/reproducible-path/ont-fast5-api-4.1.1+dfsg/.pybuild/cpython3_3.12_ont_fast5_api/build/test/test_data_sanitisation.py",
 line 72, in test_sanitise_array_empty_string
    output_array = _sanitize_data_for_writing(input_array)
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File 
"/build/reproducible-path/ont-fast5-api-4.1.1+dfsg/.pybuild/cpython3_3.12_ont_fast5_api/build/ont_fast5_api/data_sanitisation.py",
 line 31, in _sanitize_data_for_writing
    elif isinstance(data, np.ndarray) and data.dtype.kind == 
np.dtype(np.unicode_):
                                                                      
^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/numpy/__init__.py", line 400, in 
__getattr__
    raise AttributeError(
AttributeError: `np.unicode_` was removed in the NumPy 2.0 release. Use 
`np.str_` instead.

======================================================================
ERROR: test_002_write_events 
(test.test_event_detection_tools.TestEventDetectionTools.test_002_write_events)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/build/reproducible-path/ont-fast5-api-4.1.1+dfsg/.pybuild/cpython3_3.12_ont_fast5_api/build/test/test_event_detection_tools.py",
 line 38, in test_002_write_events
    evdet.set_event_data(data, read_attrs)
  File 
"/build/reproducible-path/ont-fast5-api-4.1.1+dfsg/.pybuild/cpython3_3.12_ont_fast5_api/build/ont_fast5_api/analysis_tools/event_detection.py",
 line 50, in set_event_data
    self.handle.add_analysis_dataset(read_group, 'Events', data)
  File 
"/build/reproducible-path/ont-fast5-api-4.1.1+dfsg/.pybuild/cpython3_3.12_ont_fast5_api/build/ont_fast5_api/fast5_read.py",
 line 485, in add_analysis_dataset
    sanitized_data = _sanitize_data_for_writing(data)
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File 
"/build/reproducible-path/ont-fast5-api-4.1.1+dfsg/.pybuild/cpython3_3.12_ont_fast5_api/build/ont_fast5_api/data_sanitisation.py",
 line 31, in _sanitize_data_for_writing
    elif isinstance(data, np.ndarray) and data.dtype.kind == 
np.dtype(np.unicode_):
                                                                      
^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/numpy/__init__.py", line 400, in 
__getattr__
    raise AttributeError(
AttributeError: `np.unicode_` was removed in the NumPy 2.0 release. Use 
`np.str_` instead.

======================================================================
ERROR: test_002_events_only 
(test.test_segmentation_tools.TestSegmentationTools.test_002_events_only)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/build/reproducible-path/ont-fast5-api-4.1.1+dfsg/.pybuild/cpython3_3.12_ont_fast5_api/build/test/test_segmentation_tools.py",
 line 72, in test_002_events_only
    evdet.set_event_data(data, read_attrs)
  File 
"/build/reproducible-path/ont-fast5-api-4.1.1+dfsg/.pybuild/cpython3_3.12_ont_fast5_api/build/ont_fast5_api/analysis_tools/event_detection.py",
 line 50, in set_event_data
    self.handle.add_analysis_dataset(read_group, 'Events', data)
  File 
"/build/reproducible-path/ont-fast5-api-4.1.1+dfsg/.pybuild/cpython3_3.12_ont_fast5_api/build/ont_fast5_api/fast5_read.py",
 line 485, in add_analysis_dataset
    sanitized_data = _sanitize_data_for_writing(data)
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File 
"/build/reproducible-path/ont-fast5-api-4.1.1+dfsg/.pybuild/cpython3_3.12_ont_fast5_api/build/ont_fast5_api/data_sanitisation.py",
 line 31, in _sanitize_data_for_writing
    elif isinstance(data, np.ndarray) and data.dtype.kind == 
np.dtype(np.unicode_):
                                                                      
^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/numpy/__init__.py", line 400, in 
__getattr__
    raise AttributeError(
AttributeError: `np.unicode_` was removed in the NumPy 2.0 release. Use 
`np.str_` instead.

----------------------------------------------------------------------
Ran 76 tests in 1.753s

FAILED (errors=8, skipped=5)
[...]

-------------------------------------------------------------------------------

The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here (for the next 30 days):
https://debusine.debian.net/artifact/1242083/

About the archive rebuild: The build was made on debusine.debian.net,
on arm64 using sbuild.

You can find the build task here:
https://debusine.debian.net/work-request/72033/

If this is really a bug in one of the build-depends, please use
reassign and affects, so that this is still visible in the BTS web
page for this package.

Thanks,

Stefano

--- End Message ---
--- Begin Message ---
Source: ont-fast5-api
Source-Version: 4.1.3+dfsg-1
Done: Alexandre Detiste <tc...@debian.org>

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

Debian distribution maintenance software
pp.
Alexandre Detiste <tc...@debian.org> (supplier of updated ont-fast5-api 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, 03 Feb 2025 12:16:13 +0100
Source: ont-fast5-api
Architecture: source
Version: 4.1.3+dfsg-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Med Packaging Team 
<debian-med-packag...@lists.alioth.debian.org>
Changed-By: Alexandre Detiste <tc...@debian.org>
Closes: 1094734
Changes:
 ont-fast5-api (4.1.3+dfsg-1) unstable; urgency=medium
 .
   * Team Upload
   * New upstream version 4.1.3+dfsg
   * Remove again explicit dep on python3-pkg-resources
     intoduced in previous upload, upstream has fixed setup.py.
   * Refresh patches
   * Add one line patch for Numpy 2.x support (Closes: #1094734)
Checksums-Sha1:
 a00e31a8765104b4e8d44ebe3a660dc07094f316 2246 ont-fast5-api_4.1.3+dfsg-1.dsc
 aab2778128a3a08211bb2cb70b5ba9a876ad1b58 1387168 
ont-fast5-api_4.1.3+dfsg.orig.tar.xz
 635ff3e42c259e2202c7db6a8046f50457facc5b 4664 
ont-fast5-api_4.1.3+dfsg-1.debian.tar.xz
 92bd44d75a0d7099e512604d4133e1f730255daa 9039 
ont-fast5-api_4.1.3+dfsg-1_source.buildinfo
Checksums-Sha256:
 ce20baf59a84643ba596d690ef177ee2448a68c3db7801430ab42dbe86ec033a 2246 
ont-fast5-api_4.1.3+dfsg-1.dsc
 d86a70ec8aed38f949db414f98ae6f4f5ccc5163480962825860772a7a63301a 1387168 
ont-fast5-api_4.1.3+dfsg.orig.tar.xz
 e4181c196b21cb29229b322a71873f3bcd68ec1c09d574eb2e547982377dd9ae 4664 
ont-fast5-api_4.1.3+dfsg-1.debian.tar.xz
 950fa5059180e1ce45c2feb086f1e2add0d1a42448c3dda97ad8a7db4063a146 9039 
ont-fast5-api_4.1.3+dfsg-1_source.buildinfo
Files:
 9bca03d211d08db666c27a3f73a181f3 2246 science optional 
ont-fast5-api_4.1.3+dfsg-1.dsc
 e1d11c2f734427e7b7be84c0f05d07d8 1387168 science optional 
ont-fast5-api_4.1.3+dfsg.orig.tar.xz
 dddd0bb7ddadf2d7bca91cac20630cc0 4664 science optional 
ont-fast5-api_4.1.3+dfsg-1.debian.tar.xz
 927f82057a47c1487cb728e24214cf9d 9039 science optional 
ont-fast5-api_4.1.3+dfsg-1_source.buildinfo

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

iQJFBAEBCgAvFiEEj23hBDd/OxHnQXSHMfMURUShdBoFAmegqVARHHRjaGV0QGRl
Ymlhbi5vcmcACgkQMfMURUShdBqhJA/+IXl4mxnsrGItjTx5+rroUDBpRy+nLH+x
v0e3Dr+vNjROfRW6tFJ3PrgySCchfYDyYTHJRPeBXQsfnWfR04s7L+/vW/8aERh3
mW4qdZY+U1RXi2cl1XIyrxTe+zGAxvy1bv8Cy1WiJkgIP/9oI/meC0IBWVIqX6Rv
Hd+NldXSAWPxbLd3wppiYCUYkR618i4TzqZ20NaGDfXBm5oCCUwulItWCzOqa3F9
Mx2oIRuI68Br2S/VYeVM4/pqLOnPCKzMw1PixgVHoVXQ84kgwjM1cPlAhDv8QTRO
hKeD6t2Ahq7GIXpiapENxiA8Z7oOnxuBlrrn2OyIqzos9pN4yanUjRkAr8Ll42BM
B8pKVLdWaX6B5pghAYbZorglk4+wytwH2XRjd6e5HsIOoWC0dHfgiifwJft/Oa3U
Ab45csxZMyvU6oCoBt0pG6pagl7Mb+WvmqlF4t5r2+7Y9m6zJGnsAwMpsrzWckqo
T4WRFvQ6LpvW/D3jqli0y1VA+XqFBZl3Kvt4MmJq4cfKOz2zJ8yXh35v9bQIfWEj
MzO6TRj2KQ9fkzmuxv0rRaP0tu6m121nJrzf5QENaLBdxyRArx3xxpw7RU7nnKJ+
cVV2j8nlqZoK4kn14Lz/dQu504qedxXbmExD9tA9BD6SbzYwsQgGlTwjJYzWrCaT
kdQXBWzABpE=
=ryrn
-----END PGP SIGNATURE-----

Attachment: pgpf1B4FtIFkk.pgp
Description: PGP signature


--- End Message ---

Reply via email to