Your message dated Sun, 03 Nov 2024 19:49:05 +0000
with message-id <[email protected]>
and subject line Bug#1085587: fixed in ariba 2.14.7+ds-3
has caused the Debian Bug report #1085587,
regarding ariba FTBFS with Python 3.13
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.)


-- 
1085587: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1085587
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: ariba
Version: 2.14.7+ds-2
Severity: normal
User: [email protected]
Usertags: python3.13
Affects: src:spades

This package failed build from source when test-built against a version of
python3-defaults that includes 3.13 as a supported version.

To reproduce this issue, build against python3-defaults (python3-all-dev etc.)
from Debian experimental.

The issue here is that spades is not built for all supported python3
versions, only for the current default version. Until that changes,
maybe the only thing that makes sense to do here is to skip this test
for non-default Python 3 versions?

What's new in Python 3.13:
https://docs.python.org/3.13/whatsnew/3.13.html

Log snippet:

   dh_auto_test -a -O--buildsystem=pybuild
I: pybuild base:311: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_ariba/build; 
python3.13 -m pytest 
============================= test session starts ==============================
platform linux -- Python 3.13.0, pytest-8.3.3, pluggy-1.5.0
rootdir: /<<PKGBUILDDIR>>
plugins: typeguard-4.3.0
collected 356 items

ariba/tests/aln_to_metadata_test.py ....................                 [  5%]
ariba/tests/assembly_compare_test.py ................                    [ 10%]
ariba/tests/assembly_test.py ..ss.....                                   [ 12%]
ariba/tests/assembly_variants_test.py ...........                        [ 15%]
ariba/tests/bam_parse_test.py ......                                     [ 17%]
ariba/tests/card_record_test.py ........                                 [ 19%]
ariba/tests/cdhit_test.py ................                               [ 24%]
ariba/tests/cluster_test.py .............................                [ 32%]
ariba/tests/clusters_test.py ................                            [ 36%]
ariba/tests/common_test.py ..                                            [ 37%]
ariba/tests/external_progs_test.py .                                     [ 37%]
ariba/tests/faidx_test.py .                                              [ 37%]
ariba/tests/flag_test.py .......                                         [ 39%]
ariba/tests/histogram_test.py ....                                       [ 41%]
ariba/tests/link_test.py .........                                       [ 43%]
ariba/tests/mapping_test.py .......                                      [ 45%]
ariba/tests/megares_data_finder_test.py ..                               [ 46%]
ariba/tests/megares_zip_parser_test.py .....                             [ 47%]
ariba/tests/mic_plotter_test.py .............                            [ 51%]
ariba/tests/mlst_profile_test.py ....                                    [ 52%]
ariba/tests/mlst_reporter_test.py .....                                  [ 53%]
ariba/tests/pubmlst_getter_test.py ...                                   [ 54%]
ariba/tests/pubmlst_ref_preparer_test.py .F                              [ 55%]
ariba/tests/read_filter_test.py .                                        [ 55%]
ariba/tests/read_store_test.py .......                                   [ 57%]
ariba/tests/ref_genes_getter_test.py .                                   [ 57%]
ariba/tests/ref_preparer_test.py .....                                   [ 58%]
ariba/tests/ref_seq_chooser_test.py .......                              [ 60%]
ariba/tests/reference_data_test.py ..............................        [ 69%]
ariba/tests/report_filter_test.py .................                      [ 74%]
ariba/tests/report_flag_expander_test.py .                               [ 74%]
ariba/tests/samtools_variants_test.py .......                            [ 76%]
ariba/tests/scaffold_graph_test.py .....                                 [ 77%]
ariba/tests/sequence_metadata_test.py .....                              [ 79%]
ariba/tests/sequence_variant_test.py .......                             [ 81%]
ariba/tests/summary_cluster_test.py .......................              [ 87%]
ariba/tests/summary_cluster_variant_test.py ....                         [ 88%]
ariba/tests/summary_sample_test.py ....                                  [ 89%]
ariba/tests/summary_test.py ....................                         [ 95%]
ariba/tests/tb_test.py .......                                           [ 97%]
ariba/tests/test_refdata_query.py .....                                  [ 98%]
ariba/tests/versions_test.py .                                           [ 99%]
ariba/tests/vfdb_parser_test.py ...                                      [100%]

=================================== FAILURES ===================================
_____ TestPubmlstRefPreparer.test_load_fasta_files_and_write_clusters_file _____

self = <ariba.tests.pubmlst_ref_preparer_test.TestPubmlstRefPreparer 
testMethod=test_load_fasta_files_and_write_clusters_file>

    def test_load_fasta_files_and_write_clusters_file(self):
        '''test _load_fasta_files_and_write_clusters_file'''
        indir = os.path.join(data_dir, 
'pubmlst_ref_prepare.test_load_fa_and_clusters.in')
        outdir = 'tmp.test.pubmlst_ref_prepare.test_load_fa_and_clusters'
        os.mkdir(outdir)
>       r_prep = pubmlst_ref_preparer.PubmlstRefPreparer('species', outdir)

ariba/tests/pubmlst_ref_preparer_test.py:35: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
ariba/pubmlst_ref_preparer.py:19: in __init__
    self.extern_progs, version_report_lines = versions.get_all_versions()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

raise_error = True, using_spades = True

    def get_all_versions(raise_error=True, using_spades=True):
        extern_progs = external_progs.ExternalProgs(fail_on_error=False, 
using_spades=using_spades)
    
        report_lines = [
            'ARIBA version: ' + ariba_version,
            '\nExternal dependencies:',
            '\n'.join(extern_progs.version_report),
            '\nExternal dependencies OK: ' + str(extern_progs.all_deps_ok),
            '\nPython version:',
            str(sys.version),
            '\nPython packages:',
        ]
    
        python_packages_ok = True
    
        for package in ['ariba', 'bs4', 'dendropy', 'pyfastaq', 'pymummer', 
'pysam']:
            try:
                exec('import ' + package)
                version = eval(package + '.__version__')
                path = eval(package + '.__file__')
            except:
                version = 'NOT_FOUND'
                path = 'NOT_FOUND'
                python_packages_ok = False
    
            if version != 'NOT_FOUND':
                if package in package_min_versions and LooseVersion(version) < 
LooseVersion(package_min_versions[package]):
                    version += '... THIS IS TOO LOW. Needs>=' + 
package_min_versions[package]
                    python_packages_ok = False
                elif package in package_max_versions and LooseVersion(version) 
> package_max_versions[package]:
                    version += '...THIS IS TOO HIGH. Needs <=' + 
package_max_versions[package]
                    python_packages_ok = False
    
            report_lines.append(package + '\t' + version + '\t' + path)
    
        all_ok = extern_progs.all_deps_ok and python_packages_ok
    
        report_lines.extend([
            '\nPython packages OK: ' + str(python_packages_ok),
            '\nEverything looks OK: ' + str(all_ok),
        ])
    
        if raise_error and not all_ok:
            print(*report_lines, sep='\n', file=sys.stderr)
            print('Some dependencies not satisfied. Cannot continue.', 
file=sys.stderr)
>           sys.exit(1)
E           SystemExit: 1

ariba/versions.py:65: SystemExit
----------------------------- Captured stderr call -----------------------------
WARNING: spades not found in path. Looked for spades.py
ARIBA version: local

External dependencies:
bowtie2 2.5.4   /usr/bin/bowtie2
cdhit   4.8.1   /usr/bin/cd-hit-est
nucmer  3.1     /usr/bin/nucmer
spades  NA      NOT_FOUND

External dependencies OK: True

Python version:
3.13.0 (main, Oct  7 2024, 21:58:50) [GCC 14.2.0]

Python packages:
ariba   NOT_FOUND       NOT_FOUND
bs4     NOT_FOUND       NOT_FOUND
dendropy        NOT_FOUND       NOT_FOUND
pyfastaq        NOT_FOUND       NOT_FOUND
pymummer        NOT_FOUND       NOT_FOUND
pysam   NOT_FOUND       NOT_FOUND

Python packages OK: False

Everything looks OK: False
Some dependencies not satisfied. Cannot continue.
=============================== warnings summary ===============================
ariba/__init__.py:1
  /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_ariba/build/ariba/__init__.py:1: 
DeprecationWarning: pkg_resources is deprecated as an API. See 
https://setuptools.pypa.io/en/latest/pkg_resources.html
    from pkg_resources import get_distribution

../../../../../../usr/lib/python3/dist-packages/pyfastaq/__init__.py:3
  /usr/lib/python3/dist-packages/pyfastaq/__init__.py:3: DeprecationWarning: 
Unimplemented abstract methods {'locate_file', 'read_text'}
    __version__ = Distribution().from_name('pyfastaq').version

ariba/external_progs.py:34
  
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_ariba/build/ariba/external_progs.py:34: 
SyntaxWarning: invalid escape sequence '\.'
    'cdhit': ('', re.compile('CD-HIT version ([0-9\.]+) \(')),

ariba/external_progs.py:35
  
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_ariba/build/ariba/external_progs.py:35: 
SyntaxWarning: invalid escape sequence '\.'
    'nucmer': ('--version', re.compile('([0-9]+\.[0-9\.]+.*$)')),

ariba/external_progs.py:36
  
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_ariba/build/ariba/external_progs.py:36: 
SyntaxWarning: invalid escape sequence '\.'
    'spades': ('--version', re.compile('SPAdes.*v([0-9\.]+)'))

.pybuild/cpython3_3.13_ariba/build/ariba/tests/mic_plotter_test.py::TestMicPlotter::test_get_colours
.pybuild/cpython3_3.13_ariba/build/ariba/tests/mic_plotter_test.py::TestMicPlotter::test_get_colours
.pybuild/cpython3_3.13_ariba/build/ariba/tests/mic_plotter_test.py::TestMicPlotter::test_get_colours
  /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_ariba/build/ariba/mic_plotter.py:222: 
MatplotlibDeprecationWarning: The get_cmap function was deprecated in 
Matplotlib 3.7 and will be removed two minor releases later. Use 
``matplotlib.colormaps[name]`` or ``matplotlib.colormaps.get_cmap(obj)`` 
instead.
    cmap = cmx.get_cmap(colormap)

.pybuild/cpython3_3.13_ariba/build/ariba/tests/mic_plotter_test.py::TestMicPlotter::test_get_colours
  /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_ariba/build/ariba/mic_plotter.py:206: 
MatplotlibDeprecationWarning: The get_cmap function was deprecated in 
Matplotlib 3.7 and will be removed two minor releases later. Use 
``matplotlib.colormaps[name]`` or ``matplotlib.colormaps.get_cmap(obj)`` 
instead.
    cmap = cmx.get_cmap(colormap)

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=========================== short test summary info ============================
FAILED 
ariba/tests/pubmlst_ref_preparer_test.py::TestPubmlstRefPreparer::test_load_fasta_files_and_write_clusters_file
======= 1 failed, 353 passed, 2 skipped, 9 warnings in 79.55s (0:01:19) ========
E: pybuild pybuild:389: test: plugin distutils failed with: exit code=1: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_ariba/build; python3.13 -m pytest 
I: pybuild base:311: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_ariba/build; 
python3.12 -m pytest 
============================= test session starts ==============================
platform linux -- Python 3.12.7, pytest-8.3.3, pluggy-1.5.0
rootdir: /<<PKGBUILDDIR>>
plugins: typeguard-4.3.0
collected 356 items

ariba/tests/aln_to_metadata_test.py ....................                 [  5%]
ariba/tests/assembly_compare_test.py ................                    [ 10%]
ariba/tests/assembly_test.py ..ss.....                                   [ 12%]
ariba/tests/assembly_variants_test.py ...........                        [ 15%]
ariba/tests/bam_parse_test.py ......                                     [ 17%]
ariba/tests/card_record_test.py ........                                 [ 19%]
ariba/tests/cdhit_test.py ................                               [ 24%]
ariba/tests/cluster_test.py .............................                [ 32%]
ariba/tests/clusters_test.py ................                            [ 36%]
ariba/tests/common_test.py ..                                            [ 37%]
ariba/tests/external_progs_test.py .                                     [ 37%]
ariba/tests/faidx_test.py .                                              [ 37%]
ariba/tests/flag_test.py .......                                         [ 39%]
ariba/tests/histogram_test.py ....                                       [ 41%]
ariba/tests/link_test.py .........                                       [ 43%]
ariba/tests/mapping_test.py .......                                      [ 45%]
ariba/tests/megares_data_finder_test.py ..                               [ 46%]
ariba/tests/megares_zip_parser_test.py .....                             [ 47%]
ariba/tests/mic_plotter_test.py .............                            [ 51%]
ariba/tests/mlst_profile_test.py ....                                    [ 52%]
ariba/tests/mlst_reporter_test.py .....                                  [ 53%]
ariba/tests/pubmlst_getter_test.py ...                                   [ 54%]
ariba/tests/pubmlst_ref_preparer_test.py ..                              [ 55%]
ariba/tests/read_filter_test.py .                                        [ 55%]
ariba/tests/read_store_test.py .......                                   [ 57%]
ariba/tests/ref_genes_getter_test.py .                                   [ 57%]
ariba/tests/ref_preparer_test.py .....                                   [ 58%]
ariba/tests/ref_seq_chooser_test.py .......                              [ 60%]
ariba/tests/reference_data_test.py ..............................        [ 69%]
ariba/tests/report_filter_test.py .................                      [ 74%]
ariba/tests/report_flag_expander_test.py .                               [ 74%]
ariba/tests/samtools_variants_test.py .......                            [ 76%]
ariba/tests/scaffold_graph_test.py .....                                 [ 77%]
ariba/tests/sequence_metadata_test.py .....                              [ 79%]
ariba/tests/sequence_variant_test.py .......                             [ 81%]
ariba/tests/summary_cluster_test.py .......................              [ 87%]
ariba/tests/summary_cluster_variant_test.py ....                         [ 88%]
ariba/tests/summary_sample_test.py ....                                  [ 89%]
ariba/tests/summary_test.py ....................                         [ 95%]
ariba/tests/tb_test.py .......                                           [ 97%]
ariba/tests/test_refdata_query.py .....                                  [ 98%]
ariba/tests/versions_test.py .                                           [ 99%]
ariba/tests/vfdb_parser_test.py ...                                      [100%]

=============================== warnings summary ===============================
ariba/__init__.py:1
  /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_ariba/build/ariba/__init__.py:1: 
DeprecationWarning: pkg_resources is deprecated as an API. See 
https://setuptools.pypa.io/en/latest/pkg_resources.html
    from pkg_resources import get_distribution

../../../../../../usr/lib/python3/dist-packages/pyfastaq/__init__.py:3
  /usr/lib/python3/dist-packages/pyfastaq/__init__.py:3: DeprecationWarning: 
Unimplemented abstract methods {'locate_file', 'read_text'}
    __version__ = Distribution().from_name('pyfastaq').version

ariba/external_progs.py:34
  
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_ariba/build/ariba/external_progs.py:34: 
SyntaxWarning: invalid escape sequence '\.'
    'cdhit': ('', re.compile('CD-HIT version ([0-9\.]+) \(')),

ariba/external_progs.py:35
  
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_ariba/build/ariba/external_progs.py:35: 
SyntaxWarning: invalid escape sequence '\.'
    'nucmer': ('--version', re.compile('([0-9]+\.[0-9\.]+.*$)')),

ariba/external_progs.py:36
  
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_ariba/build/ariba/external_progs.py:36: 
SyntaxWarning: invalid escape sequence '\.'
    'spades': ('--version', re.compile('SPAdes.*v([0-9\.]+)'))

.pybuild/cpython3_3.12_ariba/build/ariba/tests/mic_plotter_test.py::TestMicPlotter::test_get_colours
.pybuild/cpython3_3.12_ariba/build/ariba/tests/mic_plotter_test.py::TestMicPlotter::test_get_colours
.pybuild/cpython3_3.12_ariba/build/ariba/tests/mic_plotter_test.py::TestMicPlotter::test_get_colours
  /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_ariba/build/ariba/mic_plotter.py:222: 
MatplotlibDeprecationWarning: The get_cmap function was deprecated in 
Matplotlib 3.7 and will be removed two minor releases later. Use 
``matplotlib.colormaps[name]`` or ``matplotlib.colormaps.get_cmap(obj)`` 
instead.
    cmap = cmx.get_cmap(colormap)

.pybuild/cpython3_3.12_ariba/build/ariba/tests/mic_plotter_test.py::TestMicPlotter::test_get_colours
  /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_ariba/build/ariba/mic_plotter.py:206: 
MatplotlibDeprecationWarning: The get_cmap function was deprecated in 
Matplotlib 3.7 and will be removed two minor releases later. Use 
``matplotlib.colormaps[name]`` or ``matplotlib.colormaps.get_cmap(obj)`` 
instead.
    cmap = cmx.get_cmap(colormap)

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
============ 354 passed, 2 skipped, 9 warnings in 81.52s (0:01:21) =============
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.13 
3.12" returned exit code 13
make: *** [debian/rules:10: binary-arch] Error 25
dpkg-buildpackage: error: debian/rules binary-arch subprocess returned exit 
status 2
--------------------------------------------------------------------------------
Build finished at 2024-10-20T18:34:37Z

If required, the full build log is available here (for the next 30 days):
https://debusine.debian.net/artifact/872797/

This bug has been filed at "normal" severity, as we haven't started the
transition to add 3.13 as a supported version, yet. This will be raised to RC
as soon as that happens, hopefully well before trixie.

Thanks,

Stefano

--- End Message ---
--- Begin Message ---
Source: ariba
Source-Version: 2.14.7+ds-3
Done: Emmanuel Arias <[email protected]>

We believe that the bug you reported is fixed in the latest version of
ariba, 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.
Emmanuel Arias <[email protected]> (supplier of updated ariba 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, 02 Nov 2024 18:13:20 -0300
Source: ariba
Architecture: source
Version: 2.14.7+ds-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Med Packaging Team 
<[email protected]>
Changed-By: Emmanuel Arias <[email protected]>
Closes: 1085587
Changes:
 ariba (2.14.7+ds-3) unstable; urgency=medium
 .
   * Team upload.
   * d/rules: Skip test_load_fasta_files_and_write_clusters_file test for
     non-supported Python3 versions. Spades need to be built for all supported
     Python3 before remove the skip (Closes: #1085587).
Checksums-Sha1:
 dcc4125ec6975124e459b829595cb4490be12a2d 2435 ariba_2.14.7+ds-3.dsc
 23f64388208923bc4213e40296e89def0a3549cb 10680 ariba_2.14.7+ds-3.debian.tar.xz
Checksums-Sha256:
 0ba0d1896a39ac6047010019217b7369effc60ac2427e06881691f0f88e64464 2435 
ariba_2.14.7+ds-3.dsc
 d8983b860df91e5d4ee896c2b16f151cfdb12b234e3aa732aad05f1f3825e4a1 10680 
ariba_2.14.7+ds-3.debian.tar.xz
Files:
 7c088bc0a17a4a7bb953b5e22843f182 2435 science optional ariba_2.14.7+ds-3.dsc
 9aee9b917609cb79cc4e1f282be683c5 10680 science optional 
ariba_2.14.7+ds-3.debian.tar.xz

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

iQJIBAEBCgAyFiEEj5GyJ8fW8rGUjII2eTz2fo8NEdoFAmcnzxgUHGVtb2xsaWVy
QGRlYmlhbi5vcmcACgkQeTz2fo8NEdqz/Q/+JO/F/k33uyH+BYrSsbTNkD1LOwCc
b/D50FBVaLsvPVTxJ/7eCl9GIPtlZydQNlSzQkBI/k54WXufSwzz3CAqv92OvPw6
iUzppnFu8lTEtcCjnDn6CFFNmUro5Gzvb4L6A58pCrjQ2FVRU9+uvAUJHTGX80Iw
M5aoCyRzwYEyqncpaFx5XwpnCohgLh0y1oiJz6vyiaxX/WQg8FgwfxczJfvZqCZB
0z2RxGShWpHc4R7oCQoGT7NnjmAyhFEL1QD1KUi3Pq8s0OJjr7/ICUxxuzkd7LWB
wnwnkj7vlE2yDUmKdJcQOFG0l9Mckj5HAMVRd+omkMAtOAxHihDJSV1pq/Xh3xy/
deAvtsIJOiiAw5g2EzBcEM8Q4OhHW973FmCeOHQ6a4bIyr0JSbex7nx/C/39yNCa
a8EWeNpEIwV/o2EZgz/pPE8J8qIzq9aHJmDfvlLQaN1diESXXGuAjB2u9iDg8CeC
RbVTtlKxb55KjddzBLV4211r5/PO/wVpscBRsO+cAdaX4h7Hm1QxalDw+IspWizH
OtZB1yBqE2JC9zpRkUcpDRgcauKoThsLLJqezzS9lI2+M0i1E2C2p7XdQKzsgrYa
VeM1Bjq8E11WrH0VDLdPjpaqq6VkkoeTH66FgnE4e4LW384dIzPC4wFz6R92jWtJ
Q7MPlDKQ6TgvYbU=
=kFvZ
-----END PGP SIGNATURE-----

Attachment: pgp9Ej5oLL4FD.pgp
Description: PGP signature


--- End Message ---

Reply via email to