camelot-dev / camelot-dev/excalibur

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

Open
#182 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
1.8k
Forks
238
PR merge metrics
No merged PRs in 30d

Description

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>

Contributor guide

Open the contributing guide

Research direction

Start by running `python setup.py test` and inspect `tests/test_utils.py`, `excalibur/utils/file.py`, and `excalibur/configuration.py`. Check the `backports.configparser` import failure on Python 3.12; done means test collection completes without the reported ImportError and the tests can run.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
testing-qa
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.