Bug#998109: python3-numpy: numpy.typing is missing

2021-11-05 Thread Drew Parsons

On 2021-11-05 06:10, Sandro Tosi wrote:
On Wed, Nov 3, 2021 at 7:16 PM Drew Parsons  
wrote:

...

Just add
   usr/lib/python3*/*-packages/numpy/typing/
to debian/python3-numpy.install.


i've uploaded this to experimental



Thanks Sandro, works well.  I've uploaded npx to NEW now.



The bigger question here is why are the subdirs listed separately?
Is it in order to handle the dbg libraries (python3-numpy-dbg.install) 
?
Since python3-dbg is now deprecated (Bug#994316), do we want to 
simplify

the package by replacing all the subdirs in python3-numpy.install with
just
   usr/lib/python3*/*-packages/numpy/

That would keep this bug from happening again with other new features 
in

the future.


that's a fair point, and i cant recall why it's setup that way. I'll
keep a note to review when we're ready to drop the -dbg package (there
are still a handful of rdeps)


Sounds good!



Bug#998109: python3-numpy: numpy.typing is missing

2021-11-04 Thread Sandro Tosi
On Wed, Nov 3, 2021 at 7:16 PM Drew Parsons  wrote:
>
> On 2021-11-02 17:40, Sandro Tosi wrote:
> >
> > sorry but that's not how RC severity works, that's for policy
> > violations, which in this case there are none.
> >
> > I understand you may want to see this fixed sooner rather than later,
> > so maybe you can submit an MR against the numpy salsa repo to fix
> > this? i'll then review, merge and upload as needed.
>
>
> It's a trivial patch, isn't it?
> Just add
>usr/lib/python3*/*-packages/numpy/typing/
> to debian/python3-numpy.install.

i've uploaded this to experimental

> The bigger question here is why are the subdirs listed separately?
> Is it in order to handle the dbg libraries (python3-numpy-dbg.install) ?
> Since python3-dbg is now deprecated (Bug#994316), do we want to simplify
> the package by replacing all the subdirs in python3-numpy.install with
> just
>usr/lib/python3*/*-packages/numpy/
>
> That would keep this bug from happening again with other new features in
> the future.

that's a fair point, and i cant recall why it's setup that way. I'll
keep a note to review when we're ready to drop the -dbg package (there
are still a handful of rdeps)

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



Bug#998109: python3-numpy: numpy.typing is missing

2021-11-03 Thread Drew Parsons

On 2021-11-02 17:40, Sandro Tosi wrote:


sorry but that's not how RC severity works, that's for policy
violations, which in this case there are none.

I understand you may want to see this fixed sooner rather than later,
so maybe you can submit an MR against the numpy salsa repo to fix
this? i'll then review, merge and upload as needed.



It's a trivial patch, isn't it?
Just add
  usr/lib/python3*/*-packages/numpy/typing/
to debian/python3-numpy.install.

No need for an MR, I can patch it directly if needed.

The bigger question here is why are the subdirs listed separately?
Is it in order to handle the dbg libraries (python3-numpy-dbg.install) ?
Since python3-dbg is now deprecated (Bug#994316), do we want to simplify 
the package by replacing all the subdirs in python3-numpy.install with 
just

  usr/lib/python3*/*-packages/numpy/

That would keep this bug from happening again with other new features in 
the future.



Drew



Bug#998109: python3-numpy: numpy.typing is missing

2021-11-02 Thread Sandro Tosi
control: severity -1 important

> This bug is blocking other python packages which require numpy 1.20,
> (and use numpy.typing) so raising severity to serious.

sorry but that's not how RC severity works, that's for policy
violations, which in this case there are none.

I understand you may want to see this fixed sooner rather than later,
so maybe you can submit an MR against the numpy salsa repo to fix
this? i'll then review, merge and upload as needed.

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



Bug#998109: python3-numpy: numpy.typing is missing

2021-11-02 Thread Drew Parsons
Source: numpy
Followup-For: Bug #998109
Control: severity -1 serious
Control: affects -1 src:pygmsh src:python-meshplex

This bug is blocking other python packages which require numpy 1.20,
(and use numpy.typing) so raising severity to serious.



Bug#998109: python3-numpy: numpy.typing is missing

2021-10-30 Thread Drew Parsons
Package: python3-numpy
Version: 1:1.21.2-2
Severity: important

python3-numpy is missing numpy.typing

I gather numpy.typing was added in numpy 1.20.  Some packages have
already started using it, e.g. npx.


-- System Information:
Debian Release: bookworm/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.14.0-3-amd64 (SMP w/8 CPU threads)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages python3-numpy depends on:
ii  libatlas3-base [liblapack.so.3]3.10.3-11
ii  libblas3 [libblas.so.3]3.10.0-1
ii  libblis3-openmp [libblas.so.3] 0.8.1-2
ii  libblis3-pthread [libblas.so.3]0.8.1-2
ii  libc6  2.32-4
ii  liblapack3 [liblapack.so.3]3.10.0-1
ii  libopenblas0-openmp [liblapack.so.3]   0.3.18+ds-2
ii  libopenblas0-pthread [liblapack.so.3]  0.3.18+ds-2
ii  python33.9.2-3
ii  python3-pkg-resources  58.2.0-1
ii  python3.9  3.9.7-4

python3-numpy recommends no packages.

Versions of packages python3-numpy suggests:
ii  gcc4:11.2.0-2
ii  gfortran   4:11.2.0-2
ii  python-numpy-doc   1:1.19.5-1
ii  python3-dev3.9.2-3
pn  python3-numpy-dbg  
ii  python3-pytest 6.2.5-1

-- no debconf information