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


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

Re: pybuild: Build-testing with the package installed

From Andrey Rakhmatullin <wrar@debian.org>
Newsgroups linux.debian.maint.python
Subject Re: pybuild: Build-testing with the package installed
Date 2024-11-14 14:30 +0100
Message-ID <JII53-8Te2-1@gated-at.bofh.it> (permalink)
References <JIHVn-8Tb9-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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

On Thu, Nov 14, 2024 at 01:38:29PM +0100, Matthias Urlichs wrote:
> Hi,
> 
> I'm trying to locally build a fixed version of a buggy package which happens
> to be installed on the system.
> 
> "debuild -b -us -uc" reports:
> 
> Successfully built moat_lib_codec-0.2.2-py3-none-any.whl
> I: pybuild plugin_pyproject:144: Unpacking wheel built for python3.12 with "installer" module
>    dh_auto_test -O--buildsystem=pybuild
> dh_auto_test: warning: Use of debian/compat is deprecated and will be removed in debhelper (>=14~).
> I: pybuild base:311: cd /src/moat/lib/codec/.pybuild/cpython3_3.12_moat-lib-codec/build; python3.12 -m pytest tests
> 
> Note the nonexistence of "PYTHONPATH=." in this command line

python -m does that for you, doesn't it?

> which causes the test suite to use the installed version

I expect the problem to be caused by something else.




-- 
WBR, wRAR

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


Thread

pybuild: Build-testing with the package installed Matthias Urlichs <matthias@urlichs.de> - 2024-11-14 14:20 +0100
  Re: pybuild: Build-testing with the package installed Andrey Rakhmatullin <wrar@debian.org> - 2024-11-14 14:30 +0100
  Re: pybuild: Build-testing with the package installed Stefano Rivera <stefanor@debian.org> - 2024-11-14 15:00 +0100
    Re: pybuild: Build-testing with the package installed Matthias Urlichs <matthias@urlichs.de> - 2024-11-17 12:20 +0100

csiph-web