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


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

Bug#1093278: paraview needs a stricter python dependency

From Adrian Bunk <bunk@debian.org>
Newsgroups linux.debian.bugs.dist, linux.debian.maint.python
Subject Bug#1093278: paraview needs a stricter python dependency
Date 2025-01-22 23:00 +0100
Message-ID <K7QVs-b0HU-9@gated-at.bofh.it> (permalink)
References (1 earlier) <K5Z6N-9Hqv-1@gated-at.bofh.it> <K6DQB-abVO-1@gated-at.bofh.it> <K6Etk-acoe-13@gated-at.bofh.it> <K5RVD-9Bg8-9@gated-at.bofh.it> <K6Etk-acoe-13@gated-at.bofh.it>
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | View raw


On Sun, Jan 19, 2025 at 03:23:50PM +0100, Drew Parsons wrote:
> On 2025-01-19 14:44, Colin Watson wrote:
> > 
> > You can achieve that with:
> >  PY3VERS=$(PY3DEF)
> > +PY3RANGE=$(shell echo $(PY3DEF) | awk 'BEGIN { FS="." }; { print $$1
> > "." $$2 "-" $$1 "." $$2 + 1 }')
> > 
> > +	dh_python3 -V $(PY3RANGE) --no-ext-rename # Hack: Do not rename
> > libraries from e.g. vtkClientServerPython.so to
> > vtkClientServerPython.cpython-38-x86_64-linux-gnu.so!
> 
> 
> Thanks Colin, that should work.
> I'll apply your's and Adrian's recommendation to use the range
> (versioned python3 not specific python3.Y)
> 
> The test script could be hacked to use the "required" specific version,
> but I think that wouldn't help anyway to get paraview on the binNMU list for
> python3 upgrades.
> The ranged version will do it.

FTR, I would not consider the *test* to be the problem,
rather as an indication of an actual problem.

Without the strict dependency, ParaView built against 3.12 might still 
have been in testing when the 3.13 default migrates.

Without the strict dependency, ParaView built against 3.13 might migrate
to testing before the 3.13 default migrates.

Both cases would likely have caused issues for some users.

> Drew

cu
Adrian

Back to linux.debian.maint.python | Previous | NextPrevious in thread | Find similar


Thread

Bug#1093278: paraview needs a stricter python dependency Adrian Bunk <bunk@debian.org> - 2025-01-17 11:40 +0100
  Bug#1093278: paraview needs a stricter python dependency Colin Watson <cjwatson@debian.org> - 2025-01-19 14:50 +0100
  Bug#1093278: paraview needs a stricter python dependency Adrian Bunk <bunk@debian.org> - 2025-01-22 23:00 +0100

csiph-web