Erotemic / ubelt

A Python utility library with a stdlib like feel and extra batteries. Paths, Progress, Dicts, Downloads, Caching, Hashing: ubelt makes it easy!
Apache License 2.0
719 stars 43 forks source link

help to confirm the depends of the module #136

Closed yuzibo closed 1 year ago

yuzibo commented 1 year ago

Describe the bug This is not bug, just one confirmation.

I am packaging the ubelt into Debian, everything is well but when run test cases I got:

removing build/bdist.linux-x86_64/wheel
* Building wheel...
Successfully built ubelt-1.2.3-py3-none-any.whl
I: pybuild plugin_pyproject:118: Unpacking wheel built for python3.10 with "installer" module
   dh_auto_test -O--buildsystem=pybuild
I: pybuild base:240: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build; python3.11 -m pytest tests
ERROR: usage: __main__.py [options] [file_or_dir] [file_or_dir] [...]
__main__.py: error: unrecognized arguments: --xdoctest --xdoctest-style=google
  inifile: /<<PKGBUILDDIR>>/pyproject.toml
  rootdir: /<<PKGBUILDDIR>>

E: pybuild pybuild:379: test: plugin pyproject failed with: exit code=4: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build; python3.11 -m pytest tests
I: pybuild base:240: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build; python3.10 -m pytest tests
ERROR: usage: __main__.py [options] [file_or_dir] [file_or_dir] [...]
__main__.py: error: unrecognized arguments: --xdoctest --xdoctest-style=google
  inifile: /<<PKGBUILDDIR>>/pyproject.toml
  rootdir: /<<PKGBUILDDIR>>

E: pybuild pybuild:379: test: plugin pyproject failed with: exit code=4: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10/build; python3.10 -m pytest tests
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.11 3.10" returned exit code 13
make: *** [debian/rules:4: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2

Please help me to confirm the xdoctest module is the repo? If so, I have to package it first to meet the requierment. thanks.

Erotemic commented 1 year ago

Yes, that is the correct repo.

yuzibo commented 1 year ago

OK, thanks.