sioscgi 4.0.0__tar.gz → 5.0.0__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,10 @@
1
+ Changes in 4.1.0
2
+ ================
3
+
4
+ Ruff linting and formatting was applied. Substantial internal refactoring was
5
+ performed. A more detailed exception hierarchy was introduced, with
6
+ ``LocalProtocolError`` and ``RemoteProtocolError`` becoming base classes.
7
+
1
8
  Changes in 4.0.0
2
9
  ================
3
10
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: sioscgi
3
- Version: 4.0.0
3
+ Version: 5.0.0
4
4
  Summary: A sans-I/O implementation of the SCGI specification.
5
5
  Home-page: https://gitlab.com/Hawk777/sioscgi
6
6
  Author: Christopher Head
@@ -11,7 +11,7 @@ Classifier: Operating System :: OS Independent
11
11
  Classifier: Programming Language :: Python :: 3
12
12
  Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content :: CGI Tools/Libraries
13
13
  Classifier: Topic :: Software Development :: Libraries :: Python Modules
14
- Requires-Python: >=3.9
14
+ Requires-Python: >=3.10
15
15
  Description-Content-Type: text/x-rst
16
16
  License-File: LICENSE
17
17
 
@@ -12,6 +12,7 @@ enable = [
12
12
  ]
13
13
 
14
14
  disable = [
15
+ "duplicate-code",
15
16
  "line-too-long",
16
17
  "no-else-raise",
17
18
  "no-else-return",
@@ -22,3 +23,19 @@ disable = [
22
23
  "too-many-nested-blocks",
23
24
  "too-many-statements",
24
25
  ]
26
+
27
+ [tool.ruff]
28
+ allowed-confusables = ["’"]
29
+ ignore = [
30
+ "C901", # complex-structure
31
+ "COM812", # missing-trailing-comma
32
+ "D203", # one-blank-line-before-class
33
+ "D212", # multi-line-summary-first-line
34
+ "PLR09", # too-many-<foo>
35
+ "PT", # pytest-related stuff
36
+ "S101", # assert
37
+ "TCH003", # typing-only-standard-library-import
38
+ ]
39
+ select = ["ALL"]
40
+ src = ["src"]
41
+ target-version = "py310"
@@ -1,6 +1,6 @@
1
1
  [metadata]
2
2
  name = sioscgi
3
- version = 4.0.0
3
+ version = 5.0.0
4
4
  url = https://gitlab.com/Hawk777/sioscgi
5
5
  author = Christopher Head
6
6
  classifiers =
@@ -17,7 +17,7 @@ long_description_content_type = text/x-rst
17
17
 
18
18
  [options]
19
19
  zip_safe = True
20
- python_requires = >=3.9
20
+ python_requires = >=3.10
21
21
  packages = sioscgi
22
22
  package_dir =
23
23
  =src
@@ -0,0 +1,6 @@
1
+ """Implements the SCGI protocol."""
2
+
3
+ import importlib.metadata
4
+
5
+ __all__ = ["request", "response"]
6
+ __version__ = importlib.metadata.version("sioscgi")