Your message dated Mon, 02 Jan 2023 22:05:19 +0000
with message-id <e1pcsvn-00bv8n...@fasolo.debian.org>
and subject line Bug#1027751: fixed in pytest 7.2.0-4
has caused the Debian Bug report #1027751,
regarding pytest -- need to properly depend on python3-exceptiongroup
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.)


-- 
1027751: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1027751
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: pytest
Version: 7.1.2-4
Severity: serious
X-Debbugs-Cc: roehl...@debian.org

Hi,

While building pairtools version 1.0.2-1 I noticed this error. I have 
temporarliy added
a build depend on exceptiongroup in the said package to work around the issue.

| I: pybuild base:240: export CURPY=python3.10; cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build && python3.10 -m pytest -v
| Traceback (most recent call last):
|  File "/usr/lib/python3.10/runpy.py", line 187, in _run_module_as_main
|    mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
|  File "/usr/lib/python3.10/runpy.py", line 146, in _get_module_details
|    return _get_module_details(pkg_main_name, error)
|  File "/usr/lib/python3.10/runpy.py", line 110, in _get_module_details
|    __import__(pkg_name)
|  File "/usr/lib/python3/dist-packages/pytest/__init__.py", line 5, in <module>
|    from _pytest._code import ExceptionInfo
|  File "/usr/lib/python3/dist-packages/_pytest/_code/__init__.py", line 2, in 
<module>
|    from .code import Code
|  File "/usr/lib/python3/dist-packages/_pytest/_code/code.py", line 60, in 
<module>
|    from exceptiongroup import BaseExceptionGroup
| ModuleNotFoundError: No module named 'exceptiongroup'
| E: pybuild pybuild:388: test: plugin custom failed with: exit code=1: export 
CURPY=python3.10; cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build && 
python3.10 -m pytest -v

My hunch is that the issue is this:

| $ apt show python3-pytest | grep excep
| Depends: python3-attr, python3-more-itertools, python3-pkg-resources, 
python3-pluggy (>= 0.12), python3-py, python3-exceptiongroup | python3 (>> 
3.11), python3-importlib-metadata | python3 (>> 3.8), python3-iniconfig, 
python3-packaging, python3-tomli | python3 (>> 3.11), python3:any

The "python3 (>> 3.11)" dependency is now beginning to be satisfied with doko's 
new python3.11 upload i.e. version 3.11.1 (see[1])
exceptiongroup should still be picked in this scnario, this is a bit odd 
though, but definitely worth a look.

[1]: 
https://tracker.debian.org/news/1404008/accepted-python311-3111-2-source-into-unstable/

-- System Information:
Debian Release: bookworm/sid
  APT prefers testing
  APT policy: (990, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 6.0.0-6-amd64 (SMP w/8 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

--- End Message ---
--- Begin Message ---
Source: pytest
Source-Version: 7.2.0-4
Done: Timo Röhling <roehl...@debian.org>

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

Debian distribution maintenance software
pp.
Timo Röhling <roehl...@debian.org> (supplier of updated pytest 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, 02 Jan 2023 22:57:25 +0100
Source: pytest
Architecture: source
Version: 7.2.0-4
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <team+pyt...@tracker.debian.org>
Changed-By: Timo Röhling <roehl...@debian.org>
Closes: 1027751
Changes:
 pytest (7.2.0-4) unstable; urgency=medium
 .
   * Team upload.
   * Fix dependency issues with Python 3.11 transition.
     Both python3-exceptiongroup and python3-tomli are no longer
     needed with Python 3.11, but as long as Python 3.10 is still
     in the archive, pytest should depend on them to not break
     Python 3.10 tests. (Closes: #1027751)
   * Drop ${sphinxdoc:Built-Using} from python-pytest-doc
   * Bump Standards-Version to 4.6.2
Checksums-Sha1:
 8653d9aafa9dc48a6410243fc4410e0304c10e08 2410 pytest_7.2.0-4.dsc
 ddf14e8151eb9d81cb1f8d77fe20528452745c4a 11008 pytest_7.2.0-4.debian.tar.xz
 fb72b7a3dcc7348e98fc17086ef540704dd80c43 9121 pytest_7.2.0-4_amd64.buildinfo
Checksums-Sha256:
 734234ea128524323ee26f75bf99544c9baec4276cf92d9a908bba2afb322400 2410 
pytest_7.2.0-4.dsc
 6a4ebce6fc8eefa52ab8404bcca446a9646e7df7c1eed3a0074f5695155a1c37 11008 
pytest_7.2.0-4.debian.tar.xz
 03f8664bf5e377a9328d271f2e779e28204e2109a38ffce805c059749c86d1ff 9121 
pytest_7.2.0-4_amd64.buildinfo
Files:
 866efcdbbe27bd762b3f110657563b80 2410 python optional pytest_7.2.0-4.dsc
 1421b055da2e732e677db73918e88ed1 11008 python optional 
pytest_7.2.0-4.debian.tar.xz
 3d35d883b19eb20c30ef61650d66d38d 9121 python optional 
pytest_7.2.0-4_amd64.buildinfo

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

iQHIBAEBCgAyFiEEJvtDgpxjkjCIVtam+C8H+466LVkFAmOzU+4UHHJvZWhsaW5n
QGRlYmlhbi5vcmcACgkQ+C8H+466LVmtfwwAis2+3slSgnNoP2xQLhvBTaujIraw
FDqssieePdmf3uE2LXKZ5cWU2ez5X7J4lIP+1CxJ5QQnqOIb6pQ/+BA0x+gTCqhR
YIxYQuSAS9oY0z2Wn6C+UC/19jwD5rrGUs6pII5XgSwOCTet8iBFNgMggJhvuJnH
EP2opEHIo+olALoM5LdNAzYFYEJcaKPxuNX/fgviVlVfwqsxe6FsVTtiMRVvbtvZ
DGqSW7q1O01hHtHAxrVsggJMnRNehNWpfk3xIHAMtb+E1dzU0H1hZvGZ4MI0odpf
CISi0Q2aiw4bTZtksz8kyg6VQ2CvC21jlZXZ9Hm8NLfmNZvFEi78bc1H2V6GBtry
NLDCyVGpar4RT5SB++u4s/G3RACHgk22EOZ/apntnUIq7qR1b/bCUXFYPHxzvm0G
vgj0E1DK3JaCC9sR2huid28uphhrihT8dEeNmO/f0MZkckmNU/tR5muiBpKN32p6
juEPSniEJpo7g0x8i4efD+waH7y8uii5UW6Z
=PGeF
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to