-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

- --=-=-=
Content-Transfer-Encoding: quoted-printable

tags 584380 patch
thanks

I was also able to reproduce this in a clean sid chroot (and with
pbuilder).

The first attached one line patch allows it to build for me, and fixes
several other issues in the HTML documentation cross-references. The
version of python-sphinx in the archive (outside experimental) right now
is old, and isn't understanding the "Sphinx inventory version 2" now
being used at http://docs.python.org/dev/objects.inv. So in addition to
the build failure, none of the cross references meant to point to
docs.python.org were working.

The patch switches the intersphinx mapping to
http://docs.python.org/objects.inv, which is still "Sphinx inventory
version 1", which works with our version of python-sphinx. I don't see
any downside for python-gevent in pointing to the released docs instead
of the dev docs.

However, the build still fails if there is no internet access, which
doesn't seem good. In that case, it can't find the cross-reference
target in the Python docs, and so it looks in its own local code, which
fails because:

"stripped_aliasname =3D i_aliasname[len(docname):]"=20

does not return the expected result for the gevent.select.select section
of gevent.util.rst (and maybe for other sections/files as well), which
causes the subsequent assertion to fail.

I tried to fix the logic, but wasn't able to in a reasonable amount of
time. I suggest just removing the "assert" statement -- it does not make
sense that the entire build should fail just because some documentation
cross-references could not be completed accurately. Bugs can be filed
about the specific wrong/missing cross-references as they are
encountered. Missing references are definitely not RC bugs.

The second one-line patch removes the assertion, so the package builds
even with no internet connection, and I think this bug can be closed.


- --=-=-=
Content-Type: application/octet-stream
Content-Disposition: attachment; filename=py-intersphinx-mapping-fix
Content-Transfer-Encoding: base64
Content-Description: Patch

LS0tIHB5dGhvbi1nZXZlbnQtMC4xMi4yL2RvYy9jb25mLnB5CTIwMTAtMDktMDUgMTQ6NTE6MTMu
MDAwMDAwMDAwIC0wNzAwCisrKyBteS1weXRob24tZ2V2ZW50LTAuMTIuMi9kb2MvY29uZi5weQky
MDEwLTA5LTA1IDE0OjQ1OjE5LjAwMDAwMDAwMCAtMDcwMApAQCAtMzUsNyArMzUsNyBAQAogIyBj
b21pbmcgd2l0aCBTcGhpbnggKG5hbWVkICdzcGhpbnguZXh0LionKSBvciB5b3VyIGN1c3RvbSBv
bmVzLgogZXh0ZW5zaW9ucyA9IFsnc3BoaW54LmV4dC5hdXRvZG9jJywgJ3NwaGlueC5leHQuZG9j
dGVzdCcsICdzcGhpbnguZXh0LmNvdmVyYWdlJywgJ3NwaGlueC5leHQuaW50ZXJzcGhpbngnLCAn
bXlzcGhpbnhleHQnXQogCi1pbnRlcnNwaGlueF9tYXBwaW5nID0geydodHRwOi8vZG9jcy5weXRo
b24ub3JnL2Rldic6IE5vbmV9CitpbnRlcnNwaGlueF9tYXBwaW5nID0geydodHRwOi8vZG9jcy5w
eXRob24ub3JnLyc6IE5vbmV9CiAKICMgQWRkIGFueSBwYXRocyB0aGF0IGNvbnRhaW4gdGVtcGxh
dGVzIGhlcmUsIHJlbGF0aXZlIHRvIHRoaXMgZGlyZWN0b3J5LgogdGVtcGxhdGVzX3BhdGggPSBb
J190ZW1wbGF0ZXMnXQo=
- --=-=-=
Content-Type: application/octet-stream
Content-Disposition: attachment; filename=remove-assert
Content-Transfer-Encoding: base64
Content-Description: Patch 2

LS0tIHB5dGhvbi1nZXZlbnQtMC4xMi4yL2RvYy9teXNwaGlueGV4dC5weQkyMDEwLTA0LTA0IDA5
OjQ3OjEzLjAwMDAwMDAwMCAtMDcwMAorKysgbXktcHl0aG9uLWdldmVudC0wLjEyLjIvZG9jL215
c3BoaW54ZXh0LnB5CTIwMTAtMDktMDUgMTc6NTA6MzQuMDAwMDAwMDAwIC0wNzAwCkBAIC00OSw3
ICs0OSw2IEBACiAgICAgICAgICAgICBpZiBpX2FsaWFzbmFtZS5lbmRzd2l0aCh0YXJnZXQpOgog
ICAgICAgICAgICAgICAgIHN0cmlwcGVkX2FsaWFzbmFtZSA9IGlfYWxpYXNuYW1lW2xlbihkb2Nu
YW1lKTpdCiAgICAgICAgICAgICAgICAgaWYgc3RyaXBwZWRfYWxpYXNuYW1lOgotICAgICAgICAg
ICAgICAgICAgICBhc3NlcnQgc3RyaXBwZWRfYWxpYXNuYW1lWzBdID09ICcuJywgcmVwcihzdHJp
cHBlZF9hbGlhc25hbWUpCiAgICAgICAgICAgICAgICAgICAgIHN0cmlwcGVkX2FsaWFzbmFtZSA9
IHN0cmlwcGVkX2FsaWFzbmFtZVsxOl0KICAgICAgICAgICAgICAgICAgICAgaWYgc3RyaXBwZWRf
YWxpYXNuYW1lID09IHRhcmdldDoKICAgICAgICAgICAgICAgICAgICAgICAgIGlmIG5vaXN5ID49
IDE6Cg==
- --=-=-=
Content-Transfer-Encoding: quoted-printable


=2D-=20
=2DJohn Sullivan
=2Dhttp://wjsullivan.net


- --=-=-=--
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iQIcBAEBCAAGBQJMhD4SAAoJEJe6nOdhoJY7uVwP/i7/C/OKbIQAdn/Ic8y3poCr
m5C5ILAtBbp3jkZ9dy6+mxdX4RPM2HWPPaNDc/mFHMjqgw1Q744l/QP+wVFsdPjZ
5eGif8dNnWJZf0FObqcGnpdrYNrK2ylS+qVAKG7WNNnwkIhLPMOhNUfzHuO0yTi8
XLPb514xQvu7XsAOgx4nrKi8IoDQw5wYd8AAKpTSXs+vdB0skLXcgP+7CBcBmAFR
W38TEgNNe1pcs7ScU+VUamnWIUzetSWXpheZxE5ry9MxcohTR/Q4LAOU0ViTBMZy
DeFGlg1eEUMUc2wMk0oBnkvUePhAbbPmXGE/hwTGC/iMVUMpW+lm5+rkesK+zqBu
cnamWkXIhghOlQ6H37sWvTAV3rdN8UnqkpgbgjmBlqebtNcyTUJWs7RbcjyO/390
jHetvWzEY9dv3u2yRdHkZ4oZTcCRmPjMYC9Vwyk3fZuLjykLc7JXwPUApJ4323FQ
0kLN7NzjR4jj/PLbFzcjKhY1nUGXHbLwJY+oFVCQlKq8H5/mXepZyayvbX9HIf0M
BHg+IdDu8YmpBQ6gm2woNIwjkE7+xLp37r0I4ELJSBDaCk7wpIFIf2eTKq6I+L4+
e7HCWduv7J3LIjbbwRdF0JFzuK0L29FHcCz/ElIudxjEVuE9sfug7ah71O54qG0E
xA/+bnr+roJaEtKtRYGC
=1fdZ
-----END PGP SIGNATURE-----



-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to