sioscgi 5.0.1__tar.gz → 5.0.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {sioscgi-5.0.1 → sioscgi-5.0.2}/CHANGELOG.rst +20 -0
- {sioscgi-5.0.1 → sioscgi-5.0.2}/PKG-INFO +2 -2
- {sioscgi-5.0.1 → sioscgi-5.0.2}/pyproject.toml +13 -13
- {sioscgi-5.0.1 → sioscgi-5.0.2}/pyproject.toml.orig +12 -10
- {sioscgi-5.0.1 → sioscgi-5.0.2}/src/sioscgi/__init__.py +0 -1
- {sioscgi-5.0.1 → sioscgi-5.0.2}/src/sioscgi/request.py +4 -2
- {sioscgi-5.0.1 → sioscgi-5.0.2}/README.rst +0 -0
- {sioscgi-5.0.1 → sioscgi-5.0.2}/src/sioscgi/py.typed +0 -0
- {sioscgi-5.0.1 → sioscgi-5.0.2}/src/sioscgi/response.py +0 -0
- {sioscgi-5.0.1 → sioscgi-5.0.2}/tests/__init__.py +0 -0
- {sioscgi-5.0.1 → sioscgi-5.0.2}/tests/test_request.py +0 -0
- {sioscgi-5.0.1 → sioscgi-5.0.2}/tests/test_response.py +0 -0
|
@@ -1,3 +1,23 @@
|
|
|
1
|
+
Changes in 5.0.2
|
|
2
|
+
================
|
|
3
|
+
|
|
4
|
+
The minimum Python version was increased to 3.14.
|
|
5
|
+
|
|
6
|
+
``__all__`` was removed from ``__init__.py``. Therefore, ``from sioscgi import
|
|
7
|
+
*`` will no longer work. This was not a good pattern anyway, and should not
|
|
8
|
+
have been used.
|
|
9
|
+
|
|
10
|
+
Linting was cleaned up and modernized.
|
|
11
|
+
|
|
12
|
+
Changes in 5.0.1
|
|
13
|
+
================
|
|
14
|
+
|
|
15
|
+
The minimum Python version was increased to 3.12.
|
|
16
|
+
|
|
17
|
+
The build system is changed from setuptools to uv_build.
|
|
18
|
+
|
|
19
|
+
Significant internal cleanup was performed.
|
|
20
|
+
|
|
1
21
|
Changes in 5.0.0
|
|
2
22
|
================
|
|
3
23
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: sioscgi
|
|
3
|
-
Version: 5.0.
|
|
3
|
+
Version: 5.0.2
|
|
4
4
|
Summary: A sans-I/O implementation of the SCGI specification.
|
|
5
5
|
Author: Christopher Head
|
|
6
6
|
License-Expression: GPL-3.0-only
|
|
@@ -10,7 +10,7 @@ Classifier: Operating System :: OS Independent
|
|
|
10
10
|
Classifier: Programming Language :: Python :: 3
|
|
11
11
|
Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content :: CGI Tools/Libraries
|
|
12
12
|
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
13
|
-
Requires-Python: >=3.
|
|
13
|
+
Requires-Python: >=3.14
|
|
14
14
|
Project-URL: Repository, https://gitlab.com/Hawk777/sioscgi.git
|
|
15
15
|
Description-Content-Type: text/x-rst
|
|
16
16
|
|
|
@@ -3,23 +3,20 @@ requires = ["uv_build ~= 0.12.3"]
|
|
|
3
3
|
build-backend = "uv_build"
|
|
4
4
|
|
|
5
5
|
[dependency-groups]
|
|
6
|
-
ci = [
|
|
7
|
-
"mypy-gitlab-code-quality",
|
|
8
|
-
"pylint-gitlab",
|
|
9
|
-
]
|
|
6
|
+
ci = ["pylint-gitlab"]
|
|
10
7
|
dev = [
|
|
11
|
-
"
|
|
12
|
-
"
|
|
13
|
-
"pytest ~= 9.
|
|
14
|
-
"ruff ~= 0.
|
|
8
|
+
"pylint ~= 4.1.3",
|
|
9
|
+
"pyright ~= 1.1.414",
|
|
10
|
+
"pytest ~= 9.2.0",
|
|
11
|
+
"ruff ~= 0.17.3",
|
|
15
12
|
]
|
|
16
13
|
|
|
17
14
|
[project]
|
|
18
15
|
name = "sioscgi"
|
|
19
|
-
version = "5.0.
|
|
16
|
+
version = "5.0.2"
|
|
20
17
|
description = "A sans-I/O implementation of the SCGI specification."
|
|
21
18
|
readme = "README.rst"
|
|
22
|
-
requires-python = ">=3.
|
|
19
|
+
requires-python = ">=3.14"
|
|
23
20
|
license = "GPL-3.0-only"
|
|
24
21
|
classifiers = [
|
|
25
22
|
"Development Status :: 5 - Production/Stable",
|
|
@@ -48,6 +45,11 @@ disable = [
|
|
|
48
45
|
"too-many-instance-attributes",
|
|
49
46
|
]
|
|
50
47
|
|
|
48
|
+
[tool.pyright]
|
|
49
|
+
exclude = [".ruff_cache"]
|
|
50
|
+
pythonVersion = "3.14"
|
|
51
|
+
typeCheckingMode = "strict"
|
|
52
|
+
|
|
51
53
|
[tool.pytest]
|
|
52
54
|
addopts = ["--import-mode=importlib"]
|
|
53
55
|
strict = true
|
|
@@ -55,7 +57,7 @@ testpaths = ["tests"]
|
|
|
55
57
|
|
|
56
58
|
[tool.ruff]
|
|
57
59
|
src = ["src"]
|
|
58
|
-
target-version = "
|
|
60
|
+
target-version = "py314"
|
|
59
61
|
|
|
60
62
|
[tool.ruff.lint]
|
|
61
63
|
allowed-confusables = ["’"]
|
|
@@ -64,9 +66,7 @@ ignore = [
|
|
|
64
66
|
"CPY001",
|
|
65
67
|
"D203",
|
|
66
68
|
"D212",
|
|
67
|
-
"PLR09",
|
|
68
69
|
"S101",
|
|
69
|
-
"TC003",
|
|
70
70
|
]
|
|
71
71
|
select = ["ALL"]
|
|
72
72
|
|
|
@@ -4,22 +4,21 @@ build-backend = "uv_build"
|
|
|
4
4
|
|
|
5
5
|
[dependency-groups]
|
|
6
6
|
ci = [
|
|
7
|
-
"mypy-gitlab-code-quality",
|
|
8
7
|
"pylint-gitlab",
|
|
9
8
|
]
|
|
10
9
|
dev = [
|
|
11
|
-
"
|
|
12
|
-
"
|
|
13
|
-
"pytest ~= 9.
|
|
14
|
-
"ruff ~= 0.
|
|
10
|
+
"pylint ~= 4.1.3",
|
|
11
|
+
"pyright ~= 1.1.414",
|
|
12
|
+
"pytest ~= 9.2.0",
|
|
13
|
+
"ruff ~= 0.17.3",
|
|
15
14
|
]
|
|
16
15
|
|
|
17
16
|
[project]
|
|
18
17
|
name = "sioscgi"
|
|
19
|
-
version = "5.0.
|
|
18
|
+
version = "5.0.2"
|
|
20
19
|
description = "A sans-I/O implementation of the SCGI specification."
|
|
21
20
|
readme = "README.rst"
|
|
22
|
-
requires-python = ">=3.
|
|
21
|
+
requires-python = ">=3.14"
|
|
23
22
|
license = "GPL-3.0-only"
|
|
24
23
|
authors = [
|
|
25
24
|
{ name = "Christopher Head" },
|
|
@@ -47,6 +46,11 @@ disable = [
|
|
|
47
46
|
"too-many-instance-attributes",
|
|
48
47
|
]
|
|
49
48
|
|
|
49
|
+
[tool.pyright]
|
|
50
|
+
exclude = [".ruff_cache"]
|
|
51
|
+
pythonVersion = "3.14"
|
|
52
|
+
typeCheckingMode = "strict"
|
|
53
|
+
|
|
50
54
|
[tool.pytest]
|
|
51
55
|
addopts = ["--import-mode=importlib"]
|
|
52
56
|
strict = true
|
|
@@ -54,7 +58,7 @@ testpaths = ["tests"]
|
|
|
54
58
|
|
|
55
59
|
[tool.ruff]
|
|
56
60
|
src = ["src"]
|
|
57
|
-
target-version = "
|
|
61
|
+
target-version = "py314"
|
|
58
62
|
|
|
59
63
|
[tool.ruff.lint]
|
|
60
64
|
allowed-confusables = ["’"]
|
|
@@ -63,9 +67,7 @@ ignore = [
|
|
|
63
67
|
"CPY001", # missing-copyright-notice
|
|
64
68
|
"D203", # one-blank-line-before-class
|
|
65
69
|
"D212", # multi-line-summary-first-line
|
|
66
|
-
"PLR09", # too-many-<foo>
|
|
67
70
|
"S101", # assert
|
|
68
|
-
"TC003", # typing-only-standard-library-import
|
|
69
71
|
]
|
|
70
72
|
select = ["ALL"]
|
|
71
73
|
|
|
@@ -6,8 +6,10 @@ import collections
|
|
|
6
6
|
import enum
|
|
7
7
|
import functools
|
|
8
8
|
import logging
|
|
9
|
-
from
|
|
10
|
-
|
|
9
|
+
from typing import TYPE_CHECKING, ClassVar, NoReturn
|
|
10
|
+
|
|
11
|
+
if TYPE_CHECKING:
|
|
12
|
+
from collections.abc import Callable
|
|
11
13
|
|
|
12
14
|
|
|
13
15
|
@enum.unique
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|