Your message dated Mon, 05 Dec 2022 11:07:50 +0000
with message-id <e1p29ka-006rdq...@fasolo.debian.org>
and subject line Bug#1025184: fixed in sphinx-testing 1.0.1-0.2
has caused the Debian Bug report #1025184,
regarding sphinx-testing: (autopkgtest) needs update for python3.11: invalid 
mode: 'U'
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.)


-- 
1025184: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1025184
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: sphinx-testing
Version: 1.0.1-0.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 sphinx-testing 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
sphinx-testing         from testing    1.0.1-0.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/s/sphinx-testing/28796440/log.gz

/usr/lib/python3/dist-packages/babel/messages/catalog.py:13: DeprecationWarning: 'cgi' is deprecated and slated for removal in Python 3.13
  from cgi import parse_header
test_abspath (test_path.TestPath.test_abspath) ... ok
test_basename (test_path.TestPath.test_basename) ... ok
test_copytree (test_path.TestPath.test_copytree) ... ok
test_dirname (test_path.TestPath.test_dirname) ... ok
test_exists (test_path.TestPath.test_exists) ... ok
test_instantiate (test_path.TestPath.test_instantiate) ... ok
test_isabs (test_path.TestPath.test_isabs) ... ok
test_isdir (test_path.TestPath.test_isdir) ... ok
test_isfile (test_path.TestPath.test_isfile) ... ok
test_islink (test_path.TestPath.test_islink) ... ok
test_ismount (test_path.TestPath.test_ismount) ... ok
test_jonpath (test_path.TestPath.test_jonpath) ... ok
test_listdir (test_path.TestPath.test_listdir) ... ok
test_makedirs (test_path.TestPath.test_makedirs) ... ok
test_move (test_path.TestPath.test_move) ... ok
test_read_bytes (test_path.TestPath.test_read_bytes) ... ok
test_read_text (test_path.TestPath.test_read_text) ... ERROR
test_rmtree (test_path.TestPath.test_rmtree) ... ok
test_suffix (test_path.TestPath.test_suffix) ... ok
test_unlink (test_path.TestPath.test_unlink) ... ok
test_utime (test_path.TestPath.test_utime) ... ok
test_write_bytes (test_path.TestPath.test_write_bytes) ... /tmp/autopkgtest-lxc.yr0akpjp/downtmp/autopkgtest_tmp/tests/test_path.py:226: ResourceWarning: unclosed file <_io.BufferedReader name='/tmp/tmpkuvdvjne/test.file'>
  text = open(filename, 'rb').read()
ResourceWarning: Enable tracemalloc to get the object allocation traceback
ok
test_write_text (test_path.TestPath.test_write_text) ... /tmp/autopkgtest-lxc.yr0akpjp/downtmp/autopkgtest_tmp/tests/test_path.py:210: ResourceWarning: unclosed file <_io.TextIOWrapper name='/tmp/tmp4l6oluer/test.file' mode='r' encoding='UTF-8'>
  text = open(filename).read()
ResourceWarning: Enable tracemalloc to get the object allocation traceback
ok
test_mkdtemp (test_tmpdir.TestTmpdir.test_mkdtemp) ... ok
test_with_tmpdir (test_tmpdir.TestTmpdir.test_with_tmpdir) ... ok
test_TestApp (test_util.TestSphinxTesting.test_TestApp) ... /usr/lib/python3/dist-packages/sphinx/util/images.py:4: DeprecationWarning: 'imghdr' is deprecated and slated for removal in Python 3.13
  import imghdr
ok
test_TestApp_cleanup (test_util.TestSphinxTesting.test_TestApp_cleanup) ... ok test_TestApp_cleanup_when_cleanup_on_errors (test_util.TestSphinxTesting.test_TestApp_cleanup_when_cleanup_on_errors) ... ok test_TestApp_when_copy_srcdir_to_tmpdir (test_util.TestSphinxTesting.test_TestApp_when_copy_srcdir_to_tmpdir) ... ERROR test_TestApp_when_create_new_srcdir (test_util.TestSphinxTesting.test_TestApp_when_create_new_srcdir) ... ERROR test_TestApp_when_srcdir_and_create_new_srcdir_conflict (test_util.TestSphinxTesting.test_TestApp_when_srcdir_and_create_new_srcdir_conflict) ... ok test_TestApp_when_srcdir_is_None (test_util.TestSphinxTesting.test_TestApp_when_srcdir_is_None) ... ok test_TestApp_when_srcdir_specified (test_util.TestSphinxTesting.test_TestApp_when_srcdir_specified) ... ERROR
test_with_app (test_util.TestSphinxTesting.test_with_app) ... ok
test_with_app_bad_args (test_util.TestSphinxTesting.test_with_app_bad_args) ... ok test_with_app_return_value (test_util.TestSphinxTesting.test_with_app_return_value) ... ok test_with_app_write_docstring (test_util.TestSphinxTesting.test_with_app_write_docstring) ... ERROR test_with_app_write_docstring_by_name (test_util.TestSphinxTesting.test_with_app_write_docstring_by_name) ... ERROR test_with_app_write_docstring_with_master_doc (test_util.TestSphinxTesting.test_with_app_write_docstring_with_master_doc) ... ERROR test_with_app_write_docstring_with_source_suffix (test_util.TestSphinxTesting.test_with_app_write_docstring_with_source_suffix) ... ERROR

======================================================================
ERROR: test_read_text (test_path.TestPath.test_read_text)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/sphinx_testing/tmpdir.py", line 30, in decorator
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
File "/tmp/autopkgtest-lxc.yr0akpjp/downtmp/autopkgtest_tmp/tests/test_path.py", line 219, in test_read_text
    self.assertEqual('hello world', path(filename).read_text())
                                    ^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/sphinx_testing/path.py", line 159, in read_text
    f = open(self, mode='U', **kwargs)
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen codecs>", line 906, in open
ValueError: invalid mode: 'U'

======================================================================
ERROR: test_TestApp_when_copy_srcdir_to_tmpdir (test_util.TestSphinxTesting.test_TestApp_when_copy_srcdir_to_tmpdir)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/tmp/autopkgtest-lxc.yr0akpjp/downtmp/autopkgtest_tmp/tests/test_util.py", line 85, in test_TestApp_when_copy_srcdir_to_tmpdir
    self.assertEqual((srcdir / 'conf.py').read_text(),
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/sphinx_testing/path.py", line 159, in read_text
    f = open(self, mode='U', **kwargs)
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen codecs>", line 906, in open
ValueError: invalid mode: 'U'

======================================================================
ERROR: test_TestApp_when_create_new_srcdir (test_util.TestSphinxTesting.test_TestApp_when_create_new_srcdir)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/tmp/autopkgtest-lxc.yr0akpjp/downtmp/autopkgtest_tmp/tests/test_util.py", line 68, in test_TestApp_when_create_new_srcdir
    self.assertEqual('', (app.srcdir / 'conf.py').read_text())
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/sphinx_testing/path.py", line 159, in read_text
    f = open(self, mode='U', **kwargs)
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen codecs>", line 906, in open
ValueError: invalid mode: 'U'

======================================================================
ERROR: test_TestApp_when_srcdir_specified (test_util.TestSphinxTesting.test_TestApp_when_srcdir_specified)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/tmp/autopkgtest-lxc.yr0akpjp/downtmp/autopkgtest_tmp/tests/test_util.py", line 50, in test_TestApp_when_srcdir_specified
    self.assertEqual((srcdir / 'conf.py').read_text(),
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/sphinx_testing/path.py", line 159, in read_text
    f = open(self, mode='U', **kwargs)
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen codecs>", line 906, in open
ValueError: invalid mode: 'U'

======================================================================
ERROR: test_with_app_write_docstring (test_util.TestSphinxTesting.test_with_app_write_docstring)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/tmp/autopkgtest-lxc.yr0akpjp/downtmp/autopkgtest_tmp/tests/test_util.py", line 175, in test_with_app_write_docstring
    execute()
File "/usr/lib/python3/dist-packages/sphinx_testing/util.py", line 171, in decorator
    return func(*(args + (app, status, warning)), **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/tmp/autopkgtest-lxc.yr0akpjp/downtmp/autopkgtest_tmp/tests/test_util.py", line 173, in execute
    self.assertEqual('Hello world ', master_doc.read_text())
                                     ^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/sphinx_testing/path.py", line 159, in read_text
    f = open(self, mode='U', **kwargs)
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen codecs>", line 906, in open
ValueError: invalid mode: 'U'

======================================================================
ERROR: test_with_app_write_docstring_by_name (test_util.TestSphinxTesting.test_with_app_write_docstring_by_name)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/tmp/autopkgtest-lxc.yr0akpjp/downtmp/autopkgtest_tmp/tests/test_util.py", line 204, in test_with_app_write_docstring_by_name
    execute()
File "/usr/lib/python3/dist-packages/sphinx_testing/util.py", line 171, in decorator
    return func(*(args + (app, status, warning)), **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/tmp/autopkgtest-lxc.yr0akpjp/downtmp/autopkgtest_tmp/tests/test_util.py", line 201, in execute
    content = (app.srcdir / 'hello.rst').read_text()
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/sphinx_testing/path.py", line 159, in read_text
    f = open(self, mode='U', **kwargs)
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen codecs>", line 906, in open
ValueError: invalid mode: 'U'

======================================================================
ERROR: test_with_app_write_docstring_with_master_doc (test_util.TestSphinxTesting.test_with_app_write_docstring_with_master_doc)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/tmp/autopkgtest-lxc.yr0akpjp/downtmp/autopkgtest_tmp/tests/test_util.py", line 185, in test_with_app_write_docstring_with_master_doc
    execute()
File "/usr/lib/python3/dist-packages/sphinx_testing/util.py", line 171, in decorator
    return func(*(args + (app, status, warning)), **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/tmp/autopkgtest-lxc.yr0akpjp/downtmp/autopkgtest_tmp/tests/test_util.py", line 182, in execute
    content = (app.srcdir / 'index.rst').read_text()
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/sphinx_testing/path.py", line 159, in read_text
    f = open(self, mode='U', **kwargs)
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen codecs>", line 906, in open
ValueError: invalid mode: 'U'

======================================================================
ERROR: test_with_app_write_docstring_with_source_suffix (test_util.TestSphinxTesting.test_with_app_write_docstring_with_source_suffix)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/tmp/autopkgtest-lxc.yr0akpjp/downtmp/autopkgtest_tmp/tests/test_util.py", line 195, in test_with_app_write_docstring_with_source_suffix
    execute()
File "/usr/lib/python3/dist-packages/sphinx_testing/util.py", line 171, in decorator
    return func(*(args + (app, status, warning)), **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/tmp/autopkgtest-lxc.yr0akpjp/downtmp/autopkgtest_tmp/tests/test_util.py", line 193, in execute
    self.assertEqual('Hello world ', master_doc.read_text())
                                     ^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/sphinx_testing/path.py", line 159, in read_text
    f = open(self, mode='U', **kwargs)
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen codecs>", line 906, in open
ValueError: invalid mode: 'U'

----------------------------------------------------------------------
Ran 40 tests in 0.764s

FAILED (errors=8)
test_abspath (test_path.TestPath) ... ok
test_basename (test_path.TestPath) ... ok
test_copytree (test_path.TestPath) ... ok
test_dirname (test_path.TestPath) ... ok
test_exists (test_path.TestPath) ... ok
test_instantiate (test_path.TestPath) ... ok
test_isabs (test_path.TestPath) ... ok
test_isdir (test_path.TestPath) ... ok
test_isfile (test_path.TestPath) ... ok
test_islink (test_path.TestPath) ... ok
test_ismount (test_path.TestPath) ... ok
test_jonpath (test_path.TestPath) ... ok
test_listdir (test_path.TestPath) ... ok
test_makedirs (test_path.TestPath) ... ok
test_move (test_path.TestPath) ... ok
test_read_bytes (test_path.TestPath) ... ok
test_read_text (test_path.TestPath) ... /usr/lib/python3.10/codecs.py:905: DeprecationWarning: 'U' mode is deprecated
  file = builtins.open(filename, mode, buffering)
ok
test_rmtree (test_path.TestPath) ... ok
test_suffix (test_path.TestPath) ... ok
test_unlink (test_path.TestPath) ... ok
test_utime (test_path.TestPath) ... ok
test_write_bytes (test_path.TestPath) ... /tmp/autopkgtest-lxc.yr0akpjp/downtmp/autopkgtest_tmp/tests/test_path.py:226: ResourceWarning: unclosed file <_io.BufferedReader name='/tmp/tmpeqgisfrh/test.file'>
  text = open(filename, 'rb').read()
ResourceWarning: Enable tracemalloc to get the object allocation traceback
ok
test_write_text (test_path.TestPath) ... /tmp/autopkgtest-lxc.yr0akpjp/downtmp/autopkgtest_tmp/tests/test_path.py:210: ResourceWarning: unclosed file <_io.TextIOWrapper name='/tmp/tmpxhu1nmug/test.file' mode='r' encoding='UTF-8'>
  text = open(filename).read()
ResourceWarning: Enable tracemalloc to get the object allocation traceback
ok
test_mkdtemp (test_tmpdir.TestTmpdir) ... ok
test_with_tmpdir (test_tmpdir.TestTmpdir) ... ok
test_TestApp (test_util.TestSphinxTesting) ... ok
test_TestApp_cleanup (test_util.TestSphinxTesting) ... ok
test_TestApp_cleanup_when_cleanup_on_errors (test_util.TestSphinxTesting) ... ok test_TestApp_when_copy_srcdir_to_tmpdir (test_util.TestSphinxTesting) ... /usr/lib/python3.10/codecs.py:905: DeprecationWarning: 'U' mode is deprecated
  file = builtins.open(filename, mode, buffering)
ok
test_TestApp_when_create_new_srcdir (test_util.TestSphinxTesting) ... ok
test_TestApp_when_srcdir_and_create_new_srcdir_conflict (test_util.TestSphinxTesting) ... ok
test_TestApp_when_srcdir_is_None (test_util.TestSphinxTesting) ... ok
test_TestApp_when_srcdir_specified (test_util.TestSphinxTesting) ... ok
test_with_app (test_util.TestSphinxTesting) ... ok
test_with_app_bad_args (test_util.TestSphinxTesting) ... ok
test_with_app_return_value (test_util.TestSphinxTesting) ... ok
test_with_app_write_docstring (test_util.TestSphinxTesting) ... ok
test_with_app_write_docstring_by_name (test_util.TestSphinxTesting) ... ok
test_with_app_write_docstring_with_master_doc (test_util.TestSphinxTesting) ... ok test_with_app_write_docstring_with_source_suffix (test_util.TestSphinxTesting) ... ok

----------------------------------------------------------------------
Ran 40 tests in 0.884s

OK
autopkgtest [01:16:50]: test python3-sphinx-testing

Attachment: OpenPGP_signature
Description: OpenPGP digital signature


--- End Message ---
--- Begin Message ---
Source: sphinx-testing
Source-Version: 1.0.1-0.2
Done: Thomas Goirand <z...@debian.org>

We believe that the bug you reported is fixed in the latest version of
sphinx-testing, 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.
Thomas Goirand <z...@debian.org> (supplier of updated sphinx-testing 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: SHA256

Format: 1.8
Date: Mon, 05 Dec 2022 11:42:01 +0100
Source: sphinx-testing
Architecture: source
Version: 1.0.1-0.2
Distribution: unstable
Urgency: medium
Maintainer: Kouhei Maeda <mkou...@palmtb.net>
Changed-By: Thomas Goirand <z...@debian.org>
Closes: 1025184
Changes:
 sphinx-testing (1.0.1-0.2) unstable; urgency=medium
 .
   * Non-maintainer upload.
   * Add remove-mode-u-from-open.patch (Closes: #1025184).
Checksums-Sha1:
 a6065693b92ef87486e5c48a73e3eebd9b82ccc6 1985 sphinx-testing_1.0.1-0.2.dsc
 4d025183a68b3b46d9bd2ee770e2ff6d407c3333 3784 
sphinx-testing_1.0.1-0.2.debian.tar.xz
 14e75bf502cc31ccb8bf0ef1de6c2b8f2139c59f 8234 
sphinx-testing_1.0.1-0.2_amd64.buildinfo
Checksums-Sha256:
 01f704e5f62d35179c357aa76e1babbf02792185c5f4556377fedb4e0a921b81 1985 
sphinx-testing_1.0.1-0.2.dsc
 3db41782e655f10bf20787e22530033809093ca65f0287852373af9f4818422a 3784 
sphinx-testing_1.0.1-0.2.debian.tar.xz
 ee3c72069a6833d79e1a372bdda913226878f8746ffb0d9f866be32448d05faf 8234 
sphinx-testing_1.0.1-0.2_amd64.buildinfo
Files:
 42bf9307946a87d45878df45af1e7e25 1985 python optional 
sphinx-testing_1.0.1-0.2.dsc
 a2f143e392d490390d2b185eb5fe4e51 3784 python optional 
sphinx-testing_1.0.1-0.2.debian.tar.xz
 0f1004ad9fa7ffbb60d3d8d17f0f7764 8234 python optional 
sphinx-testing_1.0.1-0.2_amd64.buildinfo

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

iQIzBAEBCAAdFiEEoLGp81CJVhMOekJc1BatFaxrQ/4FAmONy7UACgkQ1BatFaxr
Q/5AsRAAoPpqyKzvXWJygoIGAmjhqsjvwNEUM9J+4YfxxG9AeH3jsWjKPeXhv/5J
g1zzYUQVH1HmP8KqVARSSVPlm6x6HAACN8tEmaJKHgo9+/irMg1ZoT8l6lvk4n2y
i7cFPkdrQt1+im08fo2W5kSvYJh7DVmdnNWGF2Kcr9+1Ay+7bRMSbJQZjeonxDHI
aksHZaXPIyCdeTmr8Riib6cAIXOYFtXjE0mDg+vV5H4GM5vq5EFnSmmY+fyPYm0g
QWHnDtO7WlfbxhMcgsWKMDVcGIWqnfJvel6eIxqOlIbZvmJVawXQnZ9QmWex2KXd
xrji5aIz0fIJrRxhOwEvnV0u6M0gia52QUM5ITXI4H4v7MDCC5Uxcdoy8JUYaj8n
gRiBPaQksdZiPg06kH2jl0WM+zrM66nPY9svjgVPNenUAulfZbMRuV4GFONzGPcq
sLwi/PWxP1X4tgTmSqU3uiayY8oLl3aVbpm/F3V3yIQSHXnqThn2lYv4shOM1y9H
w+zeZBYgkjt0C9qwIFR7uOPQ3ra19rd9FcKdDYp1jI6D042I3KEpfCPQkFJTiH3b
AjMg/yAAstPAZYurj73H5WzvUCcVfukwFeYsG+GHutXOkvkGLQRb2XocuJcqbRaj
iOQGU/8yxpBKmACo1VMLeVZJs33yk8fOu796PR1fpipUGsgL7Rk=
=a6HY
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to