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


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

Re: a review of your bumblebee-status package

Path csiph.com!1.us.feeder.erje.net!3.us.feeder.erje.net!2.eu.feeder.erje.net!feeder.erje.net!news.uzoreto.com!aioe.org!bofh.it!news.nic.it!robomod
From Antoine Beaupré <anarcat@debian.org>
Newsgroups linux.debian.maint.python
Subject Re: a review of your bumblebee-status package
Date Tue, 07 Jun 2022 15:50:01 +0200
Message-ID <EvHKN-3cT1-3@gated-at.bofh.it> (permalink)
References <EvuXf-34C0-3@gated-at.bofh.it> <EvuXf-34C0-1@gated-at.bofh.it> <Evw2Z-35cy-1@gated-at.bofh.it> <Evx8J-35Wo-1@gated-at.bofh.it> <Evxs5-3638-1@gated-at.bofh.it> <EvAJk-38p1-5@gated-at.bofh.it>
X-Mailbox-Line From debian-python-request@lists.debian.org Tue Jun 7 13:47:49 2022
Old-Return-Path <anarcat@debian.org>
X-Amavis-Spam-Status No, score=-108.021 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIMWL_WL_HIGH=-0.801, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, LDO_WHITELIST=-5, T_SCC_BODY_TEXT_LINE=-0.01, USER_IN_DKIM_WELCOMELIST=-0.01, USER_IN_DKIM_WHITELIST=-100] autolearn=ham autolearn_force=no
X-Policyd-Weight using cached result; rate:hard: -3.5
Organization Debian
MIME-Version 1.0
Content-Type text/plain; charset=utf-8
Content-Transfer-Encoding quoted-printable
X-Mailing-List <debian-python@lists.debian.org> archive/latest/19977
List-ID <debian-python.lists.debian.org>
List-URL <https://lists.debian.org/debian-python/>
List-Archive https://lists.debian.org/msgid-search/87pmjkzitm.fsf@curie.anarc.at
Approved robomod@news.nic.it
Lines 36
Sender robomod@news.nic.it
X-Original-Cc debian-python@lists.debian.org
X-Original-Date Tue, 07 Jun 2022 09:47:33 -0400
X-Original-Message-ID <87pmjkzitm.fsf@curie.anarc.at>
X-Original-References <87sfohoni3.fsf@curie.anarc.at> <fe867c28-62cc-f02b-0f71-6e4990ed8ac4@gmail.com> <0f84e96b-c0eb-2d0e-fc7e-a8b272549aea@gmail.com> <87fskhb44h.fsf@angela.anarc.at> <367c1fcc-e57e-bde4-61eb-787042586a60@gmail.com> <Yp7sA2fh2MruNE9C@d-and-j.net>
Xref csiph.com linux.debian.maint.python:14148

Show key headers only | View raw


On 2022-06-07 07:11:15, Julian Gilbey wrote:
> Hi Ben,
>
> On Mon, Jun 06, 2022 at 10:42:53PM -0400, Ben Westover wrote:
>> > > _version.py is not a copy of versioneer, it's *generated* by versioneer.
>> > > However, there is versioneer.py in the root directory, which is. I'll
>> > > exclude that from the source and repack.
>> > 
>> > hmm... how about that generated file though? shouldn't it be ... well,
>> > generated at build time instead? :)
>> 
>> As far as I understand it, this file is used by the author of the program,
>> not end users. I don't understand it well, though, because I haven't put
>> much time into researching what versioneer even does.
>> If my hunch is correct, I may be able to just remove the file from the
>> source altogether, but I haven't tried that yet.
>
> As far as I understand, versioneer (or the _version.py generated by
> it) uses a whole bunch of heuristics to determine the version number
> of the package, for example by looking at git tags and so on.  Several
> times, I have found that _version.py in the PyPI release of a package
> is a very small file (just a few lines long) stating the version
> number of the package, while the _version.py in GitHub is huge and
> doesn't work on a standalone packaged version.  If I recall correctly,
> In more than one package I (co-)maintain, I've gone for the PyPI
> version of this file.

Uh! So you just keep the file around altogether? That seems like a break
of policy...

-- 
On reconnait la grandeur et la valeur d'une nation à la façon dont
celle-ci traite ses animaux.
                        - Mahatma Gandhi

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


Thread

Re: a review of your bumblebee-status package Ben Westover <kwestover.kw@gmail.com> - 2022-06-07 02:10 +0200
  Re: a review of your bumblebee-status package Ben Westover <kwestover.kw@gmail.com> - 2022-06-07 03:20 +0200
    Re: a review of your bumblebee-status package Antoine Beaupré <anarcat@debian.org> - 2022-06-07 04:30 +0200
      Re: a review of your bumblebee-status package Ben Westover <kwestover.kw@gmail.com> - 2022-06-07 04:50 +0200
        Re: a review of your bumblebee-status package Andrey Rahmatullin <wrar@debian.org> - 2022-06-07 08:20 +0200
        Re: a review of your bumblebee-status package Julian Gilbey <julian@d-and-j.net> - 2022-06-07 08:20 +0200
          Re: a review of your bumblebee-status package Antoine Beaupré <anarcat@debian.org> - 2022-06-07 15:50 +0200
            Re: a review of your bumblebee-status package Julian Gilbey <julian@d-and-j.net> - 2022-06-07 16:50 +0200
              Re: a review of your bumblebee-status package Julian Gilbey <julian@d-and-j.net> - 2022-06-07 17:00 +0200
                Re: a review of your bumblebee-status package Ben Westover <kwestover.kw@gmail.com> - 2022-06-08 00:50 +0200
                Re: a review of your bumblebee-status package Antoine Beaupré <anarcat@debian.org> - 2022-06-08 15:30 +0200
              Re: a review of your bumblebee-status package Antoine Beaupré <anarcat@debian.org> - 2022-06-07 17:00 +0200
        Re: a review of your bumblebee-status package Antoine Beaupré <anarcat@debian.org> - 2022-06-07 15:50 +0200
          Re: a review of your bumblebee-status package Julian Gilbey <julian@d-and-j.net> - 2022-06-07 17:00 +0200
            Re: a review of your bumblebee-status package Julian Gilbey <julian@d-and-j.net> - 2022-06-07 17:10 +0200
        Versioneer [was Re: a review of your bumblebee-status package] Timo Röhling <roehling@debian.org> - 2022-06-07 16:30 +0200
          Re: Versioneer [was Re: a review of your bumblebee-status package] Paul Wise <pabs@debian.org> - 2022-06-08 03:30 +0200

csiph-web