Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.python > #13586

Re: Potential issue with numpy

Path csiph.com!newsfeed.xs4all.nl!newsfeed8.news.xs4all.nl!bofh.it!news.nic.it!robomod
From Sandro Tosi <morph@debian.org>
Newsgroups linux.debian.maint.python
Subject Re: Potential issue with numpy
Date Wed, 29 Sep 2021 17:30:02 +0200
Message-ID <D2JGW-3Vz-1@gated-at.bofh.it> (permalink)
References <D2IUy-3pG-13@gated-at.bofh.it>
X-Mailbox-Line From debian-python-request@lists.debian.org Wed Sep 29 15:28:09 2021
Old-Return-Path <sandro.tosi@gmail.com>
X-Amavis-Spam-Status No, score=-6.482 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, LDO_WHITELIST=-5, MURPHY_DRUGS_REL8=0.02, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001] autolearn=ham autolearn_force=no
X-Policyd-Weight NOT_IN_SBL_XBL_SPAMHAUS=-1.5 CL_IP_EQ_HELO_IP=-2 (check from: .gmail. - helo: .mail-yb1-f173.google. - helo-domain: .google.) FROM/MX_MATCHES_HELO(DOMAIN)=-2; rate: -5.5
X-Gm-Message-State AOAM531sxQoLz4QGGIrRPXXUPvRJlXr8gFfytWeaVHgfWNdaO10KsudR a7zS6p5xNV6w/ZwoECC3LkBHMVIB0fV6wGplFeQ=
X-Google-SMTP-Source ABdhPJy765s9WA7l+gkuZxBKfER1H3hYhREAiTQ9xqqV93a5CQiWg1+l9xQedX0DWffh9CJ8BUkuVjvuRflvrAMDRGA=
X-Received by 2002:a25:dc87:: with SMTP id y129mr416617ybe.539.1632929269367; Wed, 29 Sep 2021 08:27:49 -0700 (PDT)
MIME-Version 1.0
Content-Type text/plain; charset="UTF-8"
X-Mailing-List <debian-python@lists.debian.org> archive/latest/19382
List-ID <debian-python.lists.debian.org>
List-URL <https://lists.debian.org/debian-python/>
List-Archive https://lists.debian.org/msgid-search/CAB4XWXyYWeXUYCfWj5qLGxpQn05KA+QepSovcAbSmvZ-j1SXHw@mail.gmail.com
Approved robomod@news.nic.it
Lines 67
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Cc Debian Python <debian-python@lists.debian.org>, Yaroslav Halchenko <debian@onerussian.com>
X-Original-Date Wed, 29 Sep 2021 11:27:23 -0400
X-Original-Message-ID <CAB4XWXyYWeXUYCfWj5qLGxpQn05KA+QepSovcAbSmvZ-j1SXHw@mail.gmail.com>
X-Original-References <20210929143234.GA29524@an3as.eu>
Xref csiph.com linux.debian.maint.python:13586

Show key headers only | View raw


Please do report bugs in the BTS when there's a problem with a package

On Wed, Sep 29, 2021 at 10:32 AM Andreas Tille <andreas@an3as.eu> wrote:
>
> Hi,
>
> in the issue I filed against nipype I was asked to try to rebuild numpy
> and see whether this might make a diffence.  So I tried
>
>   dget http://deb.debian.org/debian/pool/main/n/numpy/numpy_1.19.5-1.dsc
>   cd numpy-1.19.5
>
> and have rebuild it in a recent pbuilder environment.  This ends up in
>
> DISTUTILS.rst.txt:386: WARNING: Unparseable C cross-reference: '/**end repeat1**/'
> Invalid C declaration: Expected identifier in nested name. [error at 0]
>   /**end repeat1**/
>   ^
>
> Traceback (most recent call last):
>   File "/usr/lib/python3/dist-packages/sphinx/cmd/build.py", line 280, in build_main
>     app.build(args.force_all, filenames)
>   File "/usr/lib/python3/dist-packages/sphinx/application.py", line 337, in build
>     self.builder.build_update()
>   File "/usr/lib/python3/dist-packages/sphinx/builders/__init__.py", line 293, in build_update
>     self.build(to_build,
>   File "/usr/lib/python3/dist-packages/sphinx/builders/__init__.py", line 357, in build
>     self.write(docnames, list(updated_docnames), method)
>   File "/usr/lib/python3/dist-packages/sphinx/builders/__init__.py", line 531, in write
>     self._write_serial(sorted(docnames))
>   File "/usr/lib/python3/dist-packages/sphinx/builders/__init__.py", line 541, in _write_serial
>     self.write_doc(docname, doctree)
>   File "/usr/lib/python3/dist-packages/sphinx/builders/html/__init__.py", line 626, in write_doc
>     self.docwriter.write(doctree, destination)
>   File "/usr/lib/python3/dist-packages/docutils/writers/__init__.py", line 78, in write
>     self.translate()
>   File "/usr/lib/python3/dist-packages/sphinx/writers/html.py", line 70, in translate
>     self.document.walkabout(visitor)
>   File "/usr/lib/python3/dist-packages/docutils/nodes.py", line 214, in walkabout
>     if child.walkabout(visitor):
>   File "/usr/lib/python3/dist-packages/docutils/nodes.py", line 214, in walkabout
>     if child.walkabout(visitor):
>   File "/usr/lib/python3/dist-packages/docutils/nodes.py", line 214, in walkabout
>     if child.walkabout(visitor):
>   [Previous line repeated 1 more time]
>   File "/usr/lib/python3/dist-packages/docutils/nodes.py", line 206, in walkabout
>     visitor.dispatch_visit(self)
>   File "/usr/lib/python3/dist-packages/sphinx/util/docutils.py", line 477, in dispatch_visit
>     method(node)
>   File "/usr/lib/python3/dist-packages/sphinx/writers/html5.py", line 417, in visit_literal_block
>     highlighted = self.highlighter.highlight_block(
>   File "/usr/lib/python3/dist-packages/sphinx/highlighting.py", line 149, in highlight_block
>     lexer = self.get_lexer(source, lang, opts, force, location)
>   File "/usr/lib/python3/dist-packages/sphinx/highlighting.py", line 127, in get_lexer
>     lexer = lexer_classes[lang](**opts)
> TypeError: 'NumPyLexer' object is not callable

there's a new sphinx version in unstable (4.2.0), likely other pieces
of the infrastructure around numpy and its doc need updating. The fact
we dont have access to the build log makes it hard to pin point the
issue.

-- 
Sandro "morph" Tosi
My website: http://sandrotosi.me/
Me at Debian: http://wiki.debian.org/SandroTosi
Twitter: https://twitter.com/sandrotosi

Back to linux.debian.maint.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Potential issue with numpy Andreas Tille <andreas@an3as.eu> - 2021-09-29 16:40 +0200
  Re: Potential issue with numpy Sandro Tosi <morph@debian.org> - 2021-09-29 17:30 +0200
    Re: Potential issue with numpy Andreas Tille <tille@debian.org> - 2021-09-29 18:00 +0200

csiph-web