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

[BUG] 3.0.10: test suite fails in End-to-end coverage_cmd_src_pkg_layout unit with coverage 7.4.4 #6138

Open
kloczek opened this issue Apr 9, 2024 · 0 comments

Comments

@kloczek
Copy link

kloczek commented Apr 9, 2024

Describe the bug

Looks like cython 3.0.10 test suite fails in End-to-end coverage_cmd_src_pkg_layout unit with latest coverage 7.4.4.

Code to reproduce the behaviour:

Errors from shard 35:
======================================================================
FAIL: runTest (__main__.EndToEndTest)
[35] End-to-end coverage_cmd_src_pkg_layout
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/tkloczko/rpmbuild/BUILD/cython-3.0.10/runtests.py", line 2095, in runTest
    self.assertEqual(0, res, "non-zero exit status, last output was:\n%r\n-- stdout:%s\n-- stderr:%s\n" % (
AssertionError: 0 != 1 : non-zero exit status, last output was:
'/usr/bin/python3 -m coverage run --source=pkg coverage_test.py'
-- stdout:
-- stderr:Traceback (most recent call last):
  File "/home/tkloczko/rpmbuild/BUILD/cython-3.0.10/TEST_TMP/35/run/coverage_cmd_src_pkg_layout/coverage_test.py", line 3, in <module>
    from pkg import module1
ModuleNotFoundError: No module named 'pkg'
/usr/lib64/python3.10/site-packages/coverage/inorout.py:503: CoverageWarning: Module pkg was never imported. (module-not-imported)
  self.warn(f"Module {pkg} was never imported.", slug="module-not-imported")
/usr/lib64/python3.10/site-packages/coverage/control.py:887: CoverageWarning: No data was collected. (no-data-collected)
  self._warn("No data was collected.", slug="no-data-collected")

Expected behaviour

test suite should not fai.

OS

Linux x86/64

Python version

3.10.14

Cython version

3.0.10

Additional context

No response

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