Hi John (2024.10.26_08:45:15_+0000)
> > tox tests in Debian package builds are a little different because we use
> > --system-site-packages virtualenvs, but they can be a good way to deal
> > with this.
> 
> Can you name any package using this mechanism so I can have a look?

wheel uses tox tests, in about the most straightforward way possible
(declare build-depends on tox).

Sometimes you'll need to patch tox.ini to add things to
allowlist_externals, because we're using --system-site-packages.

You'll also need to Build-Depend on everything that tox wants to install
into the virtualenv.

Some more examples:

$ reverse-depends -b tox
Reverse-Build-Depends
=====================
* anosql
* ceph
* custodia
* diskcache
* django-auth-ldap
* duplicity
* enlighten
* flask-jwt-simple
* git-imerge
* gitsome
* gnome-keysign
* gubbins
* mitmproxy
* pytest-datadir
* pytest-mypy-plugins
* python-django-solo
* python-json-log-formatter
* python-kdcproxy
* python-magic
* python-mrcfile
* python-nox
* python-pkginfo
* python-prettylog
* python-pyforge
* python-pyvmomi
* python-versioneer
* python-w3lib
* pytrainer
* rdflib-sqlalchemy
* reprotest
* sagemath
* sagenb-export
* sshtunnel
* tox-current-env
* wheel

Reverse-Build-Depends-Indep
===========================
* awscli
* python-bottle
* python-scrapy

> 
> I'm not really experienced with tox, so it would be great to have some
> guidance in the form of sample code.
> 
> Adrian
> 
> -- 
>  .''`.  John Paul Adrian Glaubitz
> : :' :  Debian Developer
> `. `'   Physicist
>   `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913
> 

-- 
Stefano Rivera
  http://tumbleweed.org.za/
  +1 415 683 3272

Reply via email to