Your message dated Wed, 08 May 2024 13:49:10 +0000
with message-id <e1s4hfs-003j7e...@fasolo.debian.org>
and subject line Bug#1066837: fixed in mpi4py 3.1.5-7
has caused the Debian Bug report #1066837,
regarding mpi4py: FTBFS: Unable to generate documentation
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.)


-- 
1066837: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1066837
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: mpi4py
Severity: serious
Tags: patch
User: zixing....@canonical.com
Usertags: origin-ubuntu noble ubuntu-patch

Dear Maintainer,

mpi4py failed to build from source after Python 3.12 and Sphinx upgrade.
Please find the patch attached that fixes the Sphinx documentation generation
issue and also a partial fix to the InterSphinx online requirements.

Due to a packaging issue in numpy, the InterSphinx of numpy isn't included
in the package, so linking the documentation from numpy is not possible
at the moment.

  * Un-break Sphinx documentation generation by removing PYTHONPATH overrides.
  * Add a patch to make Intersphinx read the cross-documentation index
    from local filesystem. (LP: #2057848)


Thanks for considering the patch.


-- System Information:
Debian Release: bookworm/sid
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.5.0-25-generic (SMP w/10 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_CA:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
diff -Nru mpi4py-3.1.5/debian/control mpi4py-3.1.5/debian/control
--- mpi4py-3.1.5/debian/control 2024-03-13 12:30:07.000000000 -0600
+++ mpi4py-3.1.5/debian/control 2024-03-13 15:33:29.000000000 -0600
@@ -17,7 +16,8 @@
                python3-setuptools
 Build-Depends-Indep: texinfo, texlive,
  latexmk, tex-gyre,
- texlive-latex-extra
+ texlive-latex-extra,
+ python3-doc
 Standards-Version: 4.6.2
 Vcs-Browser: https://salsa.debian.org/science-team/mpi4py
 Vcs-Git: https://salsa.debian.org/science-team/mpi4py.git
diff -Nru mpi4py-3.1.5/debian/patches/intersphinx_use_local_inventory.patch 
mpi4py-3.1.5/debian/patches/intersphinx_use_local_inventory.patch
--- mpi4py-3.1.5/debian/patches/intersphinx_use_local_inventory.patch   
1969-12-31 17:00:00.000000000 -0700
+++ mpi4py-3.1.5/debian/patches/intersphinx_use_local_inventory.patch   
2024-03-13 15:33:29.000000000 -0600
@@ -0,0 +1,18 @@
+Description: Use local InterSphinx inventory data
+Author: Zixing Liu <zixing....@canonical.com>
+Forwarded: not-needed
+Last-Update: 2024-03-13
+
+Index: mpi4py/docs/source/usrman/conf.py
+===================================================================
+--- mpi4py.orig/docs/source/usrman/conf.py
++++ mpi4py/docs/source/usrman/conf.py
+@@ -90,7 +90,7 @@ autosummary_context = {
+ }
+ 
+ intersphinx_mapping = {
+-    'python': ('https://docs.python.org/3/', None),
++    'python': ('https://docs.python.org/3/', 
('/usr/share/doc/python3/html/objects.inv', None)),
+     'numpy': ('https://numpy.org/doc/stable/', None),
+ }
+ 
diff -Nru mpi4py-3.1.5/debian/patches/series mpi4py-3.1.5/debian/patches/series
--- mpi4py-3.1.5/debian/patches/series  2024-02-20 03:49:49.000000000 -0700
+++ mpi4py-3.1.5/debian/patches/series  2024-03-13 15:29:22.000000000 -0600
@@ -7,3 +7,4 @@
 docs_privacy.patch
 io_long_double_i386_2d868d7.patch
 skip_testPackUnpackExternal_sparc64.patch
+intersphinx_use_local_inventory.patch
diff -Nru mpi4py-3.1.5/debian/rules mpi4py-3.1.5/debian/rules
--- mpi4py-3.1.5/debian/rules   2024-02-20 03:49:49.000000000 -0700
+++ mpi4py-3.1.5/debian/rules   2024-03-13 15:28:23.000000000 -0600
@@ -64,8 +64,7 @@
                --build-args "--mpicc=/usr/bin/mpicc$(MPI) 
--mpicxx=/usr/bin/mpicxx$(MPI)"
 
 override_dh_auto_build-indep: override_dh_auto_build-arch
-       PYTHONPATH=`pybuild --print "{build_dir}"` \
-        make -C docs/source/usrman/ html man info latexpdf SPHINXOPTS="-D 
today=\"$(BUILD_DATE)\""
+       make -C docs/source/usrman/ html man info latexpdf SPHINXOPTS="-D 
today=\"$(BUILD_DATE)\""
 
 override_dh_auto_install:
        dh_auto_install

--- End Message ---
--- Begin Message ---
Source: mpi4py
Source-Version: 3.1.5-7
Done: Graham Inggs <gin...@debian.org>

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

Debian distribution maintenance software
pp.
Graham Inggs <gin...@debian.org> (supplier of updated mpi4py 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: Wed, 08 May 2024 13:23:44 +0000
Source: mpi4py
Built-For-Profiles: noudeb
Architecture: source
Version: 3.1.5-7
Distribution: unstable
Urgency: medium
Maintainer: Debian Science Maintainers 
<debian-science-maintain...@lists.alioth.debian.org>
Changed-By: Graham Inggs <gin...@debian.org>
Closes: 1066837
Changes:
 mpi4py (3.1.5-7) unstable; urgency=medium
 .
   * Team upload
 .
   [ Zixing Liu ]
   * Un-break Sphinx documentation generation by removing PYTHONPATH overrides
     (Closes: #1066837)
Checksums-Sha1:
 450f043aab3f87135da8ef8f32a46bbb4153573d 2486 mpi4py_3.1.5-7.dsc
 6863e241927244d9994144bc3005d2b39f7371d2 13412 mpi4py_3.1.5-7.debian.tar.xz
Checksums-Sha256:
 34690a1d176d40b1113308260e8fd170f1460d969465fb24ff73e2832ed3bccb 2486 
mpi4py_3.1.5-7.dsc
 ebb220f4d4fcc880678b4f374d8b68ee4333a0b58ce0e8aa7fd31d1ea32fb24d 13412 
mpi4py_3.1.5-7.debian.tar.xz
Files:
 40a19819794bcd574b3f3ddf185d43cd 2486 python optional mpi4py_3.1.5-7.dsc
 2e0978c2f614b4fc57690b2cb37b84d8 13412 python optional 
mpi4py_3.1.5-7.debian.tar.xz

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

iQIzBAEBCgAdFiEEJeP/LX9Gnb59DU5Qr8/sjmac4cIFAmY7fjsACgkQr8/sjmac
4cK+vxAAxN6e8Dh9Nm+lvzzUQsDP28RaPJhaJPQE4glhR1X2+BAS+DrOsQs+vieF
LthViHDrDuuwdnYnT3Sv6XRcSnF5qATdg+D7IL1cadcznio9RM2KVUCSvCR6dc2Y
9tuF0KRb292mukeWOeDDBmhbSD6w6Lj3ccGGRQ5DvrKdy9MfUs4Cwixlh+amVSc1
bD8UBX6AwyzTy6HchJ02EkDrP1xHIGF7M2BrC1NJKKRzuZbWL/2fM3KiizMjYdzL
DpZfn6S3L3E+C6goMzGTbn6nBr9DbOWj1Sw8vXd2RgPAU7LFiluB7BKkEBh3vkkP
q7JgQbmVgyK9jEa3gNjpFLRTLnstyJV/VLQ1k0HeBwXdS3D4wmGZyI/+nGippjUL
vpyzId5GdYm7TWRt1W9WxNz4VPsCKwuTy7yp8dnkQRRGOYMgtbf7PfR507snRV/P
ZGq3rKb/t+BxFAhndxTpwe47miT+s8gZOr+9+7K2ntHR8BYIJSx+EA1SrQA41n/7
s77W0qSGzfRbCSdbRt+Po2SsEIsxNZ+AyVBTbbjvVMIHgiwfo2WUzlX7gEbom6Va
Imk3XtkZhk5pBQUXLEOYI2aNm1R2DPk5SN5KXSRRNZqSkNVi/2xbV3ooa4nRaxVE
ZmLmf6N26b5nipMyuiiqELmxNcqVqo8ovoQiEKMfDdTNY6kdSMo=
=keWj
-----END PGP SIGNATURE-----

Attachment: pgpvE3nFBpIE4.pgp
Description: PGP signature


--- End Message ---

Reply via email to