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


Groups > linux.debian.bugs.dist > #1231525 > unrolled thread

Bug#1092554: Bug#1093476: glueviz: python3-qtconsole dropping dependency on PyQt5; Depends needs updating

Started byJulian Gilbey <jdg@debian.org>
First post2025-02-03 08:40 +0100
Last post2025-02-16 16:30 +0100
Articles 8 — 2 participants

Back to article view | Back to linux.debian.bugs.dist

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Bug#1092554: Bug#1093476: glueviz: python3-qtconsole dropping dependency on PyQt5; Depends needs updating Julian Gilbey <jdg@debian.org> - 2025-02-03 08:40 +0100
    Bug#1092554: Bug#1093476: glueviz: python3-qtconsole dropping dependency on PyQt5; Depends needs updating Julian Gilbey <jdg@debian.org> - 2025-02-03 10:40 +0100
      Bug#1083421: Bug#1093476: glueviz: python3-qtconsole dropping dependency on PyQt5; Depends needs updating Alexandre Detiste <alexandre.detiste@gmail.com> - 2025-02-03 10:50 +0100
        Bug#1083421: Bug#1093476: glueviz: python3-qtconsole dropping dependency on PyQt5; Depends needs updating Julian Gilbey <jdg@debian.org> - 2025-02-03 11:50 +0100
          Bug#1083421: Bug#1093476: glueviz: python3-qtconsole dropping dependency on PyQt5; Depends needs updating Julian Gilbey <jdg@debian.org> - 2025-02-04 06:40 +0100
            Bug#1083421: Bug#1093476: glueviz: python3-qtconsole dropping dependency on PyQt5; Depends needs updating Julian Gilbey <jdg@debian.org> - 2025-02-04 08:50 +0100
    Bug#1083421: Bug#1093476: glueviz: python3-qtconsole dropping dependency on PyQt5; Depends needs updating Julian Gilbey <jdg@debian.org> - 2025-02-04 07:30 +0100
      Bug#1083421: Bug#1093476: glueviz: python3-qtconsole dropping dependency on PyQt5; Depends needs updating Julian Gilbey <jdg@debian.org> - 2025-02-16 16:30 +0100

#1231525 — Bug#1092554: Bug#1093476: glueviz: python3-qtconsole dropping dependency on PyQt5; Depends needs updating

FromJulian Gilbey <jdg@debian.org>
Date2025-02-03 08:40 +0100
SubjectBug#1092554: Bug#1093476: glueviz: python3-qtconsole dropping dependency on PyQt5; Depends needs updating
Message-ID<KbZdM-e0QC-7@gated-at.bofh.it>
On Sun, Jan 19, 2025 at 07:57:17AM +0000, Julian Gilbey wrote:
> Package: glueviz
> Version: 1.17.1+dfsg-2
> Severity: important
> User: python3-qtconsole@packages.debian.org
> Usertags: drop-qt5
> [...]

I have just uploaded glueviz_1.17.1+dfsg-2.1_source.changes as an NMU
to DELAYED/7-day to fix the two bugs #1093476 and #1092554.  (I'm not
in the debian-astro-team, so won't be able to push my changes to
salsa.  Please can someone on the team either upload -3 including this
diff before my -2.1 hits unstable, or ensure that this gets
incorporated into the salsa repo!)

The tiny debdiff is below.

Best wishes,

   Julian


diff --git a/debian/changelog b/debian/changelog
index 262cd1b..d4927ae 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,12 @@
+glueviz (1.17.1+dfsg-2.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Add python3-pyqt5.qtsvg dependency (closes: #1093476)
+  * Add missing python3-qtpy dependency to python3-glue and remove from
+    glueviz (closes: #1092554)
+
+ -- Julian Gilbey <jdg@debian.org>  Mon, 03 Feb 2025 06:57:34 +0000
+
 glueviz (1.17.1+dfsg-2) unstable; urgency=medium
 
   * Team upload.
diff --git a/debian/control b/debian/control
index ea163fa..18543b6 100644
--- a/debian/control
+++ b/debian/control
@@ -41,6 +41,7 @@ Depends: ${python3:Depends},
          python3-h5py,
          python3-xlrd,
          python3-ipykernel,
+         python3-qtpy,
          python3-bottleneck,
          python3-echo
 Conflicts: glue-sprite
@@ -65,8 +66,8 @@ Depends: ${python3:Depends},
          ${misc:Depends},
          python3-glue (= ${binary:Version}),
          python3-pyqt5,
+         python3-pyqt5.qtsvg,
          python3-pandas,
-         python3-qtpy,
          ipython3,
          python3-qtconsole,
          python3-mpl-scatter-density

[toc] | [next] | [standalone]


#1231544

FromJulian Gilbey <jdg@debian.org>
Date2025-02-03 10:40 +0100
Message-ID<Kc15T-e2hD-1@gated-at.bofh.it>
In reply to#1231525
On Mon, Feb 03, 2025 at 09:51:11AM +0100, Ole Streicher wrote:
> Hi Julian,
> 
> I added you to the glueviz project on salsa; could I ask you to push your
> fixes there? I'd rather also see all three bugs in the same upload and would
> endorse you to do a team upload (or do a team upload myself if you'd prefer
> that) instead of an NMU.
> 
> Best
> 
> Ole

Hi Ole,

Thanks!  Sure, I can do that.

For #1083421, can someone who knows the package tell me what
debian/glue should actually point to?  I was very unclear from a quick
glance at the source code.

Best wishes,

   Julian

[toc] | [prev] | [next] | [standalone]


#1231545 — Bug#1083421: Bug#1093476: glueviz: python3-qtconsole dropping dependency on PyQt5; Depends needs updating

FromAlexandre Detiste <alexandre.detiste@gmail.com>
Date2025-02-03 10:50 +0100
SubjectBug#1083421: Bug#1093476: glueviz: python3-qtconsole dropping dependency on PyQt5; Depends needs updating
Message-ID<Kc1fz-e2nY-5@gated-at.bofh.it>
In reply to#1231544
Hi

> For #1083421, can someone who knows the package tell me what
> debian/glue should actually point to?  I was very unclear from a quick
> glance at the source code.

The quick and _dirty_ option would be to manually merge the changes
from a newer EASY-INSTALL-ENTRY-SCRIPT ... :-|
There are so many installed on every system to look at.

This would break again when 1.18.0 is packaged

$ ls -l $(grep EASY-INSTALL-ENTRY-SCRIPT /usr/bin/*  -l | head )
-rwxr-xr-x 1 root root 958 13 jan 22:16 /usr/bin/actdiag3
-rwxr-xr-x 1 root root 452  6 avr  2020 /usr/bin/apertium-streamparser
-rwxr-xr-x 1 root root 955 12 jan 18:17 /usr/bin/arcsign
-rwxr-xr-x 1 root root 959 12 jan 18:17 /usr/bin/arcverify
-rwxr-xr-x 1 root root 997 15 fév  2024 /usr/bin/argparse-manpage
-rwxr-xr-x 1 root root 941  1 aoû  2024 /usr/bin/ase
-rwxr-xr-x 1 root root 958  8 nov 13:56 /usr/bin/binwalk
-rwxr-xr-x 1 root root 967 28 jan 13:19 /usr/bin/biom
-rwxr-xr-x 1 root root 968 14 déc 14:05 /usr/bin/blockdiag3
-rwxr-xr-x 1 root root 961  7 jan 14:17 /usr/bin/borg
-rwxr-xr-x 1 root root 965  7 jan 14:17 /usr/bin/borgfs
-rwxr-xr-x 1 root root 956 25 nov 15:56 /usr/bin/bottle
-rwxr-xr-x 1 root root 975 28 jan  2024 /usr/bin/breathe-apidoc
-rwxr-xr-x 1 root root 965 24 nov 22:38 /usr/bin/cancompare
-rwxr-xr-x 1 root root 965 24 nov 22:38 /usr/bin/canconvert

Greetings

Le lun. 3 févr. 2025 à 10:32, Julian Gilbey <jdg@debian.org> a écrit :

> For #1083421, can someone who knows the package tell me what
> debian/glue should actually point to?  I was very unclear from a quick
> glance at the source code.
>
> Best wishes,
>
>    Julian

[toc] | [prev] | [next] | [standalone]


#1231558 — Bug#1083421: Bug#1093476: glueviz: python3-qtconsole dropping dependency on PyQt5; Depends needs updating

FromJulian Gilbey <jdg@debian.org>
Date2025-02-03 11:50 +0100
SubjectBug#1083421: Bug#1093476: glueviz: python3-qtconsole dropping dependency on PyQt5; Depends needs updating
Message-ID<Kc2bE-e369-3@gated-at.bofh.it>
In reply to#1231545
severity 1083421 serious
retitle 1083421 glueviz: glue command does not work
thanks

Hi Alexandre,

On Mon, Feb 03, 2025 at 10:41:31AM +0100, Alexandre Detiste wrote:
> Hi
> 
> > For #1083421, can someone who knows the package tell me what
> > debian/glue should actually point to?  I was very unclear from a quick
> > glance at the source code.
> 
> The quick and _dirty_ option would be to manually merge the changes
> from a newer EASY-INSTALL-ENTRY-SCRIPT ... :-|
> There are so many installed on every system to look at.

Unfortunately, that won't work :-(

The only solution is to delete /usr/bin/glue entirely, as 1.17 no
longer provides a gui front end.  Instead, there are two new packages:
glue-qt and glue-jupyter that provide front ends; see
https://pypi.org/project/glue-core/ So one or both of these will need
to be packaged.  (And my guess is that glue-qt will be *much* easier
to package than glue-jupyter.)

As a result of this internal change to glue_core, the glueviz binary
package needs to be replaced by (presumably) the glue-qt package.
Something like:

source: glueviz (= glue-core PyPI package)
 -> binary: python3-glue

source: glue-qt
 -> binary: glueviz

I don't have the capacity to do this work, I'm afraid.

Best wishes,

   Julian

[toc] | [prev] | [next] | [standalone]


#1231690 — Bug#1083421: Bug#1093476: glueviz: python3-qtconsole dropping dependency on PyQt5; Depends needs updating

FromJulian Gilbey <jdg@debian.org>
Date2025-02-04 06:40 +0100
SubjectBug#1083421: Bug#1093476: glueviz: python3-qtconsole dropping dependency on PyQt5; Depends needs updating
Message-ID<KcjPb-efXi-1@gated-at.bofh.it>
In reply to#1231558
And I thought some more about this...

On Mon, Feb 03, 2025 at 10:44:35AM +0000, Julian Gilbey wrote:
> severity 1083421 serious
> retitle 1083421 glueviz: glue command does not work
> thanks
> [...]
> 
> As a result of this internal change to glue_core, the glueviz binary
> package needs to be replaced by (presumably) the glue-qt package.
> Something like:
> 
> source: glueviz (= glue-core PyPI package)
>  -> binary: python3-glue
> 
> source: glue-qt
>  -> binary: glueviz

It would make *much* more sense to rename the source and binary
packages here, to have the structure:

source: python-glue-core
binary: python3-glue-core
breaks/replaces: python3-glue (and possibly also glueviz (<< ...),
  depending on where the support files end up)

source: python-glue-gt
binary: python3-glue-gt
provides: glueviz
breaks/replaces: glueviz (<< ...)

That way, there is also space to have the following if it is wanted at
some point:

source: python-glue-jupyter
binary: python3-glue-jupyter
provides: glueviz-jupyter

Best wishes,

   Julian

[toc] | [prev] | [next] | [standalone]


#1231702 — Bug#1083421: Bug#1093476: glueviz: python3-qtconsole dropping dependency on PyQt5; Depends needs updating

FromJulian Gilbey <jdg@debian.org>
Date2025-02-04 08:50 +0100
SubjectBug#1083421: Bug#1093476: glueviz: python3-qtconsole dropping dependency on PyQt5; Depends needs updating
Message-ID<KclQZ-ehfB-1@gated-at.bofh.it>
In reply to#1231690
On Tue, Feb 04, 2025 at 05:35:29AM +0000, Julian Gilbey wrote:
> And I thought some more about this...
> [...]
> 
> source: python-glue-core
> binary: python3-glue-core
> breaks/replaces: python3-glue (and possibly also glueviz (<< ...),
>   depending on where the support files end up)

Hmm, as the package is called "glue_core" but it provides a module
called "glue" (as in: "import glue"; I wish packages wouldn't do
this!), perhaps it would be better to keep the current name and have:

source: python-glue-core or python-glue (not sure which is better)
binary: python3-glue
provides: python3-glue-core
breaks/replaces: possibly glueviz (<< ...), depending on where the
  support files end up)

> source: python-glue-gt
> binary: python3-glue-gt
> provides: glueviz
> breaks/replaces: glueviz (<< ...)

And for this one, we could keep the same source name as at present, to
make less work for everyone:

source: glueviz
binary: glueviz
provides: python3-glue-gt

and then later, if wanted, there's the possibility of a
jupyter-based package; if it turns out that it provides the command
"jupyter glue" (I haven't checked), then calling the package
"jupyter-glue" with a virtual name of "glueviz-jupyter" or vice versa
might make sense.

On salsa, we could rename the glueviz.git repository as
python-glue.git or python-glue-core.git and create a fresh glueviz.git
repository for the glue-gt frontend; it might otherwise be confusing.
An alternative is to keep glueviz.git for the glue-core Python package
and create a new repo called glue-gt.git or glueviz-gt.git for the
frontend.

Best wishes,

   Julian

[toc] | [prev] | [next] | [standalone]


#1231693 — Bug#1083421: Bug#1093476: glueviz: python3-qtconsole dropping dependency on PyQt5; Depends needs updating

FromJulian Gilbey <jdg@debian.org>
Date2025-02-04 07:30 +0100
SubjectBug#1083421: Bug#1093476: glueviz: python3-qtconsole dropping dependency on PyQt5; Depends needs updating
Message-ID<KckBz-egt2-1@gated-at.bofh.it>
In reply to#1231525
On Mon, Feb 03, 2025 at 07:22:39AM +0000, Julian Gilbey wrote:
> On Sun, Jan 19, 2025 at 07:57:17AM +0000, Julian Gilbey wrote:
> > Package: glueviz
> > Version: 1.17.1+dfsg-2
> > Severity: important
> > User: python3-qtconsole@packages.debian.org
> > Usertags: drop-qt5
> > [...]
> 
> I have just uploaded glueviz_1.17.1+dfsg-2.1_source.changes as an NMU
> to DELAYED/7-day to fix the two bugs #1093476 and #1092554.  (I'm not
> in the debian-astro-team, so won't be able to push my changes to
> salsa.  Please can someone on the team either upload -3 including this
> diff before my -2.1 hits unstable, or ensure that this gets
> incorporated into the salsa repo!)

I've thought some more about this one, too.

The current version of glueviz has dropped its dependency on
qtconsole.  In combination with #1083421, this means that my patch is
pointless.  The following should happen instead:

python3-glue(-core) - this should drop its dependency on
python3-qtconsole completely.  It also only depends on Qt via the
python3-qtpy interface, so it should drop all pyqt5 dependencies.
(But it should certainly depend on qtpy; this is imported in
glue/plugins/dendro_viewer/layer_style_editor.py and
glue/plugins/tools/python_export.py, even though it is not listed in
the install_requires section of setup.cfg.)

The new glueviz (=glue-qt): this should depend on a Qt package; it
might well be possible to switch to PyQt6 at this point - definitely
worth trying as PyQt5 is end-of-life.

I've just cancelled the NMU, as it is now clear that it doesn't work.

Seems like I am still thinking about this package quite a lot ;-)

Best wishes,

   Julian

[toc] | [prev] | [next] | [standalone]


#1233431 — Bug#1083421: Bug#1093476: glueviz: python3-qtconsole dropping dependency on PyQt5; Depends needs updating

FromJulian Gilbey <jdg@debian.org>
Date2025-02-16 16:30 +0100
SubjectBug#1083421: Bug#1093476: glueviz: python3-qtconsole dropping dependency on PyQt5; Depends needs updating
Message-ID<KgOKJ-hgdT-9@gated-at.bofh.it>
In reply to#1231693
On Tue, Feb 04, 2025 at 06:17:58AM +0000, Julian Gilbey wrote:
> [...]
> The new glueviz (=glue-qt): this should depend on a Qt package; it
> might well be possible to switch to PyQt6 at this point - definitely
> worth trying as PyQt5 is end-of-life.
> 
> I've just cancelled the NMU, as it is now clear that it doesn't work.
> [...]

FYI: I've just uploaded python-qtconsole 5.6.1-4 to unstable, so when
the new glueviz (=glue-qt) is uploaded, it will need to depend on the
correct pyqt5 libraries as described in this report.

Best wishes,

   Julian

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.bugs.dist


csiph-web