[Slackbuilds-users] six and python3-six

David Woodfall dave at dawoodfall.net
Wed Oct 31 10:01:14 UTC 2018


On Wednesday 31 October 2018 09:54,
Slackbuilds Users <slackbuilds-users at slackbuilds.org> put forth the proposition:
> On 30/10/2018 17:59, Benjamin Trigona-Harany wrote:
> > On 2018-10-30 10:57 a.m., Heinz Wiesinger wrote:
> > >
> > > We have both python2 and python3 versions of six in a single package in -
> > > current and it works just fine. I don't see why the package would need to be
> > > treated differently from other python libs. What am I missing here?
> > >
> > > Grs,
> > > Heinz
> >
> > I don't think you are missing anything. As long as the *version* of a Python module is the same for
> > Python 2 and Python 3, then it makes sense to have them in a single package or SlackBuild. As I
> > mentioned in my other email, there are rare cases where this isn't possible: IPython won't go above 5.x
> > for Python 2 but is on 7.x for Python 3.
> >
> > Otherwise, keeping them together is usually the way to go.
> >
> > Ben
> > _______________________________________________
> > SlackBuilds-users mailing list
> > SlackBuilds-users at slackbuilds.org
> > https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
> > Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
> > FAQ - https://slackbuilds.org/faq/
> >
> >
> there seems to be a variation  of support in the python scripts. Having the script produce both pthon2 and
> python3 files would be useful. I am in the process of updating thonny ( a python ide) which has new deps,
> and pyserial is an example where it only does python2. Repeating the python setup.py install --root=$PKG in
> the slackbuild
> but changing python to python3 fixes that, but I created a separate slackbuild,(not yet submitted) because
> most of the python packages I have seen so fave have two separate packages, a pkgname and a
> python3-pkgname.
>
> Should I make new python packages create both sets of files, or create separate python2 and python3
> packages ?
> (i'm working on mypy and mypy_extensions at the moment)
> regards, Tim

What I did with pudb, the python debugger, is have options for
building either or both, so the user can decide. If someone only
wants to debug python3 code I'm not going to foist an extra load of
python2 code on them.

Dave
--

You or I must yield up his life to Ahrimanes.  I would rather it were
you.  I should have no hesitation in sacrificing my own life to spare
yours, but we take stock next week, and it would not be fair on the
company.
    -- J. Wellington Wells
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20181031/f2ed34c9/attachment.asc>


More information about the SlackBuilds-users mailing list