Your message dated Fri, 21 Jan 2022 18:04:35 +0000
with message-id <e1nayh5-000iil...@fasolo.debian.org>
and subject line Bug#1001487: fixed in sphinx-argparse 0.3.1-1
has caused the Debian Bug report #1001487,
regarding sphinx-argparse: (autopkgtest) needs update for python3.10: output
changed
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.)
--
1001487: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1001487
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: sphinx-argparse
Version: 0.2.5-1
Severity: serious
X-Debbugs-CC: debian...@lists.debian.org
Tags: sid bookworm
User: debian...@lists.debian.org
Usertags: needs-update
User: debian-pyt...@lists.debian.org
Usertags: python3.10
Control: affects -1 src:python3-defaults
Dear maintainer(s),
We are in the transition of adding python3.10 to the supported Python
versions [0]. With a recent upload of python3-defaults the autopkgtest
of sphinx-argparse 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.9.8-1
sphinx-argparse from testing 0.2.5-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.10.html lists
what's new in Python3.10, 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/996584
[1] https://qa.debian.org/excuses.php?package=python3-defaults
https://ci.debian.net/data/autopkgtest/testing/amd64/s/sphinx-argparse/17446743/log.gz
[*] testing python3.10:
============================= test session starts
==============================
platform linux -- Python 3.10.1, pytest-6.2.5, py-1.10.0, pluggy-0.13.0
-- /usr/bin/python3.10
cachedir: .pytest_cache
rootdir: /tmp/autopkgtest-lxc.xannnapd/downtmp/autopkgtest_tmp
collecting ... collected 16 items
test/test_parser.py::test_parse_options PASSED
[ 6%]
test/test_parser.py::test_parse_default PASSED
[ 12%]
test/test_parser.py::test_parse_arg_choices PASSED
[ 18%]
test/test_parser.py::test_parse_opt_choices PASSED
[ 25%]
test/test_parser.py::test_parse_default_skip_default PASSED
[ 31%]
test/test_parser.py::test_parse_positional PASSED
[ 37%]
test/test_parser.py::test_parse_description PASSED
[ 43%]
test/test_parser.py::test_parse_nested FAILED
[ 50%]
=================================== FAILURES
===================================
______________________________ test_parse_nested
_______________________________
def test_parse_nested():
parser = argparse.ArgumentParser(prog='test_parse_nested')
parser.add_argument('foo', default=False, help='foo help')
parser.add_argument('bar', default=False)
subparsers = parser.add_subparsers()
subparser = subparsers.add_parser('install', help='install
help')
subparser.add_argument('ref', type=str, help='foo1 help')
subparser.add_argument('--upgrade', action='store_true',
default=False, help='foo2 help')
data = parse_parser(parser)
assert data['action_groups'][0]['options'] == [
{
'name': ['foo'],
'help': 'foo help',
'default': False
}, {
'name': ['bar'],
'help': '',
'default': False
}
]
> assert data['children'] == [
{
'name': 'install',
'help': 'install help',
'usage': 'usage: test_parse_nested install [-h]
[--upgrade] ref',
'bare_usage': 'test_parse_nested install [-h]
[--upgrade] ref',
'action_groups': [
{
'title': 'Positional Arguments',
'description': None,
'options': [
{
'name': ['ref'],
'help': 'foo1 help',
'default': None
}
]
},
{
'description': None,
'title': 'Named Arguments',
'options': [
{
'name': ['--upgrade'],
'default': False,
'help': 'foo2 help'
}
]
}
]
}
]
E AssertionError: assert [{'action_gro...nstall', ...}] ==
[{'action_gro...nstall', ...}]
E At index 0 diff: {'name': 'install', 'help': 'install help',
'usage': 'usage: test_parse_nested install [-h] [--upgrade] ref',
'bare_usage': 'test_parse_nested install [-h] [--upgrade] ref',
'action_groups': [{'title': 'Positional Arguments', 'description': None,
'options': [{'name': ['ref'], 'default': None, 'help': 'foo1 help'}]},
{'title': 'options', 'description': None, 'options': [{'name':
['--upgrade'], 'default': False, 'help': 'foo2 help'}]}]} != {'name':
'install', 'help': 'install help', 'usage': 'usage: test_parse_nested
install [-h] [--upgrade] ref', 'bare_u...
E E ...Full output truncated (21 lines hidden), use
'-vv' to show
test/test_parser.py:157: AssertionError
=========================== short test summary info
============================
FAILED test/test_parser.py::test_parse_nested - AssertionError: assert
[{'act...
!!!!!!!!!!!!!!!!!!!!!!!!!! stopping after 1 failures
!!!!!!!!!!!!!!!!!!!!!!!!!!!
========================= 1 failed, 7 passed in 0.06s
==========================
autopkgtest [14:18:26]: test python3-sphinx-argparse
OpenPGP_signature
Description: OpenPGP digital signature
--- End Message ---
--- Begin Message ---
Source: sphinx-argparse
Source-Version: 0.3.1-1
Done: Michael R. Crusoe <cru...@debian.org>
We believe that the bug you reported is fixed in the latest version of
sphinx-argparse, 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 1001...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Michael R. Crusoe <cru...@debian.org> (supplier of updated sphinx-argparse
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: Fri, 21 Jan 2022 17:39:23 +0100
Source: sphinx-argparse
Architecture: source
Version: 0.3.1-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <team+pyt...@tracker.debian.org>
Changed-By: Michael R. Crusoe <cru...@debian.org>
Closes: 1001487 1002315
Changes:
sphinx-argparse (0.3.1-1) unstable; urgency=medium
.
* Team upload.
* New upstream version and location.
* Standards-Version: 4.6.0 (routine-update)
* watch file standard 4 (routine-update)
* Removed old, unneeded patches.
* Apply patch from upstream to fix tests on Python3.10.
Closes: #1001487, #1002315
Checksums-Sha1:
5ca44e4d2fbb7ad2fed842f33d3ade0e909fd39f 2258 sphinx-argparse_0.3.1-1.dsc
37e2def0b4ba289b02da03439e7425960be82563 42953
sphinx-argparse_0.3.1.orig.tar.gz
784b32d04223b7475cd29d0d7d8f5231c1a6d12b 4228
sphinx-argparse_0.3.1-1.debian.tar.xz
4b72ef678b30c7b7d5a320819e5f5a73f39cc052 8619
sphinx-argparse_0.3.1-1_source.buildinfo
Checksums-Sha256:
486c3a48ea200f248570b98dceeaa1304e9bccd4db7a5ec6febfbb06537e7419 2258
sphinx-argparse_0.3.1-1.dsc
4e2a57993031a16ff50c1ce49baf37d043dee3b1bea731242daf15995507971d 42953
sphinx-argparse_0.3.1.orig.tar.gz
bb8a8f4a33c76682dab6b06aa6d09addf6464f4c278ec065a6a572aef54390d7 4228
sphinx-argparse_0.3.1-1.debian.tar.xz
7bfa3182487e47f520a448fba3812258f63338055c0235200b578bf8dea66624 8619
sphinx-argparse_0.3.1-1_source.buildinfo
Files:
77e8575a83461f96e54ac42e15ae5693 2258 python optional
sphinx-argparse_0.3.1-1.dsc
47ef148d6842cc92119093d68a7c8561 42953 python optional
sphinx-argparse_0.3.1.orig.tar.gz
a0fb3bed3047cbb58a5f2a640211f938 4228 python optional
sphinx-argparse_0.3.1-1.debian.tar.xz
4702f0b91ecec6c986d82f7fda11c266 8619 python optional
sphinx-argparse_0.3.1-1_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEck1gkzcRPHEFUNdHPCZ2P2xn5uIFAmHq8B8ACgkQPCZ2P2xn
5uJhsw//dXdNLYZvJL9uUFFrgUrjdmxl78L0FICrIfIaVUV0CIQUV/mk/o81jsGJ
8ZZJ0xfgRWLIm/9+YXfyM6Pf3fMKnCiMJg/5sL8V9mE5kYSkI7rH/+S+EjkTlsvc
ffFdwnfn2PayadtYUGaq5UYdzjqYZfkpUNFk8tIV93QI28nVSLPF7h5/cRDPkks9
M+Cwdfh+NGDbrrODtk/fug3H1hO6Oadm2WF2jJekGbQ/4nt1jCYd22MEjcD4Yn3i
cq7hEx0xCaH/UY18C188nd3+yxpVBF//fROR6HNgWRyAgu4qm1UKWPWca9VVaO21
LYS7xr0XKedw8jpyi1YbcSXdJYArkyUoV3WBHppYWi6svtKDDJ+WSVDOv5UGbmLy
mtbY+LOWLqegOA2hsmDglt5A5jt/ATkQ5mtzJYwQejlAfHyOJmbYem6PDAF/2Fcx
Y/xeO/WEW5YmwBVNNIk5n+5OIhcc5o0e7J7henIy80q1DhRNO3XeaGmztl9gUlHj
wFB/QmC9PDdXVDZe3tonSWLV9Aa27pZ8+hBXyzRBQ0oHaZh3Uf0PRBmdnOqRYhx2
wu1Y4tFZSfCNnI/lLBs5Px2j7qO1Ci4PAO4YGl75R0WKCfZByLGgdZ8eUV1kGbiS
J43CCsTnP48E/WE7BF11t0jsvclH7NuIGT4fetdexaMkoGf/pT0=
=dBWG
-----END PGP SIGNATURE-----
--- End Message ---