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


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

Re: Updating khal to fix RC bug #1023341

Path csiph.com!aioe.org!bofh.it!news.nic.it!robomod
From Daniele Tricoli <eriol@mornie.org>
Newsgroups linux.debian.maint.python
Subject Re: Updating khal to fix RC bug #1023341
Date Fri, 16 Dec 2022 20:30:01 +0100
Message-ID <FDoz7-b7e5-3@gated-at.bofh.it> (permalink)
References <FDcoh-aZQu-3@gated-at.bofh.it> <FDjJ7-b4l7-5@gated-at.bofh.it> <FDna1-b6g1-13@gated-at.bofh.it>
X-Original-To Jonas Smedegaard <jonas@jones.dk>, debian-python@lists.debian.org
X-Mailbox-Line From debian-python-request@lists.debian.org Fri Dec 16 19:24:56 2022
Old-Return-Path <eriol@mornie.org>
X-Amavis-Spam-Status No, score=-8.081 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FOURLA=0.1, LDO_WHITELIST=-5, MURPHY_DRUGS_REL8=0.02, NICE_REPLY_A=-0.001, PGPSIGNATURE=-5, SHIPPING_ID=3, SHIP_ID_INT=1] autolearn=ham autolearn_force=no
X-Policyd-Weight using cached result; rate: -4.6
MIME-Version 1.0
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.5.1
Content-Language en-US
Content-Type multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------x72nklAnBCXH4UtpWFEVxb0o"
X-Mailing-List <debian-python@lists.debian.org> archive/latest/20603
List-ID <debian-python.lists.debian.org>
List-URL <https://lists.debian.org/debian-python/>
List-Archive https://lists.debian.org/msgid-search/12845989-e641-c9a4-7d43-68613c212fd7@mornie.org
Approved robomod@news.nic.it
Lines 175
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Fri, 16 Dec 2022 20:24:39 +0100
X-Original-Message-ID <12845989-e641-c9a4-7d43-68613c212fd7@mornie.org>
X-Original-References <d12d5a41-3b70-7bc4-a094-f089eec7d5c2@mornie.org> <167119984322.2856.7662918214150004490@auryn.jones.dk> <167121309501.2856.15916646856044364885@auryn.jones.dk>
Xref csiph.com linux.debian.maint.python:14737

Show key headers only | View raw


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

Hello Jonas,

On 16/12/2022 18:51, Jonas Smedegaard wrote:

> As you might have noticed by now, I took the liberty of releasing my
> changes when I understood what was going on - because by then I had a
> functioning package ready for upload.

Thanks you did the right thing, thanks for taking care of khal, 
unfortunately I was able to look at this list only now and your last 
email just arrived to my MUA after I sent my previous one.

> It was multiple layers of cause for confusion:
> 
> First layer: Upstream uses setuptools-scm to resolve release version,
> which is bad because it makes assumptions about things outside of the
> project - specifically it interacts with VCS (meta)data and assumed that
> is not replaced by that of another distro by the time the project is
> built.  So our packaging patches away the use of setuptools-scm.
 >
> Second layer: Our replacement involved grep'ing for upstream release
> version from file PKG-INFO which, as you correctly point out, is missing
> from upstream tarball.  It was however included in previous upstream
> tarball, so this is an upstream change.  So our replacement needed to be
> adjusted (to now instead grep CHANGELOG). >
> Third layer: Debian build routines call clean target regardless if
> patches are applied or unapplied.  Our patch affects dh_auto_clean so
> our replacement is extended with checking if patch is applied and
> skipping dh_auto_clean when it isn't.  This makes it appear as if our
> "clean" target succeeds easily leading to the wrong assumption (at least
> for me) that it must be something upstream that fails - something
> mysteriously looking for a missing PKG-INFO file...
> 
> Hope that was understandable.

Many thanks, it is know: I was lost between second and third layer!

> I have now updated our replacement routines plus a range of other
> householding changes, and released the new packaging release.

Thanks for this!

> Thanks a lot for bringing it to my attention.  In fact I had old work
> lying around locally from July 30th that had stalled at that exact same
> failure, so I myself was evidently baffled as well (and then got
> distracted by something else), despite my having introduced the patch
> myself.

We are a team. ;)

> ...so I have now also sprinkled a few comments in debian/rules file, to
> aid future baffld Debian maintainers.
countless

Cheers,

-- 
Daniele Tricoli
https://mornie.org

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


Thread

Updating khal to fix RC bug #1023341 Daniele Tricoli <eriol@mornie.org> - 2022-12-16 07:30 +0100
  Re: Updating khal to fix RC bug #1023341 Jonas Smedegaard <jonas@jones.dk> - 2022-12-16 15:20 +0100
    Re: Updating khal to fix RC bug #1023341 Jonas Smedegaard <jonas@jones.dk> - 2022-12-16 19:00 +0100
      Re: Updating khal to fix RC bug #1023341 Daniele Tricoli <eriol@mornie.org> - 2022-12-16 20:30 +0100
    Re: Updating khal to fix RC bug #1023341 Daniele Tricoli <eriol@mornie.org> - 2022-12-16 20:10 +0100
      Re: Updating khal to fix RC bug #1023341 Jonas Smedegaard <jonas@jones.dk> - 2022-12-16 21:00 +0100
        Re: Updating khal to fix RC bug #1023341 Daniele Tricoli <eriol@mornie.org> - 2022-12-16 21:50 +0100

csiph-web