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


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

Re: Need a hand with tiledb-python

Path csiph.com!aioe.org!bofh.it!news.nic.it!robomod
From Neil Williams <codehelp@debian.org>
Newsgroups linux.debian.maint.python
Subject Re: Need a hand with tiledb-python
Date Tue, 10 May 2022 15:10:01 +0200
Message-ID <ElxMJ-ey9a-3@gated-at.bofh.it> (permalink)
References <Elw4h-ex43-1@gated-at.bofh.it>
X-Original-To Dirk Eddelbuettel <edd@debian.org>
X-Mailbox-Line From debian-python-request@lists.debian.org Tue May 10 13:01:31 2022
Old-Return-Path <codehelp@debian.org>
X-Amavis-Spam-Status No, score=-115.064 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIMWL_WL_HIGH=-0.575, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, LDO_WHITELIST=-5, MURPHY_DRUGS_REL8=0.02, PGPSIGNATURE=-5, RCVD_IN_DNSWL_MED=-2.3, T_SCC_BODY_TEXT_LINE=-0.01, USER_IN_DKIM_WELCOMELIST=0.001, USER_IN_DKIM_WHITELIST=-100] autolearn=ham autolearn_force=no
X-Policyd-Weight using cached result; rate: -4.6
X-Mailer Claws Mail 3.17.8 (GTK+ 2.24.33; x86_64-pc-linux-gnu)
MIME-Version 1.0
Content-Type multipart/signed; boundary="Sig_/6CozbE.zTFSlfT104jfZ0C0"; protocol="application/pgp-signature"; micalg=pgp-sha512
X-Mailing-List <debian-python@lists.debian.org> archive/latest/19923
List-ID <debian-python.lists.debian.org>
List-URL <https://lists.debian.org/debian-python/>
List-Archive https://lists.debian.org/msgid-search/20220510140112.4852b414@felix.codehelp
Approved robomod@news.nic.it
Lines 97
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Cc debian-python@lists.debian.org, Adam Cecile <acecile@le-vert.net>
X-Original-Date Tue, 10 May 2022 14:01:12 +0100
X-Original-Message-ID <20220510140112.4852b414@felix.codehelp>
X-Original-References <25210.18653.837226.804742@rob.eddelbuettel.com>
Xref csiph.com linux.debian.maint.python:14098

Show key headers only | View raw


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

On Tue, 10 May 2022 06:13:33 -0500
Dirk Eddelbuettel <edd@debian.org> wrote:

> Hi all,
> 
> I look after the 'tiledb' (a C++ library) package and the 'tiledb-r'
> package. I also effectively maintain 'tiledb-python' but I am running
> into some issues there.  I do know a little bit of Python and have
> (co-)maintained two or three packages there for decades but this one
> stumps me.
> 
> Larger context is that that upstream is fairly heavy user of Conda
> and used to a lot of explicit version pinning. 

First, I would strongly recommend enabling Salsa CI - helps those
trying to help you by having public build logs etc.. Also, use the
lintian-brush package (against a git clone in a SID chroot/vm) to trim
out some of the versions listed in the build-dependencies. (Debian BD
don't need to refer to versions not in the archive, so a straight copy
from setup.py isn't useful.)

I've now done a number of packages where upstream rely on Conda. There
is no simple solution - the best option is to aggressively patch out
the key conditionals which determine how Conda support interferes with
Debian packaging & patch out the overly strict version handling.

New support in pybuild may help your specific package but I've found it
easier to patch in a setup.py as that makes it more straightforward to
support a backport to buster. Depends on your needs.

The specific packages tend to also use SCons which complicates things
further - there isn't a direct example in my list.


> This creates issues
> for us here as the build wants to leave the chroot/pbuilder to match
> those pins.  Adam (CC'ed) who set this up initially already patched
> some calls out (for example sphinx docs are now local). The
> 'delicate' bit is that I actually work at TileDB ;-) and don't want
> to have a fight over the upstream choice (so I didn't bug my
> colleague yet). Upstream use is upstream use, but Debian packaging
> also has its rules.

Patches do not have to go upstream when the changes are to make the
package work in Debian instead of Conda. 

> 
> The packaging is at
>    https://salsa.debian.org/python-team/packages/tiledb-py
> (and for historical reasons I also have one at
>    https://salsa.debian.org/edd/tiledb-py
> which it is behind) and I would *really* appreciate it if someone
> could take a look.  I tried patching requirements_dev.txt and
> misc/requirements_wheel.txt but am apparently out of my depth here. I
> reached out to Adam (CC'ed) but he is busy too.  We all know how it
> goes.
> 
> Please CC me on follow-ups as I am not subscribed to debian-python.
> 
> Thanks,  Dirk
> 
> -- 
> dirk.eddelbuettel.com | @eddelbuettel | edd@debian.org
> 


-- 
Neil Williams
=============
https://linux.codehelp.co.uk/

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


Thread

Need a hand with tiledb-python Dirk Eddelbuettel <edd@debian.org> - 2022-05-10 13:20 +0200
  Re: Need a hand with tiledb-python Neil Williams <codehelp@debian.org> - 2022-05-10 15:10 +0200
  Re: Need a hand with tiledb-python Dirk Eddelbuettel <edd@debian.org> - 2022-05-14 03:10 +0200

csiph-web