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


Groups > linux.debian.maint.python > #14740 > unrolled thread

Eric-22.12 and trove-classifiers

Started byGuðjón Guðjónsson <gudjon.i.gudjonsson@gmail.com>
First post2022-12-17 18:10 +0100
Last post2022-12-21 07:00 +0100
Articles 4 — 2 participants

Back to article view | Back to linux.debian.maint.python


Contents

  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

#14740 — Eric-22.12 and trove-classifiers

FromGuðjón Guðjónsson <gudjon.i.gudjonsson@gmail.com>
Date2022-12-17 18:10 +0100
SubjectEric-22.12 and trove-classifiers
Message-ID<FDIRb-bjRC-5@gated-at.bofh.it>

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

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?

If anyone is willing to package these or even adopt eric, you are more than
welcome.

Regards
Gudjon

[toc] | [next] | [standalone]


#14741

FromGuðjón Guðjónsson <gudjon.i.gudjonsson@gmail.com>
Date2022-12-18 16:10 +0100
Message-ID<FE3sB-bwt3-1@gated-at.bofh.it>
In reply to#14740

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

Hi again list

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?

/Gudjon

[toc] | [prev] | [next] | [standalone]


#14763

FromDmitry Shachnev <mitya57@debian.org>
Date2022-12-20 23:10 +0100
Message-ID<FESY9-c2Sv-11@gated-at.bofh.it>
In reply to#14741

[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

[toc] | [prev] | [next] | [standalone]


#14764

FromGuðjón Guðjónsson <gudjon.i.gudjonsson@gmail.com>
Date2022-12-21 07:00 +0100
Message-ID<FF0iZ-c7ek-3@gated-at.bofh.it>
In reply to#14763

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

Hi Dmitry

Thanks a lot for all help. I did implement your patches and
trove-classifiers is now on salsa:
https://salsa.debian.org/python-team/packages/trove-classifiers

If you or anyone is willing to upload, I would be very happy.

Regards
Gudjon

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.maint.python


csiph-web