Bug#1068349: nbsphinx/nbconvert broken by lxml 5.2: lxml.html.clean

2024-05-30 Thread Paul Gevers

Hi,

On Sun, 19 May 2024 16:25:01 +0100 "Rebecca N. Palmer" 
 wrote:
Filing a bug against two packages means that it could be fixed in 
*either* of them, *not* that it requires changes to both of them. 
Hence, it is correct that this bug was closed.


While I recall it's documented like this, this is not how the BTS 
reports this bug to the outside world and the migration software is 
still informed that this bug affects src:lxml with its version in 
unstable and hence blocks migration.


Are you saying that if lxml migrates to testing, everything is fine? 
Than the easiest thing to do is to assign this bug to the package that 
fixed it.


Paul


OpenPGP_signature.asc
Description: OpenPGP digital signature


Bug#1068349: nbsphinx/nbconvert broken by lxml 5.2: lxml.html.clean

2024-05-07 Thread Vincent Lefevre
Control: reopen -1

On 2024-05-07 11:25:05 +0200, Vincent Lefevre wrote:
> What's the status of this bug?
> 
> apt-listbugs still reports python3-lxml as buggy:
> 
> serious bugs of python3-lxml (5.1.0-1 → 5.2.1-1) 
>  b1 - #1068349 - nbsphinx/nbconvert broken by lxml 5.2: lxml.html.clean 
> (Fixed: nbconvert/6.5.3-5)
> Summary:
>  python3-lxml(1 bug)
> 
> Indeed, https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1068349
> says: "Found in versions nbconvert/6.5.3-4, lxml/5.2.1-1".
> 
> So python3-lxml 5.2.1-1 is regarded as buggy.

And this bug prevents the migration to testing:

https://tracker.debian.org/pkg/lxml

testing migrations
[...]
Issues preventing migration:
∙ ∙ Updating lxml would introduce bugs in testing: #1068349

It seems that this bug (assigned to 2 different packages) has been
closed by mistake, due to the fix of nbconvert:

Format: 1.8
Date: Sun, 14 Apr 2024 16:52:34 +0100
Source: nbconvert
Architecture: source
Version: 6.5.3-5
[...]
Closes: 1042699 1068349
[...]
   * (Build-)depend on python3-lxml-html-clean (closes: #1068349).

But this is inconsistent with the fact that lxml is still marked as
unfixed. So, reopening.

-- 
Vincent Lefèvre  - Web: 
100% accessible validated (X)HTML - Blog: 
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)



Bug#1068349: nbsphinx/nbconvert broken by lxml 5.2: lxml.html.clean

2024-05-07 Thread Vincent Lefevre
On 2024-04-07 22:06:05 +0100, Rebecca N. Palmer wrote:
> To avoid being blocked by this bug, the pandas version I just uploaded
> temporarily disables the documentation.
> 
> This is also an option for any other affected packages that urgently need to
> be uploaded.  (I don't know whether the other two listed Blocks/Affects are
> that urgent.)

What's the status of this bug?

apt-listbugs still reports python3-lxml as buggy:

serious bugs of python3-lxml (5.1.0-1 → 5.2.1-1) 
 b1 - #1068349 - nbsphinx/nbconvert broken by lxml 5.2: lxml.html.clean (Fixed: 
nbconvert/6.5.3-5)
Summary:
 python3-lxml(1 bug)

Indeed, https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1068349
says: "Found in versions nbconvert/6.5.3-4, lxml/5.2.1-1".

So python3-lxml 5.2.1-1 is regarded as buggy.

-- 
Vincent Lefèvre  - Web: 
100% accessible validated (X)HTML - Blog: 
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)



Bug#1068349: nbsphinx/nbconvert broken by lxml 5.2: lxml.html.clean

2024-04-07 Thread Rebecca N. Palmer

Control: unblock 1068104 by -1
Control: unblock 1068104 by 1068422

To avoid being blocked by this bug, the pandas version I just uploaded 
temporarily disables the documentation.


This is also an option for any other affected packages that urgently 
need to be uploaded.  (I don't know whether the other two listed 
Blocks/Affects are that urgent.)




Bug#1068349: nbsphinx/nbconvert broken by lxml 5.2: lxml.html.clean

2024-04-04 Thread Rebecca N. Palmer

Control: tags -1 patch
Control: severity -1 serious
(probably makes nbconvert/nbsphinx unusable)


xml-html-clean is in 
NEWhttps://ftp-master.debian.org/new/lxml-html-clean_0.1.0-1.html


Thanks - that and adding it to the Depends of python3-nbconvert should 
fix this bug.


From codesearch, other packages that may need such a Depends are 
html-text, extruct, python-html-sanitizer, napari, readability, calibre, 
python-webob.




Bug#1068349: nbsphinx/nbconvert broken by lxml 5.2: lxml.html.clean

2024-04-03 Thread Matthias Klose

On 04.04.24 00:09, Rebecca N. Palmer wrote:

Package: python3-nbconvert,python3-lxml
Version: 6.5.3-4,5.2.0-1
Control: affects -1 src:pandas
Control: affects -1 python3-nbsphinx
Control: block 1068104 by -1

The pandas documentation fails to build in current unstable with:

Running Sphinx v7.2.6
nbconvert not installed. Skipping notebooks.
Extension error:
Could not import extension nbsphinx (exception: lxml.html.clean module 
is now a separate project lxml_html_clean.

Install lxml[html_clean] or lxml_html_clean directly.)

Full log: https://salsa.debian.org/science-team/pandas/-/jobs/5538806

This probably makes nbconvert and nbsphinx fail to import at all, and 
started when lxml was upgraded to 5.2, but I haven't actually tested 
either of those:

https://sources.debian.org/src/nbconvert/6.5.3-4/nbconvert/exporters/templateexporter.py/?hl=25#L25
https://sources.debian.org/src/lxml/5.2.0-1/PKG-INFO/?hl=83#L83

The obvious fix would be to package lxml_html_clean.


xml-html-clean is in NEW



Bug#1068349: nbsphinx/nbconvert broken by lxml 5.2: lxml.html.clean

2024-04-03 Thread Rebecca N. Palmer

Package: python3-nbconvert,python3-lxml
Version: 6.5.3-4,5.2.0-1
Control: affects -1 src:pandas
Control: affects -1 python3-nbsphinx
Control: block 1068104 by -1

The pandas documentation fails to build in current unstable with:

Running Sphinx v7.2.6
nbconvert not installed. Skipping notebooks.
Extension error:
Could not import extension nbsphinx (exception: lxml.html.clean module 
is now a separate project lxml_html_clean.

Install lxml[html_clean] or lxml_html_clean directly.)

Full log: https://salsa.debian.org/science-team/pandas/-/jobs/5538806

This probably makes nbconvert and nbsphinx fail to import at all, and 
started when lxml was upgraded to 5.2, but I haven't actually tested 
either of those:

https://sources.debian.org/src/nbconvert/6.5.3-4/nbconvert/exporters/templateexporter.py/?hl=25#L25
https://sources.debian.org/src/lxml/5.2.0-1/PKG-INFO/?hl=83#L83

The obvious fix would be to package lxml_html_clean.