Your message dated Thu, 06 Aug 2020 16:20:19 +0000
with message-id <[email protected]>
and subject line Bug#966495: fixed in python-pyxs 0.4.2~git20190115.97f14313-3
has caused the Debian Bug report #966495,
regarding python-pyxs: please make the build reproducible
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.)


-- 
966495: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=966495
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: python-pyxs
Version: 0.4.2~git20190115.97f14313-2
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: buildpath
X-Debbugs-Cc: [email protected]

Hi,

Whilst working on the Reproducible Builds effort [0] I noticed that
python-pyxs could not be built reproducibly.

This is because the linkcode Sphinx extension and linkcode_resolve get
confused and try to link to the documentation to the @contextlib.contextmanager
decorator, and then uses relpath... All this results in links differing
depending on the number of directory components in the absolute build path:

  
href="https://github.com/selectel/pyxs/tree/0.4.2-dev/pyxs/../../../../usr/lib/python3.8/contextlib.py#L25-L33

vs.

  
href="https://github.com/selectel/pyxs/tree/0.4.2-dev/pyxs/../../../../../usr/lib/python3.8/contextlib.py#L25-L33";

As these links are broken anyway, I've attached a patch that will simply
hide them if we know they will be wrong. I think the right fix would be
to resolve the location of the exact function "underneath" the decorator.

 [0] https://reproducible-builds.org/


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      [email protected] / chris-lamb.co.uk
       `-
--- a/docs/conf.py      2020-07-29 11:09:24.036630132 +0100
--- b/docs/conf.py      2020-07-29 11:45:54.186574021 +0100
@@ -119,6 +119,8 @@
         import pyxs
         fn = inspect.getsourcefile(obj)
         fn = os.path.relpath(fn, os.path.dirname(pyxs.__file__))
+        if fn.startswith(".."):
+            return None
         source, lineno = inspect.getsourcelines(obj)
         return fn, lineno, lineno + len(source) - 1
 

--- End Message ---
--- Begin Message ---
Source: python-pyxs
Source-Version: 0.4.2~git20190115.97f14313-3
Done: =?utf-8?b?TWFyYyBEZXF1w6huZXMgKER1Y2sp?= <[email protected]>

We believe that the bug you reported is fixed in the latest version of
python-pyxs, 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.
Marc Dequènes (Duck) <[email protected]> (supplier of updated python-pyxs 
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: Thu, 06 Aug 2020 00:32:33 +0200
Source: python-pyxs
Architecture: source
Version: 0.4.2~git20190115.97f14313-3
Distribution: unstable
Urgency: medium
Maintainer: Benjamin Hof <[email protected]>
Changed-By: Marc Dequènes (Duck) <[email protected]>
Closes: 966495
Changes:
 python-pyxs (0.4.2~git20190115.97f14313-3) unstable; urgency=medium
 .
   * Fix typo in Suggests.
   * Make python-pyxs-doc Multi-Arch: foreign.
   * Fix links in documentation. (Closes: #966495)
Checksums-Sha1:
 5b70c310838cff8f3b4fbd453b36162dc4b85e00 2190 
python-pyxs_0.4.2~git20190115.97f14313-3.dsc
 821e77c9c7d3d88b088bd522725f29197b628330 3352 
python-pyxs_0.4.2~git20190115.97f14313-3.debian.tar.xz
 8dd9582a9e04b2a2821bf8cbbf298e13d3e44c0d 7727 
python-pyxs_0.4.2~git20190115.97f14313-3_amd64.buildinfo
Checksums-Sha256:
 c0e5c9921635acb27c22b4000b99156d13a34162541a18145723f6f051df36f0 2190 
python-pyxs_0.4.2~git20190115.97f14313-3.dsc
 cc94cc449418a5a6f58ca85a2c664f6a6c027dc70c70fdeafcf741fdbe06d1d5 3352 
python-pyxs_0.4.2~git20190115.97f14313-3.debian.tar.xz
 e346dc121b1df13f3f226744da36ba8d55afb0fb4def3dbc8571b6ea08cfc3c1 7727 
python-pyxs_0.4.2~git20190115.97f14313-3_amd64.buildinfo
Files:
 5c48b3c5fbaf53aa5cce90b02341d62a 2190 python optional 
python-pyxs_0.4.2~git20190115.97f14313-3.dsc
 510e7ad406a8b09775de0990698f5340 3352 python optional 
python-pyxs_0.4.2~git20190115.97f14313-3.debian.tar.xz
 02720f21b0d81b8c4dfb1a940eb04480 7727 python optional 
python-pyxs_0.4.2~git20190115.97f14313-3_amd64.buildinfo

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

iQIzBAEBCgAdFiEEcpcqg+UmRT3yiF+BVen596wcRD8FAl8sKZIACgkQVen596wc
RD91gBAAmPN5EWm64BuD89ACokVGycrB8gyMrN71JDyoemILCeIQrlFc7GwQCNYG
q9jKPxg5jlthn4hT51b5IfaaePgqIFoUxATnR5EUasyLmE0dFr5/W3+B8QcBzSv7
DLIxAw01Js7ME+q8yduV1M9sLpZl3pyWHxcXyxUOyK107emP+l6M0T1WMEYHbbnp
dFM0VMTPmb74m6RBlnZXFPr1SBd3gNzQrKgHi8hdgnyVer36ameHR183LBCzc6fS
RGTwjLkQkzdsaljSH1lfT+X7kt3nvWdj7z9wabgDu4HubB1E55eYiFLloJX22Jix
YxjWkt6I2/eSkeUmAue9odHqrOs6cyHkRqve7vCmvbL80Z366mFpASaa/efVjflp
49Mwok7peB0//3XtAqTSOmgUDBX2M+dAMzt4Xup7/B3f5JsnWnPpJjQI8F6R00Vy
J9LCx18zlOL6wOBE/U3Qc6NgX2RDoFVUMmV7RC/D5vzoM2DCsfL+t4ft9csVKrhT
1UhYqby8AwnKsdLBWkYbVekAsF0KkcWKIAXBur7pCrclnMCYiuJwt19j+1glU23l
28ReuIZqk+brc7TVSjYbC+vQX6sFjmOGUr3sQaMcVlJg+dWGQYOhzFr1igYkw2c7
wqkmEDxEfHFrJR1vV035zJaTx7Zq+Fzu3oZdMtLaz82ShM0B2hE=
=YOw0
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to