Skip to content

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

@Goddivinein

Description

@Goddivinein

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>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions