Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

diskcache: ERROR: tox config file (either pyproject.toml, tox.ini, setup.cfg) not found

526 views
Skip to first unread message

Andreas Tille

unread,
Jan 25, 2021, 11:50:02 AM1/25/21
to
Hi,

to update python-cobra I need diskcache as new dependency. Yaroslav
I assume it is OK if I team-hijacked your ITP. I injected the packaging
into the existing but empty repository[1]. Unfortunately I have no idea
about tox and thus I need help to solve this:

dh_auto_test -O--buildsystem=pybuild
I: pybuild base:232: python3.9 setup.py test.
Warning: 'classifiers' should be a list, got type 'tuple'
running test
WARNING: Testing via this command is deprecated and will be removed in a future version. Users looking for a generic test entry point independent of test runner are encouraged to use tox.
running egg_info
writing diskcache.egg-info/PKG-INFO
writing dependency_links to diskcache.egg-info/dependency_links.txt
writing top-level names to diskcache.egg-info/top_level.txt
reading manifest file 'diskcache.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'diskcache.egg-info/SOURCES.txt'
running build_ext
ERROR: tox config file (either pyproject.toml, tox.ini, setup.cfg) not found
E: pybuild pybuild:353: test: plugin distutils failed with: exit code=1: python3.9 setup.py test.
dh_auto_test: error: pybuild --test -i python{version} -p 3.9 returned exit code 13
make: *** [debian/rules:6: build] Error 25

Any help would be welcome.

Kind regards

Andreas.


[1] https://salsa.debian.org/python-team/packages/diskcache

--
http://fam-tille.de

Sandro Tosi

unread,
Jan 25, 2021, 12:50:02 PM1/25/21
to
Andreas,
did you read the error before asking for help? i mean, it's literally
right there

On Mon, Jan 25, 2021 at 11:47 AM Andreas Tille <and...@an3as.eu> wrote:

> ERROR: tox config file (either pyproject.toml, tox.ini, setup.cfg) not found

and that's because
https://github.com/grantjenks/python-diskcache/blob/master/tox.ini is
not included in the pypi package (and, independently, the reason i
start packaging tarballs from github, it's just easier than getting
half baked pypi tarballs).

It is not the first time you ask for help for trivial issues. you may
want to look into why that's the case.

--
Sandro "morph" Tosi
My website: http://sandrotosi.me/
Me at Debian: http://wiki.debian.org/SandroTosi
Twitter: https://twitter.com/sandrotosi

Andreas Tille

unread,
Jan 25, 2021, 4:00:02 PM1/25/21
to
On Mon, Jan 25, 2021 at 12:45:08PM -0500, Sandro Tosi wrote:
> and that's because
> https://github.com/grantjenks/python-diskcache/blob/master/tox.ini is
> not included in the pypi package (and, independently, the reason i
> start packaging tarballs from github, it's just easier than getting
> half baked pypi tarballs).

I injected a new tarball drained from Github. It seems to need lots of
not yet packaged - I have no idea how to cope with this.

Kind regards

Andreas.

--
http://fam-tille.de

Sandro Tosi

unread,
Jan 25, 2021, 7:30:03 PM1/25/21
to
> I injected a new tarball drained from Github. It seems to need lots of
> not yet packaged - I have no idea how to cope with this.

i dont understand what you're trying to say here; if it's that
diskcache requires modules/packages not present in debian yet, it's
simple: you need to package those packages first or find someone else
to do that.
0 new messages