Skip to content

Support Python 3.14 #10

@gvangool

Description

@gvangool

Compiling this on Python 3.14 is throwing a segmentation fault.

Also tested with updated dependencies (to see whether newer version of maturin might fix it).

============================================================================ test session starts =============================================================================
platform linux -- Python 3.14.0, pytest-8.4.2, pluggy-1.6.0
rootdir: /home/ubuntu/src/djc-core-html-parser
configfile: pyproject.toml
testpaths: tests
collected 7 items

tests/test_html_parser.py Fatal Python error: Segmentation fault

Current thread 0x000079ed5dc10740 [python] (most recent call first):
  File "/home/ubuntu/src/djc-core-html-parser/tests/test_html_parser.py", line 10 in test_basic_transformation
  File "/home/ubuntu/src/djc-core-html-parser/.venv/lib/python3.14/site-packages/_pytest/python.py", line 157 in pytest_pyfunc_call
  File "/home/ubuntu/src/djc-core-html-parser/.venv/lib/python3.14/site-packages/pluggy/_callers.py", line 121 in _multicall
  File "/home/ubuntu/src/djc-core-html-parser/.venv/lib/python3.14/site-packages/pluggy/_manager.py", line 120 in _hookexec
  File "/home/ubuntu/src/djc-core-html-parser/.venv/lib/python3.14/site-packages/pluggy/_hooks.py", line 512 in __call__
  File "/home/ubuntu/src/djc-core-html-parser/.venv/lib/python3.14/site-packages/_pytest/python.py", line 1671 in runtest
  File "/home/ubuntu/src/djc-core-html-parser/.venv/lib/python3.14/site-packages/_pytest/runner.py", line 178 in pytest_runtest_call
  File "/home/ubuntu/src/djc-core-html-parser/.venv/lib/python3.14/site-packages/pluggy/_callers.py", line 121 in _multicall
  File "/home/ubuntu/src/djc-core-html-parser/.venv/lib/python3.14/site-packages/pluggy/_manager.py", line 120 in _hookexec
  File "/home/ubuntu/src/djc-core-html-parser/.venv/lib/python3.14/site-packages/pluggy/_hooks.py", line 512 in __call__
  File "/home/ubuntu/src/djc-core-html-parser/.venv/lib/python3.14/site-packages/_pytest/runner.py", line 246 in <lambda>
  File "/home/ubuntu/src/djc-core-html-parser/.venv/lib/python3.14/site-packages/_pytest/runner.py", line 344 in from_call
  File "/home/ubuntu/src/djc-core-html-parser/.venv/lib/python3.14/site-packages/_pytest/runner.py", line 245 in call_and_report
  File "/home/ubuntu/src/djc-core-html-parser/.venv/lib/python3.14/site-packages/_pytest/runner.py", line 136 in runtestprotocol
  File "/home/ubuntu/src/djc-core-html-parser/.venv/lib/python3.14/site-packages/_pytest/runner.py", line 117 in pytest_runtest_protocol
  File "/home/ubuntu/src/djc-core-html-parser/.venv/lib/python3.14/site-packages/pluggy/_callers.py", line 121 in _multicall
  File "/home/ubuntu/src/djc-core-html-parser/.venv/lib/python3.14/site-packages/pluggy/_manager.py", line 120 in _hookexec
  File "/home/ubuntu/src/djc-core-html-parser/.venv/lib/python3.14/site-packages/pluggy/_hooks.py", line 512 in __call__
  File "/home/ubuntu/src/djc-core-html-parser/.venv/lib/python3.14/site-packages/_pytest/main.py", line 367 in pytest_runtestloop
  File "/home/ubuntu/src/djc-core-html-parser/.venv/lib/python3.14/site-packages/pluggy/_callers.py", line 121 in _multicall
  File "/home/ubuntu/src/djc-core-html-parser/.venv/lib/python3.14/site-packages/pluggy/_manager.py", line 120 in _hookexec
  File "/home/ubuntu/src/djc-core-html-parser/.venv/lib/python3.14/site-packages/pluggy/_hooks.py", line 512 in __call__
  File "/home/ubuntu/src/djc-core-html-parser/.venv/lib/python3.14/site-packages/_pytest/main.py", line 343 in _main
  File "/home/ubuntu/src/djc-core-html-parser/.venv/lib/python3.14/site-packages/_pytest/main.py", line 289 in wrap_session
  File "/home/ubuntu/src/djc-core-html-parser/.venv/lib/python3.14/site-packages/_pytest/main.py", line 336 in pytest_cmdline_main
  File "/home/ubuntu/src/djc-core-html-parser/.venv/lib/python3.14/site-packages/pluggy/_callers.py", line 121 in _multicall
  File "/home/ubuntu/src/djc-core-html-parser/.venv/lib/python3.14/site-packages/pluggy/_manager.py", line 120 in _hookexec
  File "/home/ubuntu/src/djc-core-html-parser/.venv/lib/python3.14/site-packages/pluggy/_hooks.py", line 512 in __call__
  File "/home/ubuntu/src/djc-core-html-parser/.venv/lib/python3.14/site-packages/_pytest/config/__init__.py", line 175 in main
  File "/home/ubuntu/src/djc-core-html-parser/.venv/lib/python3.14/site-packages/_pytest/config/__init__.py", line 201 in console_main
  File "/home/ubuntu/src/djc-core-html-parser/.venv/lib/python3.14/site-packages/pytest/__main__.py", line 9 in <module>
  File "<frozen runpy>", line 88 in _run_code
  File "<frozen runpy>", line 198 in _run_module_as_main

Current thread's C stack trace (most recent call first):
  Binary file ".venv/bin/python", at _Py_DumpStack+0x27 [0x4c1807]
  Binary file ".venv/bin/python" [0x54e166]
  Binary file ".venv/bin/python" [0x54e06a]
  Binary file "/lib/x86_64-linux-gnu/libc.so.6", at +0x45330 [0x79ed5dc58330]
  Binary file ".venv/bin/python" [0x1a00d69]
  Binary file ".venv/bin/python", at _PyEval_UnpackIterableStackRef+0x85 [0x1a8e21f]
  Binary file ".venv/bin/python" [0x1a8dee7]
  Binary file ".venv/bin/python" [0x1a15313]
  Binary file ".venv/bin/python" [0x1a14b7f]
  Binary file ".venv/bin/python" [0x1ae46d8]
  Binary file ".venv/bin/python", at PyObject_Vectorcall+0x31c [0x1a1ca22]
  Binary file ".venv/bin/python" [0x1a6538c]
  Binary file ".venv/bin/python" [0x1a15313]
  Binary file ".venv/bin/python" [0x1a14b7f]
  Binary file ".venv/bin/python" [0x1ae46d8]
  Binary file ".venv/bin/python", at PyObject_Call+0x92 [0x1a63d54]
  Binary file ".venv/bin/python" [0x1a640be]
  Binary file ".venv/bin/python" [0x1a15313]
  Binary file ".venv/bin/python" [0x1a14b7f]
  Binary file ".venv/bin/python" [0x1ae46d8]
  Binary file ".venv/bin/python", at PyObject_Vectorcall+0x31c [0x1a1ca22]
  Binary file ".venv/bin/python" [0x1a6538c]
  Binary file ".venv/bin/python" [0x1a15313]
  Binary file ".venv/bin/python" [0x1a14b7f]
  Binary file ".venv/bin/python" [0x1ae46d8]
  Binary file ".venv/bin/python", at PyObject_Vectorcall+0x31c [0x1a1ca22]
  Binary file ".venv/bin/python" [0x1a6538c]
  Binary file ".venv/bin/python" [0x1a15313]
  Binary file ".venv/bin/python" [0x1a14b7f]
  Binary file ".venv/bin/python" [0x1ae46d8]
  Binary file ".venv/bin/python", at PyObject_Vectorcall+0x31c [0x1a1ca22]
  Binary file ".venv/bin/python" [0x1a6538c]
  <truncated rest of calls>

[1]    3314808 segmentation fault (core dumped)  .venv/bin/python -m pytest

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