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


Groups > linux.debian.bugs.dist > #1130670

Bug#1027173: dh-python: dh_python3 no longer generates correct package dependencies

From Stefano Rivera <stefanor@debian.org>
Newsgroups linux.debian.bugs.dist
Subject Bug#1027173: dh-python: dh_python3 no longer generates correct package dependencies
Date 2022-12-29 17:40 +0100
Message-ID <FI46J-e8Cj-5@gated-at.bofh.it> (permalink)
References <FHKB3-dW3j-7@gated-at.bofh.it> <FHKB3-dW3j-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Reassign: -1 src:python-meshio

Hi Drew (2022.12.28_09:14:53_+0000)
> I'm seeing the problem in python3-meshio 7.0.0-2, which depends on
> python3-rich.  The dependency was located for 7.0.0-1,
> cf. https://packages.debian.org/bookworm/python3-meshio
> but is no longer generated for 7.0.0-2,
> see https://packages.debian.org/unstable/python3-meshio
> 
> The package is the same, only a minor update (and updating to
> Standards-Version: 4.6.2).  The dependency on rich is declared in
> setup.cfg.

If you build a wheel, you'll see this in the METADATA:
Requires-Dist: numpy (>=1.20.0)
Requires-Dist: importlib-metadata ; python_version < "3.8"
Provides-Extra: all
Requires-Dist: netCDF4 ; extra == 'all'
Requires-Dist: h5py ; extra == 'all'

No sign of rich.

You'll also see this warning:
* Building wheel...
/tmp/build-env-t5py7ec_/lib/python3.10/site-packages/setuptools/config/_apply_pyprojecttoml.py:196: UserWarning: `install_requires` overwritten in `pyproject.toml` (dependencies)
  warnings.warn(msg)

That points to the problem. The pyproject declares dependencies, but
leaves out rich.

So, I think a new version of setuptools prioritized that over setup.cfg.

SR

-- 
Stefano Rivera
  http://tumbleweed.org.za/
  +1 415 683 3272

Back to linux.debian.bugs.dist | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

Bug#1027173: dh-python: dh_python3 no longer generates correct package dependencies Drew Parsons <dparsons@debian.org> - 2022-12-28 20:50 +0100
  Bug#1027173: dh-python: dh_python3 no longer generates correct package dependencies Drew Parsons <dparsons@debian.org> - 2022-12-29 17:40 +0100
  Bug#1027173: dh-python: dh_python3 no longer generates correct package dependencies Stefano Rivera <stefanor@debian.org> - 2022-12-29 17:40 +0100

csiph-web