Your message dated Mon, 06 May 2024 22:49:46 +0000
with message-id <e1s479w-00ay6j...@fasolo.debian.org>
and subject line Bug#1066837: fixed in mpi4py 3.1.5-6
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-6
Done: Drew Parsons <dpars...@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.
Drew Parsons <dpars...@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: SHA256

Format: 1.8
Date: Mon, 06 May 2024 19:33:49 +0200
Source: mpi4py
Architecture: source
Version: 3.1.5-6
Distribution: unstable
Urgency: medium
Maintainer: Debian Science Maintainers 
<debian-science-maintain...@lists.alioth.debian.org>
Changed-By: Drew Parsons <dpars...@debian.org>
Closes: 1063409 1066837
Changes:
 mpi4py (3.1.5-6) unstable; urgency=medium
 .
   * debian patch intersphinx_use_local_inventory.patch uses python3
     docs when building docs. Thanks Zixing Liu from Canonical.
     Closes: #1066837, #1063409
   * add Drew Parsons as uploader
Checksums-Sha1:
 8d5341fa1910f1868786e787ac428f33f01a1125 2486 mpi4py_3.1.5-6.dsc
 a093e9e2342dc0d7a9f968354c6f816324cc34bb 13356 mpi4py_3.1.5-6.debian.tar.xz
Checksums-Sha256:
 d197fe479912e378e34c70a1d4e78752d9c0680ffb9e6e74867ea87904073a70 2486 
mpi4py_3.1.5-6.dsc
 f95bf7f585c3dad8b3726aebe5a320b3c16d5befa3ec9e539cf1e706952b5ec2 13356 
mpi4py_3.1.5-6.debian.tar.xz
Files:
 2a6a696f353995ff5067f8fd8e08b721 2486 python optional mpi4py_3.1.5-6.dsc
 718e80483b840b03c36353e7c7d95a68 13356 python optional 
mpi4py_3.1.5-6.debian.tar.xz

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

iQIzBAEBCAAdFiEEI8mpPlhYGekSbQo2Vz7x5L1aAfoFAmY5TH8ACgkQVz7x5L1a
AfrSLw/6A1WV5y9hypMIvizgFhiSUxUZthUqwkSSRDccG57hNEGjQUdCS7B8TPbs
bkTp05wrk5bh2tszylv8EBfWiOLlowQGkhTqcz5mUikCyi66HjguUAOIKjpTFNHI
yFU+OL6fMdIJ1lpDNjfaKBo0kjaNRSemLZBJE3m31PptQrZrf/DoYbdGKW8WAYbN
ubBX/SAFFZuwrM3EH4L5Gi/vQO1U6XKZxCuwczsKgPfM9snDNztOwqfppAFXy10J
U0aUO90wmkuLHbd6QVcXsHKw/phagW2XHXlJ1A4mbSi+vgDEF/WbqXLL36BG2kqC
2CGyPXRPtRTl3apdglUCWdKkUhaFBKSaiRu/m+a2r4dET9f1Cg6QRjYL8i1ntZu/
Hj0N8I838vZ81lk1iVFTzs3SNxE6rrm6k7CwMMyPLqgUtFg1ZNrbdFwQR4vPSWpe
0Jil+b0aUMaXPUKBrllaqVHe5flqAo6JSLAaMpvdIRDHn+IRlOCmRahP97IEHcUo
iHGlmHngUZrBRo0PN3Ila3Xv1As0rZr/6cqq08xCDuz39LV4+2D3m4dfdKL56uQt
c1ZvjtI5fwsk9NuZKNSoQMmxvIZk/WF2Loa4eLvzyg3MJv1YT0e9D2I0Q0vA3yzo
5ngcwOKHrtZxE6f89jScGIwcMqGWtuNqCMx5/VCKdJXjKYtkAfI=
=wulU
-----END PGP SIGNATURE-----

Attachment: pgppUJDEi19Rf.pgp
Description: PGP signature


--- End Message ---

Reply via email to