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


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

Re: Existing package splits into dependent subpackages -- best packaging practice ?

Path csiph.com!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From Emmanuel Arias <eamanu@debian.org>
Newsgroups linux.debian.maint.python
Subject Re: Existing package splits into dependent subpackages -- best packaging practice ?
Date Tue, 25 Feb 2025 18:00:01 +0100
Message-ID <Kk6rL-1V6X-1@gated-at.bofh.it> (permalink)
References <KhBV8-cGY-5@gated-at.bofh.it> <KhDay-dEJ-17@gated-at.bofh.it> <KhDtT-dLC-5@gated-at.bofh.it>
X-Mailbox-Line From debian-python-request@lists.debian.org Tue Feb 25 16:56:05 2025
Old-Return-Path <eamanu@debian.org>
X-Amavis-Spam-Status No, score=-112.849 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, BODY_8BITS=1.5, DKIMWL_WL_HIGH=-0.34, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, LDO_WHITELIST=-5, MURPHY_FINANCE10=0.5, PGPSIGNATURE=-5, RCVD_IN_DNSWL_MED=-2.3, UNPARSEABLE_RELAY=0.001, USER_IN_DKIM_WELCOMELIST=-0.01, USER_IN_DKIM_WHITELIST=-100] autolearn=ham autolearn_force=no
MIME-Version 1.0
Content-Type multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="89RmDhsC/obc0dmo"
Content-Disposition inline
X-Debian-User eamanu
X-Mailing-List <debian-python@lists.debian.org> archive/latest/22847
List-ID <debian-python.lists.debian.org>
List-URL <https://lists.debian.org/debian-python/>
List-Archive https://lists.debian.org/msgid-search/Z732D5DYhVcX-syH@debian
Approved robomod@news.nic.it
Lines 120
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Cc debian-python <debian-python@lists.debian.org>
X-Original-Date Tue, 25 Feb 2025 13:55:43 -0300
X-Original-Message-ID <Z732D5DYhVcX-syH@debian>
X-Original-References <26548.58731.571734.173421@rob.eddelbuettel.com> <Z7T5CfnNtak_B8fV@debian> <26548.64929.74712.119971@rob.eddelbuettel.com>
Xref csiph.com linux.debian.maint.python:16741

Show key headers only | View raw


[Multipart message — attachments visible in raw view] - view raw

Hi!
On Tue, Feb 18, 2025 at 03:37:37PM -0600, Dirk Eddelbuettel wrote:
> 
> Hi Emanuel,
> 
> Thanks for the prompt reply!
> 
> On 18 February 2025 at 18:18, Emmanuel Arias wrote:
> | Hi!
> | On Tue, Feb 18, 2025 at 01:54:19PM -0600, Dirk Eddelbuettel wrote:
> | > 
> | > Hi all,
> | > 
> | > I have long maintained rpy2 (and rpy before) which provides a bridge from
> | > Python to R (which I tend to care more for), and am on friendly terms with
> | > its author. You can see my repo at salsa [1], it is pretty vanilla.
> | > 
> | > The upcoming upstream release will split into three packages, all in the same
> | > source repo [2]. I am a casual Python user, and not all into packaging there
> | > (source or for Debian). But I can wondering that this arrangement must exist
> | > elsewhere. Is there a good pattern I can borrow to build (and then install ?)
> | > rpy2-interfaces to then build (and install ?) rpy2-objects to then build
> | > rpy2?
> | >
> | Seems very similar to basemap[0]
> | 
> | [0] https://sources.debian.org/src/basemap/1.4.1-1/
> 
> I may have been unclear in what I was looking for.  If I read this correctly,
> then it "bends" the upstreeam layout to effectively undo the package split?
> 
> I was thinking more along the lines of 'how do I create three binary Python
> packages that are interdependent from one source repo'. Is that doable?
> 
I've forgotten the python-deadlib case. It is one upsream source
repository and 12 binary packages from different folders from upsream.
Maybe that you was looking?

cheers!
> Dirk
> 
> | > Python users see these as independent as they are in three different PyPI
> | > packages.
> | > 
> | > Is there a best or recommended way to approach this?  CCs welcome, I am not
> | > subscribed to debian-python.
> | > 
> | > Cheers,  Dirk 
> | > 
> | > 
> | > [1] https://salsa.debian.org/edd/rpy2
> | > [2] https://github.com/rpy2/rpy2
> | > -- 
> | > dirk.eddelbuettel.com | @eddelbuettel | edd@debian.org
> | 
> | -- 
> | cheers,
> |         Emmanuel Arias
> | 
> |  ⢀⣴⠾⠻⢶⣦⠀
> |  ⣾⠁⢠⠒⠀⣿⡁  eamanu@debian.org
> |  ⢿⡄⠘⠷⠚⠋⠀  OpenPGP: 13796755BBC72BB8ABE2AEB5 FA9DEC5DE11C63F1                     
> |  ⠈⠳⣄
> | x[DELETED ATTACHMENT signature.asc, application/pgp-signature]
> 
> -- 
> dirk.eddelbuettel.com | @eddelbuettel | edd@debian.org

-- 
cheers,
        Emmanuel Arias

 ⢀⣴⠾⠻⢶⣦⠀
 ⣾⠁⢠⠒⠀⣿⡁  eamanu@debian.org
 ⢿⡄⠘⠷⠚⠋⠀  OpenPGP: 13796755BBC72BB8ABE2AEB5 FA9DEC5DE11C63F1                     
 ⠈⠳⣄

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


Thread

Existing package splits into dependent subpackages -- best packaging practice ? Dirk Eddelbuettel <edd@debian.org> - 2025-02-18 21:00 +0100
  Re: Existing package splits into dependent subpackages -- best  packaging practice ? Emmanuel Arias <eamanu@debian.org> - 2025-02-18 22:20 +0100
    Re: Existing package splits into dependent subpackages -- best  packaging practice ? Dirk Eddelbuettel <edd@debian.org> - 2025-02-18 22:40 +0100
      Re: Existing package splits into dependent subpackages -- best  packaging practice ? Julian Gilbey <julian@d-and-j.net> - 2025-02-23 23:40 +0100
      Re: Existing package splits into dependent subpackages -- best  packaging practice ? Emmanuel Arias <eamanu@debian.org> - 2025-02-25 18:00 +0100
        Re: Existing package splits into dependent subpackages -- best  packaging practice ? Dirk Eddelbuettel <edd@debian.org> - 2025-02-25 18:30 +0100

csiph-web