Your message dated Mon, 28 Nov 2022 22:20:39 +0000
with message-id <e1ozmur-004thf...@fasolo.debian.org>
and subject line Bug#1025014: fixed in python-biopython 1.80+dfsg-1
has caused the Debian Bug report #1025014,
regarding ncbi-acc-download: (autopkgtest) needs update for python3.11: Asked 
for extended validation, but Biopython not available
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.)


-- 
1025014: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1025014
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: ncbi-acc-download
Version: 0.2.8-1
Severity: serious
Tags: sid bookworm
User: debian...@lists.debian.org
Usertags: needs-update
User: debian-pyt...@lists.debian.org
Usertags: python3.11
Control: affects -1 src:python3-defaults

Dear maintainer(s),

We are in the transition of adding python3.11 as a supported Python version [0]. With a recent upload of python3-defaults the autopkgtest of ncbi-acc-download fails in testing when that autopkgtest is run with the binary packages of python3-defaults from unstable. It passes when run with only packages from testing. In tabular form:

                       pass            fail
python3-defaults       from testing    3.10.6-3
ncbi-acc-download      from testing    0.2.8-1
all others             from testing    from testing

I copied some of the output at the bottom of this report.

Currently this regression is blocking the migration of python3-defaults to testing [1]. https://docs.python.org/3/whatsnew/3.11.html lists what's new in Python3.11, it may help to identify what needs to be updated.

More information about this bug and the reason for filing it can be found on
https://wiki.debian.org/ContinuousIntegration/RegressionEmailInformation

Paul

[0] https://bugs.debian.org/1021984
[1] https://qa.debian.org/excuses.php?package=python3-defaults

https://ci.debian.net/data/autopkgtest/testing/amd64/n/ncbi-acc-download/28727754/log.gz

=================================== FAILURES =================================== __________________________ test_config_have_biopython __________________________

    def test_config_have_biopython():
        """Test we detect Biopython."""
      assert core.HAVE_BIOPYTHON
E       assert False
E        +  where False = core.HAVE_BIOPYTHON

test_core.py:46: AssertionError
_________________ test_validate_and_write_extended_validation __________________

req = <requests_mock.mocker.Mocker object at 0x7f09f58de410>

    def test_validate_and_write_extended_validation(req):
        """Test extended validation before writing."""
        handle = StringIO()
        req.get('http://fake/', text=u'>foo\nMAGIC')
        r = requests.get('http://fake/')
      config = core.Config(extended_validation='loads', molecule='protein')

test_core.py:226: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/ncbi_acc_download/core.py:64: in __init__
    self.extended_validation = extended_validation
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <ncbi_acc_download.core.Config object at 0x7f09f5d73ec0>, value = 'loads'

    @extended_validation.setter
    def extended_validation(self, value):
        if value != 'none' and not HAVE_BIOPYTHON:
          raise ValueError("Asked for extended validation, but Biopython not 
available")
E ValueError: Asked for extended validation, but Biopython not available

/usr/lib/python3/dist-packages/ncbi_acc_download/core.py:96: ValueError
____________________ test_download_and_validate_partial_wgs ____________________

req = <requests_mock.mocker.Mocker object at 0x7f09f5933610>

    def test_download_and_validate_partial_wgs(req):
        handle = StringIO(open(full_path('partialcontig.gbk'), 'r').read())
      assert validate.run_extended_validation(handle, 'genbank', 'loads')
E       AssertionError: assert False
E + where False = <function run_extended_validation at 0x7f09f5882c00>(<_io.StringIO object at 0x7f09f5a3e710>, 'genbank', 'loads') E + where <function run_extended_validation at 0x7f09f5882c00> = validate.run_extended_validation

test_correct.py:15: AssertionError
_____________________ test_run_extended_validation_raises ______________________

monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f09f5767850>
mocker = <pytest_mock.plugin.MockerFixture object at 0x7f09f5767910>

    def test_run_extended_validation_raises(monkeypatch, mocker):
"""Test the "seqence loads" validator catches exceptions in SeqIO.parse()."""
        seqio_mock = mocker.MagicMock()
        seqio_mock.parse = mocker.MagicMock(side_effect=ValueError)
      monkeypatch.setattr(validate, 'SeqIO', seqio_mock)
E AttributeError: <module 'ncbi_acc_download.validate' from '/usr/lib/python3/dist-packages/ncbi_acc_download/validate.py'> has no attribute 'SeqIO'

test_validate.py:19: AttributeError
______________________ test_run_extended_validation_loads ______________________

    def test_run_extended_validation_loads():
        """Test the "sequence loads" validator."""
        handle = StringIO(u'>foo\nATGC\n>bar\nATGTGA\n')
      assert validate.run_extended_validation(handle, 'fasta', 'loads')
E       AssertionError: assert False
E + where False = <function run_extended_validation at 0x7f09f5882c00>(<_io.StringIO object at 0x7f09f5a3ecb0>, 'fasta', 'loads') E + where <function run_extended_validation at 0x7f09f5882c00> = validate.run_extended_validation

test_validate.py:29: AssertionError
_________________________ test_download_wgs_parts_wgs __________________________

req = <requests_mock.mocker.Mocker object at 0x7f09f5761990>

    def test_download_wgs_parts_wgs(req):
        cfg = Config(format="genbank")
        wgs_contig = open(full_path('wgs.gbk'), 'rt')
        req.get(ENTREZ_URL, body=open(full_path('wgs_full.gbk'), 'rt'))
            outhandle = wgs.download_wgs_parts(wgs_contig, cfg)
        wgs_full = open(full_path('wgs_full.gbk'), 'rt')
      assert outhandle.getvalue() == wgs_full.read()
E AttributeError: '_io.TextIOWrapper' object has no attribute 'getvalue'

test_wgs.py:91: AttributeError
______________________ test_download_wgs_parts_wgs_retry _______________________

req = <requests_mock.mocker.Mocker object at 0x7f09f58fee90>

    def test_download_wgs_parts_wgs_retry(req):
        cfg = Config(format="genbank")
        wgs_contig = open(full_path('wgs.gbk'), 'rt')
        req.get(ENTREZ_URL, response_list=[
{"text": u'Whoa, slow down', "status_code": 429, "headers": {"Retry-After": "0"}},
            {"body": open(full_path('wgs_full.gbk'), 'rt')},
        ])
            outhandle = wgs.download_wgs_parts(wgs_contig, cfg)
        wgs_full = open(full_path('wgs_full.gbk'), 'rt')
      assert outhandle.getvalue() == wgs_full.read()
E AttributeError: '_io.TextIOWrapper' object has no attribute 'getvalue'

test_wgs.py:106: AttributeError
______________________ test_download_wgs_parts_wgs_scafld ______________________

req = <requests_mock.mocker.Mocker object at 0x7f09f58aad10>

    def test_download_wgs_parts_wgs_scafld(req):
        cfg = Config(format="genbank")
        wgs_contig = open(full_path('wgs_scafld.gbk'), 'rt')
        with open(full_path('wgs_full.gbk'), 'rt') as handle:
            full_file = handle.read()
        req.get(ENTREZ_URL, text=full_file)
            outhandle = wgs.download_wgs_parts(wgs_contig, cfg)
      assert outhandle.getvalue() == full_file
E AttributeError: '_io.TextIOWrapper' object has no attribute 'getvalue'

test_wgs.py:119: AttributeError
_____________________ test_download_wgs_parts_supercontig ______________________

req = <requests_mock.mocker.Mocker object at 0x7f09f58f1990>

    def test_download_wgs_parts_supercontig(req):
        cfg = Config(format="genbank")
        supercontig = open(full_path('supercontig.gbk'), 'rt')
req.get(ENTREZ_URL, body=open(full_path('supercontig_full.gbk'), 'rt'))
            outhandle = wgs.download_wgs_parts(supercontig, cfg)
        supercontig_full = open(full_path('supercontig_full.gbk'), 'rt')
      assert outhandle.getvalue() == supercontig_full.read()
E AttributeError: '_io.TextIOWrapper' object has no attribute 'getvalue'

test_wgs.py:130: AttributeError
__________________ test_download_wgs_parts_supercontig_retry ___________________

req = <requests_mock.mocker.Mocker object at 0x7f09f5933110>

    def test_download_wgs_parts_supercontig_retry(req):
        cfg = Config(format="genbank")
        supercontig = open(full_path('supercontig.gbk'), 'rt')
        req.get(ENTREZ_URL, response_list=[
{"text": u'Whoa, slow down', "status_code": 429, "headers": {"Retry-After": "0"}},
            {"body": open(full_path('supercontig_full.gbk'), 'rt')}
        ])
            outhandle = wgs.download_wgs_parts(supercontig, cfg)
        supercontig_full = open(full_path('supercontig_full.gbk'), 'rt')
      assert outhandle.getvalue() == supercontig_full.read()
E AttributeError: '_io.TextIOWrapper' object has no attribute 'getvalue'

test_wgs.py:145: AttributeError
__________________________ test_download_wgs_no_parts __________________________

req = <requests_mock.mocker.Mocker object at 0x7f09f58791d0>

    def test_download_wgs_no_parts(req):
        cfg = Config(format="genbank")
        supercontig = open(full_path('supercontig_full.gbk'), 'rt')
        req.get(ENTREZ_URL, status_code=404)
            outhandle = wgs.download_wgs_parts(supercontig, cfg)
        supercontig_full = open(full_path('supercontig_full.gbk'), 'rt')
      assert outhandle.getvalue() == supercontig_full.read()
E AttributeError: '_io.TextIOWrapper' object has no attribute 'getvalue'

test_wgs.py:157: AttributeError
=========================== short test summary info ============================
FAILED test_core.py::test_config_have_biopython - assert False
FAILED test_core.py::test_validate_and_write_extended_validation - ValueError... FAILED test_correct.py::test_download_and_validate_partial_wgs - AssertionErr... FAILED test_validate.py::test_run_extended_validation_raises - AttributeError... FAILED test_validate.py::test_run_extended_validation_loads - AssertionError:... FAILED test_wgs.py::test_download_wgs_parts_wgs - AttributeError: '_io.TextIO... FAILED test_wgs.py::test_download_wgs_parts_wgs_retry - AttributeError: '_io.... FAILED test_wgs.py::test_download_wgs_parts_wgs_scafld - AttributeError: '_io... FAILED test_wgs.py::test_download_wgs_parts_supercontig - AttributeError: '_i... FAILED test_wgs.py::test_download_wgs_parts_supercontig_retry - AttributeErro... FAILED test_wgs.py::test_download_wgs_no_parts - AttributeError: '_io.TextIOW... =================== 11 failed, 20 passed, 1 xfailed in 0.15s ===================
autopkgtest [20:14:21]: test run-param-test

Attachment: OpenPGP_signature
Description: OpenPGP digital signature


--- End Message ---
--- Begin Message ---
Source: python-biopython
Source-Version: 1.80+dfsg-1
Done: Étienne Mollier <emoll...@debian.org>

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

Debian distribution maintenance software
pp.
Étienne Mollier <emoll...@debian.org> (supplier of updated python-biopython 
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, 28 Nov 2022 22:19:25 +0100
Source: python-biopython
Architecture: source
Version: 1.80+dfsg-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Med Packaging Team 
<debian-med-packag...@lists.alioth.debian.org>
Changed-By: Étienne Mollier <emoll...@debian.org>
Closes: 1024855 1024858 1024986 1025014 1025022
Changes:
 python-biopython (1.80+dfsg-1) unstable; urgency=medium
 .
   * Migrate biopython 1.80 from experimental to unstable.
     Closes: #1024986, #1024858, #1024855, #1025014, #1025022
 .
 python-biopython (1.80+dfsg-1~0exp0) experimental; urgency=medium
 .
   * New upstream version
   * Standards-Version: 4.6.1 (routine-update)
   * Set upstream metadata fields: Security-Contact.
   * privacy_breach_ie9.patch: refresh.
   * adjust-test_GraphicsBitmaps.patch: delete; applied upstream.
   * spelling.patch: delete; applied upstream.
   * mkdssp4.patch: delete; fixed upstream.
   * d/control: remove test dependency on problematic packages; muscle 5
     wrapping is unsupported upstream, and t_coffee suffers from segmentation
     faults documented in #1022570
   * croak-on-muscle5.patch: add; raise RuntimeError with muscle 5.
   * d/NEWS: describe incompatibility with muscle 5; also describe possible
     workarounds.
   * d/not-installed: add tree1 and other_trees.
   * d/*.lintian-overrides: refresh override.
   * debian/python3-biopython.lintian-overrides: override typo; the reported
     spelling error does not seem to match anything meaningful on the side of
     the source code.
   * d/s/lintian-overrides: indicate location of Restriction.md, source of
     Restriction.html.
   * d/copyright: bump copyright years.
   * muscle3.patch: add; default to use muscle3 command if available.
     This is in preparation of the availability of a dedicated muscle3
     package with the explicitly versioned command, since muscle 5 is a very
     different program but can be installed in parallel.
Checksums-Sha1:
 7497875e1a1019637cdc401aac14d8b6210d5487 3346 python-biopython_1.80+dfsg-1.dsc
 29f76812a17c6cc658f45bf743f077d0af2a7376 19244 
python-biopython_1.80+dfsg-1.debian.tar.xz
Checksums-Sha256:
 6f5bcd65c57666ba9b7df70994f7ee536fa2b5514624d4c5098a4df148af39c1 3346 
python-biopython_1.80+dfsg-1.dsc
 16edd6ce4bacb06a51b46210a6adde40080fcc4fc4b35c7cb29c5c36945e3745 19244 
python-biopython_1.80+dfsg-1.debian.tar.xz
Files:
 0b4bd816b0c210822949af3fcbbb03ff 3346 python optional 
python-biopython_1.80+dfsg-1.dsc
 af1a971c80ba03e3a693fa161695ea00 19244 python optional 
python-biopython_1.80+dfsg-1.debian.tar.xz

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

iQJIBAEBCgAyFiEEj5GyJ8fW8rGUjII2eTz2fo8NEdoFAmOFL5AUHGVtb2xsaWVy
QGRlYmlhbi5vcmcACgkQeTz2fo8NEdqH1hAAsnVeSxkKqKqD1CQ24JqfMhtEdGBU
d+fTjo/w2Q9GPqYhZoINNT/1F81ouRL2wREXC/GcyLqF/uhD8mpvzB+s4lbIzuhU
Qfr5SZNr/c/e1+FqMZ6CC0JRECnwyMr5shPFQW6yZyJ17z+j1dltaKZfE7q9tMDt
H3LMqImw15d/9kxvUu7Mi9PUbnKfltaxopR4w9dSiYbtRQd9C91jDCLlUUPHDqhE
wS7+0xUbE2sa3YI4mfrXm1xUJP6Uwf1RHmLiLkhOlUoQ+iT3tYsfKEJAO0ODgKJ0
/7nc13x5ttSxIYrPxjAPIY71Mox+GU8UsfmUqPrs5EcZQ3Rdzz8loh2kG/C/Ts4I
utgJao9fAEPEozuvZcjKYProW/SAIw72zFWXUlJGVsTU65wFa/ewTBv+u0W+qYti
/1/CCNHZqqxplzizUNjLRz0eoxnVYhHsGpz4MCSio9rBfHLnA0Qb0K76olQBPZUN
uOLhNC+drBKan1cwU1nRd10zU5oVcyZrcwgfiSleZ4d+9e7CEbJIxTipbXaP7YfL
b+Du9bkX8QiCtAI2Hp0hHdxJDNOD16HfmedJvHkpRfwPjBTHE5kZ1GE0BrAlXxbx
EktHpe90m9nI3KaRXpAE+r6HA9fes6X7oZjl8BCU8jO3KCUKc6LUKkO/B6XdIN4Y
ShwONDnzUSCM3LY=
=IDtN
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to