Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

help to confirm the depends of the module #136

Closed
yuzibo opened this issue Dec 6, 2022 · 2 comments
Closed

help to confirm the depends of the module #136

yuzibo opened this issue Dec 6, 2022 · 2 comments

Comments

@yuzibo
Copy link

yuzibo commented Dec 6, 2022

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
Copy link
Owner

Erotemic commented Dec 6, 2022

Yes, that is the correct repo.

@yuzibo
Copy link
Author

yuzibo commented Dec 25, 2022

OK, thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants