-
Notifications
You must be signed in to change notification settings - Fork 61
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
1.6.1: pytest cannot find test units and setuptools
test fails
#163
Comments
Hi,
Details on how to run regression tests are here:
https://hitchdev.com/approach/contributing/
You can also see how they are run by looking in this project's github
actions.
Although it sounds like you might need something a bit more specialized? If
you could let me know your requirements I might be able to formulate
something more suitable.
…On Wed, 22 Dec 2021, 19:31 Tomasz Kłoczko, ***@***.***> wrote:
- Support request or Bug
I cannot find any testing methodology details so ..
pytest cannot find any units:
+ PYTHONPATH=/home/tkloczko/rpmbuild/BUILDROOT/python-strictyaml-1.6.1-2.fc35.x86_64/usr/lib64/python3.8/site-packages:/home/tkloczko/rpmbuild/BUILDROOT/python-strictyaml-1.6.1-2.fc35.x86_64/usr/lib/python3.8/site-packages+ /usr/bin/pytest -ra=========================================================================== test session starts ============================================================================platform linux -- Python 3.8.12, pytest-6.2.5, py-1.11.0, pluggy-1.0.0rootdir: /home/tkloczko/rpmbuild/BUILD/strictyaml-1.6.1plugins: datadir-1.3.1, regressions-2.2.0, forked-1.4.0, cov-3.0.0, xdist-2.5.0collected 0 items
========================================================================== no tests ran in 0.12s ===========================================================================
and setuptools test fails:
+ /usr/bin/python3 setup.py testrunning testWARNING: 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_infono previously-included directories found matching 'hitch/__pycache__'no previously-included directories found matching 'hitch/gen'writing manifest file 'strictyaml.egg-info/SOURCES.txt'running build_extcyaml (unittest.loader._FailedTest) ... ERROR
======================================================================ERROR: cyaml (unittest.loader._FailedTest)----------------------------------------------------------------------ImportError: Failed to import test module: cyamlTraceback (most recent call last): File "/usr/lib64/python3.8/unittest/loader.py", line 154, in loadTestsFromName module = __import__(module_name) File "/home/tkloczko/rpmbuild/BUILD/strictyaml-1.6.1/strictyaml/ruamel/cyaml.py", line 5, in <module> from _ruamel_yaml import CParser, CEmitter # type: ignoreModuleNotFoundError: No module named '_ruamel_yaml'
----------------------------------------------------------------------Ran 1 test in 0.000s
Something is missing in my build env?
—
Reply to this email directly, view it on GitHub
<#163>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABOJKNMSNMJS33PMIVHLAS3USIRR7ANCNFSM5KTHU5AA>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Need to check what exactly it is that |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I cannot find any testing methodology details so ..
pytest cannot find any units:
and
setuptools
test fails:Something is missing in my build env?
The text was updated successfully, but these errors were encountered: