Skip to content

0.4.3.4: three deprecation warnings with Python 3.14 #64

@mtelka

Description

@mtelka

Testing of version 0.4.3.4 with Python 3.14.0 shows these warnings:

=============================== warnings summary ===============================
tests/test_cgi.py::CGIHandlerTests::test_server
tests/test_cgi.py::CGIHandlerTests::test_server
  /usr/lib/python3.14/socketserver.py:362: DeprecationWarning: 'http.server.CGIHTTPRequestHandler' is deprecated and slated for removal in Python 3.15
    self.RequestHandlerClass(request, client_address, self)

tests/test_cgi.py::CGIHandlerTests::test_server
tests/test_cgi.py::CGIHandlerTests::test_server
  /usr/lib/python3.14/http/server.py:1231: DeprecationWarning: This process (pid=842128) is multi-threaded, use of fork() may lead to deadlocks in the child.   
    pid = os.fork()

tests/test_headers.py: 71 warnings
  /data/builds/ul-mass-rebuild/components/python/jsonrpclib-pelix/build/amd64-3.14/tests/test_headers.py:88: DeprecationWarning: 'maxsplit' is passed as positional argument
    raw_headers = map(lambda h: re.split(r":\s?", h, 1), raw_headers)

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
================= 63 passed, 6 skipped, 75 warnings in 23.63s ==================

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions