Skip to content

Add a GitHub Action to run pytest on Python 3.14#310

Closed
cclauss wants to merge 1 commit into
python-lz4:masterfrom
cclauss:patch-2
Closed

Add a GitHub Action to run pytest on Python 3.14#310
cclauss wants to merge 1 commit into
python-lz4:masterfrom
cclauss:patch-2

Conversation

@cclauss

@cclauss cclauss commented Sep 24, 2025

Copy link
Copy Markdown
Contributor

@cclauss cclauss changed the title Add a GitHub Action to run pytest Add a GitHub Action to run pytest on Python 3.14 Sep 24, 2025
@cclauss

cclauss commented Oct 20, 2025

Copy link
Copy Markdown
Contributor Author

% pip install psutil && pytest

============================= test session starts ==============================
platform linux -- Python 3.10.19, pytest-8.4.2, pluggy-1.6.0
rootdir: /home/runner/work/python-lz4/python-lz4
configfile: tox.ini
collected 19804 items / 1 error

==================================== ERRORS ====================================
________________ ERROR collecting tests/stream/test_stream_0.py ________________
ImportError while importing test module '/home/runner/work/python-lz4/python-lz4/tests/stream/test_stream_0.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/opt/hostedtoolcache/Python/3.10.19/x64/lib/python3.10/importlib/__init__.py:126: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
tests/stream/test_stream_0.py:1: in <module>
    import lz4.stream
lz4/stream/__init__.py:1: in <module>
    from ._stream import _create_context, _compress, _decompress, _get_block
E   ModuleNotFoundError: No module named 'lz4.stream._stream'
=========================== short test summary info ============================
ERROR tests/stream/test_stream_0.py
!!!!!!!!!!!!!!!!!!!!!!!!!! stopping after 1 failures !!!!!!!!!!!!!!!!!!!!!!!!!!!
========================= 3 warnings, 1 error in 1.24s =========================

@cclauss

cclauss commented Oct 21, 2025

Copy link
Copy Markdown
Contributor Author

I am missing some Cython thing...

@cclauss cclauss closed this Oct 21, 2025
@cclauss cclauss deleted the patch-2 branch October 21, 2025 16:27
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

Successfully merging this pull request may close these issues.

1 participant