Path: csiph.com!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod From: Stefano Rivera Newsgroups: linux.debian.maint.python Subject: Re: dpkg-buildpackage vs sbuild with python packaging Date: Wed, 11 Jun 2025 18:40:01 +0200 Message-ID: References: X-Mailbox-Line: From debian-python-request@lists.debian.org Wed Jun 11 16:34:28 2025 Old-Return-Path: X-Amavis-Spam-Status: No, score=-108.397 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIMWL_WL_HIGH=-2.907, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.001, LDO_WHITELIST=-5, SARE_MSGID_LONG45=0.893, SARE_MSGID_LONG50=0.726, USER_IN_DKIM_WELCOMELIST=-0.01, USER_IN_DKIM_WHITELIST=-100] autolearn=ham autolearn_force=no X-Policyd-Weight: using cached result; rate: -4.6 Mail-Followup-To: thomas@goirand.fr, PICCA Frederic-Emmanuel , Debian Python list X-Gpg-Public-Key: http://www.rivera.za.net/stefano.gpg MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Disposition: inline User-Agent: NeoMutt/20241002 X-Mailing-List: archive/latest/23045 List-ID: List-URL: List-Archive: https://lists.debian.org/msgid-search/ep47wdsqpgybczmp4rbcynmo4fsl2pr6xkf44bjvmxwe66pemf@fs7l67tlmz6w Approved: robomod@news.nic.it Lines: 12 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Cc: PICCA Frederic-Emmanuel , Debian Python list X-Original-Date: Wed, 11 Jun 2025 16:34:10 +0000 X-Original-Message-ID: X-Original-References: <1779402678.132016719.1749649153102.JavaMail.zimbra@synchrotron-soleil.fr> <895197705.132125083.1749654653778.JavaMail.zimbra@synchrotron-soleil.fr> <192828874.132154814.1749656444710.JavaMail.zimbra@synchrotron-soleil.fr> <3d962e65-cece-4ffa-8953-f7ee4928d835@goirand.fr> Xref: csiph.com linux.debian.maint.python:16913 Hi thomas (2025.06.11_16:30:15_+0000) >As for the version, setuptools-scm understand an env var that you may set with something like: >export SETUPTOOLS_SCM_PRETEND_VERSION=$(shell dpkg-parsechangelog -something) You don't need to do that, pybuild does it for you. Stefano -- Stefano Rivera http://tumbleweed.org.za/ +1 415 683 3272