sioscgi 5.0.0__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.
@@ -1,3 +1,32 @@
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
+
21
+ Changes in 5.0.0
22
+ ================
23
+
24
+ The ``sioscgi`` module has been split into separate ``sioscgi.request`` and
25
+ ``sioscgi.response`` modules with separate types which can be used
26
+ independently.
27
+
28
+ Extra data after the request body is now ignored rather than raising an error.
29
+
1
30
  Changes in 4.1.0
2
31
  ================
3
32
 
@@ -1,19 +1,18 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.4
2
2
  Name: sioscgi
3
- Version: 5.0.0
3
+ Version: 5.0.2
4
4
  Summary: A sans-I/O implementation of the SCGI specification.
5
- Home-page: https://gitlab.com/Hawk777/sioscgi
6
5
  Author: Christopher Head
6
+ License-Expression: GPL-3.0-only
7
7
  Classifier: Development Status :: 5 - Production/Stable
8
8
  Classifier: Intended Audience :: Developers
9
- Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
10
9
  Classifier: Operating System :: OS Independent
11
10
  Classifier: Programming Language :: Python :: 3
12
11
  Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content :: CGI Tools/Libraries
13
12
  Classifier: Topic :: Software Development :: Libraries :: Python Modules
14
- Requires-Python: >=3.10
13
+ Requires-Python: >=3.14
14
+ Project-URL: Repository, https://gitlab.com/Hawk777/sioscgi.git
15
15
  Description-Content-Type: text/x-rst
16
- License-File: LICENSE
17
16
 
18
17
  What is sioscgi?
19
18
  ================
@@ -0,0 +1,77 @@
1
+ [build-system]
2
+ requires = ["uv_build ~= 0.12.3"]
3
+ build-backend = "uv_build"
4
+
5
+ [dependency-groups]
6
+ ci = ["pylint-gitlab"]
7
+ dev = [
8
+ "pylint ~= 4.1.3",
9
+ "pyright ~= 1.1.414",
10
+ "pytest ~= 9.2.0",
11
+ "ruff ~= 0.17.3",
12
+ ]
13
+
14
+ [project]
15
+ name = "sioscgi"
16
+ version = "5.0.2"
17
+ description = "A sans-I/O implementation of the SCGI specification."
18
+ readme = "README.rst"
19
+ requires-python = ">=3.14"
20
+ license = "GPL-3.0-only"
21
+ classifiers = [
22
+ "Development Status :: 5 - Production/Stable",
23
+ "Intended Audience :: Developers",
24
+ "Operating System :: OS Independent",
25
+ "Programming Language :: Python :: 3",
26
+ "Topic :: Internet :: WWW/HTTP :: Dynamic Content :: CGI Tools/Libraries",
27
+ "Topic :: Software Development :: Libraries :: Python Modules",
28
+ ]
29
+
30
+ [[project.authors]]
31
+ name = "Christopher Head"
32
+
33
+ [project.urls]
34
+ Repository = "https://gitlab.com/Hawk777/sioscgi.git"
35
+
36
+ [tool.pylint.messages_control]
37
+ enable = [
38
+ "deprecated-pragma",
39
+ "useless-suppression",
40
+ "use-symbolic-message-instead",
41
+ ]
42
+ disable = [
43
+ "duplicate-code",
44
+ "too-few-public-methods",
45
+ "too-many-instance-attributes",
46
+ ]
47
+
48
+ [tool.pyright]
49
+ exclude = [".ruff_cache"]
50
+ pythonVersion = "3.14"
51
+ typeCheckingMode = "strict"
52
+
53
+ [tool.pytest]
54
+ addopts = ["--import-mode=importlib"]
55
+ strict = true
56
+ testpaths = ["tests"]
57
+
58
+ [tool.ruff]
59
+ src = ["src"]
60
+ target-version = "py314"
61
+
62
+ [tool.ruff.lint]
63
+ allowed-confusables = ["’"]
64
+ ignore = [
65
+ "COM812",
66
+ "CPY001",
67
+ "D203",
68
+ "D212",
69
+ "S101",
70
+ ]
71
+ select = ["ALL"]
72
+
73
+ [tool.uv.build-backend]
74
+ source-include = [
75
+ "CHANGELOG.rst",
76
+ "tests/**",
77
+ ]
@@ -0,0 +1,75 @@
1
+ [build-system]
2
+ requires = ["uv_build ~= 0.12.3"]
3
+ build-backend = "uv_build"
4
+
5
+ [dependency-groups]
6
+ ci = [
7
+ "pylint-gitlab",
8
+ ]
9
+ dev = [
10
+ "pylint ~= 4.1.3",
11
+ "pyright ~= 1.1.414",
12
+ "pytest ~= 9.2.0",
13
+ "ruff ~= 0.17.3",
14
+ ]
15
+
16
+ [project]
17
+ name = "sioscgi"
18
+ version = "5.0.2"
19
+ description = "A sans-I/O implementation of the SCGI specification."
20
+ readme = "README.rst"
21
+ requires-python = ">=3.14"
22
+ license = "GPL-3.0-only"
23
+ authors = [
24
+ { name = "Christopher Head" },
25
+ ]
26
+ classifiers = [
27
+ "Development Status :: 5 - Production/Stable",
28
+ "Intended Audience :: Developers",
29
+ "Operating System :: OS Independent",
30
+ "Programming Language :: Python :: 3",
31
+ "Topic :: Internet :: WWW/HTTP :: Dynamic Content :: CGI Tools/Libraries",
32
+ "Topic :: Software Development :: Libraries :: Python Modules",
33
+ ]
34
+ urls = { Repository = "https://gitlab.com/Hawk777/sioscgi.git" }
35
+
36
+ [tool.pylint.messages_control]
37
+ enable = [
38
+ "deprecated-pragma",
39
+ "useless-suppression",
40
+ "use-symbolic-message-instead",
41
+ ]
42
+
43
+ disable = [
44
+ "duplicate-code",
45
+ "too-few-public-methods",
46
+ "too-many-instance-attributes",
47
+ ]
48
+
49
+ [tool.pyright]
50
+ exclude = [".ruff_cache"]
51
+ pythonVersion = "3.14"
52
+ typeCheckingMode = "strict"
53
+
54
+ [tool.pytest]
55
+ addopts = ["--import-mode=importlib"]
56
+ strict = true
57
+ testpaths = ["tests"]
58
+
59
+ [tool.ruff]
60
+ src = ["src"]
61
+ target-version = "py314"
62
+
63
+ [tool.ruff.lint]
64
+ allowed-confusables = ["’"]
65
+ ignore = [
66
+ "COM812", # missing-trailing-comma
67
+ "CPY001", # missing-copyright-notice
68
+ "D203", # one-blank-line-before-class
69
+ "D212", # multi-line-summary-first-line
70
+ "S101", # assert
71
+ ]
72
+ select = ["ALL"]
73
+
74
+ [tool.uv.build-backend]
75
+ source-include = ["CHANGELOG.rst", "tests/**"]
@@ -2,5 +2,4 @@
2
2
 
3
3
  import importlib.metadata
4
4
 
5
- __all__ = ["request", "response"]
6
5
  __version__ = importlib.metadata.version("sioscgi")