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


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

Re: Eric-22.12 and trove-classifiers

Path csiph.com!aioe.org!bofh.it!news.nic.it!robomod
From Dmitry Shachnev <mitya57@debian.org>
Newsgroups linux.debian.maint.python
Subject Re: Eric-22.12 and trove-classifiers
Date Tue, 20 Dec 2022 23:10:01 +0100
Message-ID <FESY9-c2Sv-11@gated-at.bofh.it> (permalink)
References <FDIRb-bjRC-5@gated-at.bofh.it> <FE3sB-bwt3-1@gated-at.bofh.it>
X-Original-To debian-python@lists.debian.org
X-Mailbox-Line From debian-python-request@lists.debian.org Tue Dec 20 22:04:58 2022
Old-Return-Path <mitya57@gmail.com>
X-Amavis-Spam-Status No, score=-11.48 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FORGED_FROMDOMAIN=0.001, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, LDO_WHITELIST=-5, MURPHY_DRUGS_REL8=0.02, PGPSIGNATURE=-5, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001] autolearn=ham autolearn_force=no
X-Policyd-Weight NOT_IN_SBL_XBL_SPAMHAUS=-1.5 CL_IP_EQ_HELO_IP=-2 (check from: .gmail. - helo: .mail-lf1-f50.google. - helo-domain: .google.) FROM/MX_MATCHES_HELO(DOMAIN)=-2; rate: -5.5
X-Gm-Message-State ANoB5pmfekFqvCiXEgd8A2N3ssYj+o+M1/io/bqOfoXvQhdQ6P7IT2ja J3TtMIpWTM6ybSdOjT+zCKZOiiKAas7a7Q==
X-Google-SMTP-Source AA0mqf4ja1hkbQ1deRae6+2F/fGAhX5Gtx64zJTBQGXO2yn2hOzU1jqHmgTzi18WSe3p1kl/xsrmsg==
X-Received by 2002:a05:6512:3f89:b0:4b1:af78:a657 with SMTP id x9-20020a0565123f8900b004b1af78a657mr16823255lfa.30.1671573877498; Tue, 20 Dec 2022 14:04:37 -0800 (PST)
MIME-Version 1.0
Content-Type multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="1G5GggKXPiwSLMvG"
Content-Disposition inline
X-Mailing-List <debian-python@lists.debian.org> archive/latest/20631
List-ID <debian-python.lists.debian.org>
List-URL <https://lists.debian.org/debian-python/>
List-Archive https://lists.debian.org/msgid-search/Y6IxcmE8AP/YGKwN@mitya57.me
Approved robomod@news.nic.it
Lines 79
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Cc Guðjón Guðjónsson <gudjon.i.gudjonsson@gmail.com>
X-Original-Date Wed, 21 Dec 2022 01:04:34 +0300
X-Original-Message-ID <Y6IxcmE8AP/YGKwN@mitya57.me>
X-Original-References <CAOTq_2VAcF2nj26eHMwoLuQ05o_Vop48eHvNQ8eqpWp+CtxBFQ@mail.gmail.com> <CAOTq_2UgfbYWNacD9uWtSty9v6eBHDc6NVN1d0uHWnrWQ=3n8Q@mail.gmail.com>
Xref csiph.com linux.debian.maint.python:14763

Show key headers only | View raw


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

Hi Guðjón!

[We discussed this in private but I will copy my answers to the list.]

On Sat, Dec 17, 2022 at 06:09:21PM +0000, Guðjón Guðjónsson wrote:
> Hi list
>
> I am working on eric and I do have an issue before release.
>
> It depends on trove-classifiers which isn't packaged in Debian. I have
> tried to make a package out of it but not luck.
>
> First it depends on calver that is not packaged in Debian.
>
> Secondly. After having installed calver, the build stops with the following
> error:
> E: pybuild pybuild:386: configure: plugin distutils failed with: exit
> code=1: python3.11 setup.py config
> dh_auto_configure: error: pybuild --configure -i python{version} -p "3.11
> 3.10" returned exit code 13
> make: *** [debian/rules:10: binary] Error 13
>
> Does anyone have a solution to this?

calver sets the version based on the current date. We don't want this,
we want to use the same version that upstream used when generating the
tarball.

To achieve that, you may export DEB_VERSION_UPSTREAM from debian/rules,
and then patch setup.py to remove use_calver=True and instead pass
version=os.environ["DEB_VERSION_UPSTREAM"] to setup().

On Sun, Dec 18, 2022 at 04:01:05PM +0000, Guðjón Guðjónsson wrote:
> The trove-classfiers library is only three minor files and the calver
> library is a single small file, I don't find
> it worth it to make Debian packages out of them plus I can only build them
> using setuptools.
>
> Eric contains a ThirdParty directory and I can add the trove-classifiers
> there and it works perfectly.
> Is there any drawback from adding trove-classifiers as a patch in the Eric
> package?

I think it's better to have trove-classifiers packaged separately. It looks
like it's updated quite frequently (around 2 times a month, see [1]), so
having it as a separate package will allow us to update it on its own
schedule.

--
Dmitry Shachnev

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


Thread

Eric-22.12 and trove-classifiers Guðjón Guðjónsson <gudjon.i.gudjonsson@gmail.com> - 2022-12-17 18:10 +0100
  Re: Eric-22.12 and trove-classifiers Guðjón Guðjónsson <gudjon.i.gudjonsson@gmail.com> - 2022-12-18 16:10 +0100
    Re: Eric-22.12 and trove-classifiers Dmitry Shachnev <mitya57@debian.org> - 2022-12-20 23:10 +0100
      Re: Eric-22.12 and trove-classifiers Guðjón Guðjónsson <gudjon.i.gudjonsson@gmail.com> - 2022-12-21 07:00 +0100

csiph-web