Path: csiph.com!aioe.org!bofh.it!news.nic.it!robomod From: Dmitry Shachnev Newsgroups: linux.debian.maint.python Subject: Re: Eric-22.12 and trove-classifiers Date: Tue, 20 Dec 2022 23:10:01 +0100 Message-ID: References: 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: 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: archive/latest/20631 List-ID: List-URL: 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: =?iso-8859-1?B?R3XwavNuIEd18GrzbnNzb24=?= X-Original-Date: Wed, 21 Dec 2022 01:04:34 +0300 X-Original-Message-ID: X-Original-References: Xref: csiph.com linux.debian.maint.python:14763 --1G5GggKXPiwSLMvG Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi Gu=F0j=F3n! [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=F0j=F3n Gu=F0j=F3nsson 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 followi= ng > error: > E: pybuild pybuild:386: configure: plugin distutils failed with: exit > code=3D1: 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=3DTrue and instead pass version=3Dos.environ["DEB_VERSION_UPSTREAM"] to setup(). On Sun, Dec 18, 2022 at 04:01:05PM +0000, Gu=F0j=F3n Gu=F0j=F3nsson 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 --1G5GggKXPiwSLMvG Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEE5688gqe4PSusUZcLZkYmW1hrg8sFAmOiMXIACgkQZkYmW1hr g8sqGg//cGvvLxPY2tKLdJ+VVK9x87cwp62D67CbhN4JjLJ/7iWA68rBpnhc/gO7 /00EEaJ90jqs+Ydz8HdRln6JEy/Z4xNSoBWvNWYS3ZpJEDZaHelk5caASIIRqqPi 0kcWWyKuHFRlzs+VmeSRSyuB5+TqpxrWi8ORPyiWNqEK9Kh/BiqrhvIK+vTqh7/S o++6bAzAhTPc9FKdD3+YCuitdMM6ABpOfqPxQuKBf9wGwy+MiM+T5C7C3M22ZhWQ aRyk9rEtNvhkzCcipirXi3oPTMrv2WNx2BDGyV0tJxZ21VRHiBKwqksUI4+tlnMm Pizgf41lnqBBkxeCNkZY4YaIfwabY75MHp7jfcjRX6DcjBjuITEZi4SARg94Dm9l ivBtkthv7BaF3lqy8ZI0T3pzbTo5NCWMYTnIQvciwFyXDOtLWdrhplq4Bn2Ku6t2 AHa7etxQkzyfpk+qO4LsDK5v9LoreTy2p7fKs97f7IIfohfmJS5Oyh0RYmmPpVzt AKHz1YrBO50cDlkP73vfBARLlUOCTGEeTtirzLqckQKBE+n4cNxq2N2MKAPxSGpV gymCrHkDWHCKHDGogKQh3nTgcE2u2HX9a8kc0S7E6bQ3wp4uFPaHZIkCoes6bPzb SHkIHMbLvstH/Kgifh5Cr152bk8RbuTEf4ip6M89fZH5BKLwqq8= =FLif -----END PGP SIGNATURE----- --1G5GggKXPiwSLMvG--