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


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

Versioneer [was Re: a review of your bumblebee-status package]

Path csiph.com!aioe.org!bofh.it!news.nic.it!robomod
From Timo Röhling <roehling@debian.org>
Newsgroups linux.debian.maint.python
Subject Versioneer [was Re: a review of your bumblebee-status package]
Date Tue, 07 Jun 2022 16:30:01 +0200
Message-ID <EvInv-3dvH-5@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>
X-Original-To debian-python@lists.debian.org
X-Mailbox-Line From debian-python-request@lists.debian.org Tue Jun 7 14:22:40 2022
Old-Return-Path <roehling@debian.org>
X-Amavis-Spam-Status No, score=-110.521 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, BODY_8BITS=1.5, DKIMWL_WL_HIGH=-0.801, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, GMAIL=1, LDO_WHITELIST=-5, PGPSIGNATURE=-5, RCVD_IN_DNSWL_NONE=-0.0001, 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
X-Greylist delayed 559 seconds by postgrey-1.36 at bendel; Tue, 07 Jun 2022 14:22:27 UTC
Mail-Followup-To debian-python@lists.debian.org
Organization The Debian Project
MIME-Version 1.0
Content-Type multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="nnr3audlepw4qyps"
Content-Disposition inline
X-Mailing-List <debian-python@lists.debian.org> archive/latest/19979
List-ID <debian-python.lists.debian.org>
List-URL <https://lists.debian.org/debian-python/>
List-Archive https://lists.debian.org/msgid-search/20220607141242.m3y2ebbnymllp4hm@mail.gaussglocke.de
Approved robomod@news.nic.it
Lines 79
Sender robomod@news.nic.it
X-Original-Date Tue, 7 Jun 2022 16:12:42 +0200
X-Original-Message-ID <20220607141242.m3y2ebbnymllp4hm@mail.gaussglocke.de>
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>
Xref csiph.com linux.debian.maint.python:14151

Show key headers only | View raw


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

Hi everyone,

* Ben Westover <kwestover.kw@gmail.com> [2022-06-06 22:42]:
>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.
Versioneer is meant to simplify version tracking for the developer;
it supports a number of authoritative sources such as "git
describe" to determine the current version number. There are two
modes of operation:

- in developer mode, versioneer detects the version number
   dynamically. This is what you'll see if you use the (Git)
   repository sources.
- in install mode, the release version number is statically
   embedded. This is what you'll see if
   you download from PyPI.

Internally, these modes are realized by two different _version.py
files; the developer version is usually added to version control,
and the setuptools "build" and "sdist" steps are
intercepted to insert the static _version.py as needed.

In my experience, it Just Works with pybuild, so I wouldn't bother
with any special treatment; the versioneer.py source is public
domain, so you're not going to run into any licensing issues.


Cheers
Timo


-- 
⢀⣴⠾⠻⢶⣦⠀   ╭────────────────────────────────────────────────────╮
⣾⠁⢠⠒⠀⣿⡁   │ Timo Röhling                                       │
⢿⡄⠘⠷⠚⠋⠀   │ 9B03 EBB9 8300 DF97 C2B1  23BF CC8C 6BDD 1403 F4CA │
⠈⠳⣄⠀⠀⠀⠀   ╰────────────────────────────────────────────────────╯

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