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

WARNING: Failed to generate report: No data to report. #182

Open
Goddivinein opened this issue Apr 15, 2024 · 0 comments
Open

WARNING: Failed to generate report: No data to report. #182

Goddivinein opened this issue Apr 15, 2024 · 0 comments

Comments

@Goddivinein
Copy link

D:\hackathons\logithon\excalibur>python setup.py test
running pytest
C:\Users\Icon\AppData\Local\Programs\Python\Python312\Lib\site-packages\setuptools\command\test.py:193: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated.
!!

    ********************************************************************************
    Requirements should be satisfied by a PEP 517 installer.
    If you are using pip, you can try `pip install --use-pep517`.
    ********************************************************************************

!!
ir_d = dist.fetch_build_eggs(dist.install_requires)
WARNING: The wheel package is not available.
C:\Users\Icon\AppData\Local\Programs\Python\Python312\Lib\site-packages\setuptools\command\test.py:194: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated.
!!

    ********************************************************************************
    Requirements should be satisfied by a PEP 517 installer.
    If you are using pip, you can try `pip install --use-pep517`.
    ********************************************************************************

!!
tr_d = dist.fetch_build_eggs(dist.tests_require or [])
WARNING: The wheel package is not available.
C:\Users\Icon\AppData\Local\Programs\Python\Python312\Lib\site-packages\setuptools\command\test.py:195: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated.
!!

    ********************************************************************************
    Requirements should be satisfied by a PEP 517 installer.
    If you are using pip, you can try `pip install --use-pep517`.
    ********************************************************************************

!!
er_d = dist.fetch_build_eggs(
WARNING: The wheel package is not available.
running egg_info
writing excalibur_py.egg-info\PKG-INFO
writing dependency_links to excalibur_py.egg-info\dependency_links.txt
writing entry points to excalibur_py.egg-info\entry_points.txt
writing requirements to excalibur_py.egg-info\requires.txt
writing top-level names to excalibur_py.egg-info\top_level.txt
reading manifest file 'excalibur_py.egg-info\SOURCES.txt'
reading manifest template 'MANIFEST.in'
adding license file 'LICENSE'
adding license file 'AUTHORS.md'
writing manifest file 'excalibur_py.egg-info\SOURCES.txt'
running build_ext
================================================= test session starts =================================================
platform win32 -- Python 3.12.0, pytest-8.1.1, pluggy-1.4.0 -- C:\Users\Icon\AppData\Local\Programs\Python\Python312\python.exe
cachedir: .pytest_cache
rootdir: D:\hackathons\logithon\excalibur
configfile: setup.cfg
plugins: cov-5.0.0
collected 0 items / 1 error
C:\Users\Icon\AppData\Local\Programs\Python\Python312\Lib\site-packages\coverage\inorout.py:503: CoverageWarning: Module camelot was never imported. (module-not-imported)
self.warn(f"Module {pkg} was never imported.", slug="module-not-imported")
C:\Users\Icon\AppData\Local\Programs\Python\Python312\Lib\site-packages\coverage\control.py:887: CoverageWarning: No data was collected. (no-data-collected)
self._warn("No data was collected.", slug="no-data-collected")
WARNING: Failed to generate report: No data to report.

C:\Users\Icon\AppData\Local\Programs\Python\Python312\Lib\site-packages\pytest_cov\plugin.py:352: CovReportWarning: Failed to generate report: No data to report.

warnings.warn(CovReportWarning(message), stacklevel=1)

======================================================= ERRORS ========================================================
________________________________________ ERROR collecting tests/test_utils.py _________________________________________
ImportError while importing test module 'D:\hackathons\logithon\excalibur\tests\test_utils.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
C:\Users\Icon\AppData\Local\Programs\Python\Python312\Lib\importlib_init_.py:90: in import_module
return bootstrap.gcd_import(name[level:], package, level)
tests\test_utils.py:1: in
from excalibur.utils.file import allowed_filename
excalibur\utils\file.py:3: in
from .. import configuration as conf
excalibur\configuration.py:4: in
from backports.configparser import ConfigParser
C:\Users\Icon\AppData\Local\Programs\Python\Python312\Lib\site-packages\backports\configparser_init
.py:130: in
from collections import MutableMapping
E ImportError: cannot import name 'MutableMapping' from 'collections' (C:\Users\Icon\AppData\Local\Programs\Python\Python312\Lib\collections_init
.py)

---------- coverage: platform win32, python 3.12.0-final-0 -----------

=============================================== short test summary info ===============================================
ERROR tests/test_utils.py
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
================================================== 1 error in 0.46s ===================================================

D:\hackathons\logithon\excalibur>

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

1 participant