Your message dated Tue, 28 Nov 2023 09:00:10 +0000
with message-id <[email protected]>
and subject line Bug#1056432: fixed in openpyxl 3.1.2+dfsg-3
has caused the Debian Bug report #1056432,
regarding openpyxl's autopkg tests fail with Python 3.12
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.)
--
1056432: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1056432
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: src:openpyxl
Version: 3.1.2+dfsg-2
Severity: important
Tags: sid trixie
User: [email protected]
Usertags: python3.12
openpyxl's autopkg tests fail with Python 3.12:
[...]
265s =================================== FAILURES
===================================
265s ___________________ TestWorkbookParser.test_broken_sheet_ref
___________________
265s
265s self = <openpyxl.reader.tests.test_workbook.TestWorkbookParser
object at 0x7fa349e08230>
265s datadir =
local('/tmp/autopkgtest.cmsRIc/autopkgtest_tmp/openpyxl/reader/tests/data')
265s recwarn = WarningsRecorder(record=True)
265s WorkbookParser = <class 'openpyxl.reader.workbook.WorkbookParser'>
265s
265s def test_broken_sheet_ref(self, datadir, recwarn, WorkbookParser):
265s from openpyxl.packaging.workbook import WorkbookPackage
265s datadir.chdir()
265s with open("workbook_missing_id.xml", "rb") as src:
265s xml = src.read()
265s node = fromstring(xml)
265s wb = WorkbookPackage.from_tree(node)
265s
265s archive = ZipFile(BytesIO(), "a")
265s archive.write("workbook_links.xml", ARC_WORKBOOK)
265s archive.writestr(ARC_WORKBOOK_RELS, b"<root />")
265s
265s parser = WorkbookParser(archive, ARC_WORKBOOK)
265s parser.sheets = wb.sheets
265s sheets = parser.find_sheets()
265s list(sheets)
265s w = recwarn.pop()
265s > assert issubclass(w.category, UserWarning)
265s E AssertionError: assert False
265s E + where False = issubclass(<class 'DeprecationWarning'>,
UserWarning)
265s E + where <class 'DeprecationWarning'> =
<warnings.WarningMessage object at 0x7fa3474155e0>.category
265s
265s
/tmp/autopkgtest.cmsRIc/autopkgtest_tmp/openpyxl/reader/tests/test_workbook.py:93:
AssertionError
265s __________________ TestWorkbookParser.test_name_invalid_index
__________________
265s
265s self = <openpyxl.reader.tests.test_workbook.TestWorkbookParser
object at 0x7fa349e0b4d0>
265s datadir =
local('/tmp/autopkgtest.cmsRIc/autopkgtest_tmp/openpyxl/reader/tests/data')
265s WorkbookParser = <class 'openpyxl.reader.workbook.WorkbookParser'>
265s recwarn = WarningsRecorder(record=True)
265s
265s def test_name_invalid_index(self, datadir, WorkbookParser,
recwarn):
265s datadir.chdir()
265s archive = ZipFile("print_settings.xlsx")
265s parser = WorkbookParser(archive, ARC_WORKBOOK)
265s parser.parse()
265s
265s wb = parser.wb
265s parser.defined_names.definedName =
[DefinedName(name="_xlnm.Print_Area", localSheetId="19", attr_text="'New
Monthly Metals'!$B$1:$O$15")]
265s parser.assign_names()
265s
265s > assert recwarn.pop().category == UserWarning
265s E AssertionError: assert <class 'DeprecationWarning'> ==
UserWarning
265s E + where <class 'DeprecationWarning'> =
<warnings.WarningMessage object at 0x7fa3474118b0>.category
265s E + where <warnings.WarningMessage object at
0x7fa3474118b0> = <bound method WarningsRecorder.pop of
WarningsRecorder(record=True)>()
265s E + where <bound method WarningsRecorder.pop of
WarningsRecorder(record=True)> = WarningsRecorder(record=True).pop
265s
265s
/tmp/autopkgtest.cmsRIc/autopkgtest_tmp/openpyxl/reader/tests/test_workbook.py:151:
AssertionError
265s _______________ TestWorkbookParser.test_defined_names_print_area
_______________
265s
265s self = <openpyxl.reader.tests.test_workbook.TestWorkbookParser
object at 0x7fa349edc200>
265s datadir =
local('/tmp/autopkgtest.cmsRIc/autopkgtest_tmp/openpyxl/reader/tests/data')
265s WorkbookParser = <class 'openpyxl.reader.workbook.WorkbookParser'>
265s recwarn = WarningsRecorder(record=True)
265s
265s def test_defined_names_print_area(self, datadir,
WorkbookParser, recwarn):
265s datadir.chdir()
265s archive = ZipFile("print_area_table_defined_name.xlsx")
265s
265s parser = WorkbookParser(archive, ARC_WORKBOOK)
265s parser.parse()
265s parser.assign_names()
265s
265s > assert recwarn.pop().category == UserWarning
265s E AssertionError: assert <class 'DeprecationWarning'> ==
UserWarning
265s E + where <class 'DeprecationWarning'> =
<warnings.WarningMessage object at 0x7fa347413fe0>.category
265s E + where <warnings.WarningMessage object at
0x7fa347413fe0> = <bound method WarningsRecorder.pop of
WarningsRecorder(record=True)>()
265s E + where <bound method WarningsRecorder.pop of
WarningsRecorder(record=True)> = WarningsRecorder(record=True).pop
265s
265s
/tmp/autopkgtest.cmsRIc/autopkgtest_tmp/openpyxl/reader/tests/test_workbook.py:195:
AssertionError
265s ________________________________ test_no_styles
________________________________
265s
265s recwarn = WarningsRecorder(record=True)
265s
265s def test_no_styles(recwarn):
265s from ..stylesheet import apply_stylesheet
265s wb = Workbook()
265s archive = ZipFile(BytesIO(), "a")
265s xml = b"""<styleSheet
xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" />"""
265s archive.writestr("xl/styles.xml", xml)
265s apply_stylesheet(archive, wb)
265s w = recwarn.pop()
265s
265s > assert w.category == UserWarning
265s E AssertionError: assert <class 'DeprecationWarning'> ==
UserWarning
265s E + where <class 'DeprecationWarning'> =
<warnings.WarningMessage object at 0x7fa3475df9b0>.category
265s
265s
/tmp/autopkgtest.cmsRIc/autopkgtest_tmp/openpyxl/styles/tests/test_stylesheet.py:267:
AssertionError
--- End Message ---
--- Begin Message ---
Source: openpyxl
Source-Version: 3.1.2+dfsg-3
Done: Rebecca N. Palmer <[email protected]>
We believe that the bug you reported is fixed in the latest version of
openpyxl, 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.
Rebecca N. Palmer <[email protected]> (supplier of updated openpyxl
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: Mon, 27 Nov 2023 20:18:36 +0000
Source: openpyxl
Binary: python-openpyxl-doc python3-openpyxl
Architecture: source all
Version: 3.1.2+dfsg-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Science Maintainers
<[email protected]>
Changed-By: Rebecca N. Palmer <[email protected]>
Description:
python-openpyxl-doc - Python module to read/write OpenXML xlsx/xlsm files -
docs
python3-openpyxl - Python 3 module to read/write OpenXML xlsx/xlsm files
Closes: 950462 1056432
Changes:
openpyxl (3.1.2+dfsg-3) unstable; urgency=medium
.
* Fix test-failing warnings with Python 3.12. (Closes: #1056432)
* Enable documentation. (Closes: #950462)
* Reproducibility: in descriptors.Set repr/docstring/errors,
use sorted values, not address or unsorted values.
Checksums-Sha1:
ead3daec55543aeb03839db56d702d1a983899b9 2540 openpyxl_3.1.2+dfsg-3.dsc
5a58bd16aceee9113bb19c9146b45d406ac86533 21824
openpyxl_3.1.2+dfsg-3.debian.tar.xz
13851bd0cf182f28947ad2871d2ddb77ae91f483 8845
openpyxl_3.1.2+dfsg-3_amd64.buildinfo
25ff654cc39840cba944c2d47b2056f8b3da5708 2130540
python-openpyxl-doc_3.1.2+dfsg-3_all.deb
474d8a1450a50adaf3ac42152709a32e6f6f5ce5 164368
python3-openpyxl_3.1.2+dfsg-3_all.deb
Checksums-Sha256:
231f7dc2bf0d0722284f667251dd372170d9707cb9614f2daac317c288a8e73d 2540
openpyxl_3.1.2+dfsg-3.dsc
2e96765470154a2edc3b6e3a71dc16e60fb33e9702df9075b20aa312da458135 21824
openpyxl_3.1.2+dfsg-3.debian.tar.xz
b75f6c899f1979388dd2d4e49eb5e3078ce93ed7dc825a81b6b2d4b662095dd3 8845
openpyxl_3.1.2+dfsg-3_amd64.buildinfo
710455943eb7d34a5fec7f73e6272c61cbe6a4d4e5a146d950bf120875f28ba2 2130540
python-openpyxl-doc_3.1.2+dfsg-3_all.deb
4d19cf5a048286ccdfdbb98fe45add2e3cddc2e4add50cb5b0a91c0f5ecaaa05 164368
python3-openpyxl_3.1.2+dfsg-3_all.deb
Files:
581e4f31336bb1a2ca7466be65d25514 2540 python optional openpyxl_3.1.2+dfsg-3.dsc
f377002bf825b331a2136b9d9378c259 21824 python optional
openpyxl_3.1.2+dfsg-3.debian.tar.xz
7bd58982665bd56ea3eda613afceea18 8845 python optional
openpyxl_3.1.2+dfsg-3_amd64.buildinfo
0defd2c3e8f50fb0855975abfc6d720a 2130540 python optional
python-openpyxl-doc_3.1.2+dfsg-3_all.deb
7d6895de4f31824fe12f6a02abee9c4e 164368 python optional
python3-openpyxl_3.1.2+dfsg-3_all.deb
-----BEGIN PGP SIGNATURE-----
iQJIBAEBCgAyFiEE5Qr9Va3SequXFjqLIdIFiZdLPpYFAmVlaFwUHHRtYW5jaWxs
QGRlYmlhbi5vcmcACgkQIdIFiZdLPpZgpBAA2H4Aly+A2i/9CqWmzS0ne4F9GTlv
c8itSzJ5jllVJ7agwjm4KjVLCgER4jLLexFrEgPVSEugDud0VXj1HY/fonr5S6pX
VaFkiApj+QN4xCXJIu3rRVYIb6g/GIsvErHpR0vGADm/C6jvLuLkTb3sf48OoLl1
4kUvqaSjEoj5CYbz2of98iXD/GUaMpejxqsZziTy8CM6drmjrKsEbVNlG73Atz71
59+ltILtLEhOEF+trmCh4zAomiw2+RvAK9Gko7giYvezMbCnb3ljYBPYCWYeVEfR
ztIy1oWhnjZsqYOHRIJmPhxfiGpstAfwLw4gukdAGOkbeIc1l3vsDeqmc6ib644F
9Uf5E9gEzNGUF8LLkKGAj0BCvWulNu0Cq6Ms20aeZnyjJi+FZdzqwhVr52yv4bYL
rF1NZ3tzyWkk+es5lOluJz+0tkPub0O5laveUaotirEY3BRZM1rXnfRPYnG4UDpk
n11ohFX30KQM0dD5/SbrsoEmpiE7hTEzMhSjrePAmYNn97cygEPxOGdlVkeagSNO
7e2olmSI4lGwHllyYrGnr6+tnMauCd5yq4Zj7z7uzijJu6S1L9smEX3BVuEo6UK+
NDfk3H07zv+YAUszXFcjlwPI+uYoBl/xlI1P/TlPNgePxIKYWycxgdteN+aojFpj
CAxMkEwx1MkLz9o=
=1Xbn
-----END PGP SIGNATURE-----
--- End Message ---
--
debian-science-maintainers mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-science-maintainers