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


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

Re: PDM - Python package manager for Debian

From Carsten Schoenert <c.schoenert@t-online.de>
Newsgroups linux.debian.maint.python
Subject Re: PDM - Python package manager for Debian
Date 2022-04-03 11:00 +0200
Message-ID <E84fv-67yE-7@gated-at.bofh.it> (permalink)
References <E8305-66PK-1@gated-at.bofh.it> <E83t7-67ev-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Hi Nick,

Am 03.04.22 um 09:58 schrieb Dominik George:
> Hi Carsten,
> 
>> Or is there a way to get such packages build without a need for PDM to be around?
> 
> This should really not matter at all when packaging for Debian. The
> source tarball should include a setup.cfg or setup.py file (i.e. be a
> regular Python sdist), and if not developing on the package, you
> should never meet PDM.

yeah, but upstream isn't shipping one or both files, it only ships a 
file pyproject.toml. And switched from Poetry to PDM recently

https://github.com/mkdocstrings/autorefs/commit/85f3920ec153e6aa3c206475977b8666ac340504

> If the upstream sdist is not installable without PDM, this is
> probably an upstream bug; but my guess is that you chose a Git export
> instead of a real sdist as orig.tar.gz.

No, I did pick up the tagged version 0.4.1 as tarball from GitHub as 
usual to start with as I'm aware of this trap.

https://github.com/mkdocstrings/autorefs/tags

I've compared the tarball from GH with the file from PyPi, the sdist on 
PyPi contains even less files than the GH tarball, but also no setup.* 
files.

https://pypi.org/project/mkdocs-autorefs/#files


If helpful I can upload my current WIP scratch status to my namespace on 
Salsa.

So far I've read about PDM the past hours, it's quite new yes, but more 
upstream projects will switch or start with this package management 
system I guess. So somehow the Debian packaging of Python libraries will 
need to deal with this.

-- 
Regards
Carsten

Back to linux.debian.maint.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

PDM - Python package manager for Debian Carsten Schoenert <c.schoenert@t-online.de> - 2022-04-03 09:40 +0200
  Re: PDM - Python package manager for Debian Dominik George <natureshadow@debian.org> - 2022-04-03 10:10 +0200
    Re: PDM - Python package manager for Debian Carsten Schoenert <c.schoenert@t-online.de> - 2022-04-03 11:00 +0200
      Re: PDM - Python package manager for Debian Dominik George <natureshadow@debian.org> - 2022-04-03 11:20 +0200
        Re: PDM - Python package manager for Debian Stefano Rivera <stefanor@debian.org> - 2022-04-03 14:10 +0200

csiph-web