core-https 1.1.0__tar.gz → 1.1.1__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,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: core-https
3
- Version: 1.1.0
3
+ Version: 1.1.1
4
4
  Summary: This project/library contains common elements related to HTTP & API services...
5
5
  Author-email: Alejandro Cora González <alek.cora.glez@gmail.com>
6
6
  Maintainer: Alejandro Cora González
@@ -25,6 +25,7 @@ Classifier: Programming Language :: Python :: 3.13
25
25
  Requires-Python: >=3.7
26
26
  Description-Content-Type: text/markdown
27
27
  License-File: LICENSE
28
+ Requires-Dist: core-mixins>=1.1.2
28
29
  Requires-Dist: core-tests>=1.1.0
29
30
  Requires-Dist: urllib3>=2.2.3; python_version >= "3.8"
30
31
  Requires-Dist: urllib3>=1.26.20; python_version >= "3.7" and python_version < "3.8"
@@ -4,7 +4,7 @@ try:
4
4
  from enum import StrEnum
5
5
 
6
6
  except ImportError:
7
- from core_https.utils import StrEnum
7
+ from core_mixins.compatibility import StrEnum
8
8
 
9
9
 
10
10
  class StatusInfo(StrEnum):
@@ -145,18 +145,3 @@ class HTTPMethod(Enum):
145
145
  return http_method
146
146
 
147
147
  raise ValueError(f"No HTTPMethod found for name: {name}")
148
-
149
-
150
- class StrEnum(str, Enum):
151
- """
152
- For backward compatibility because StrEnum class
153
- was added in Python 3.11...
154
- """
155
-
156
- def __new__(cls, value, *args, **kwargs):
157
- if not isinstance(value, str):
158
- raise TypeError(f"{value} is not a string")
159
-
160
- obj = str.__new__(cls, value)
161
- obj._value_ = value
162
- return obj
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: core-https
3
- Version: 1.1.0
3
+ Version: 1.1.1
4
4
  Summary: This project/library contains common elements related to HTTP & API services...
5
5
  Author-email: Alejandro Cora González <alek.cora.glez@gmail.com>
6
6
  Maintainer: Alejandro Cora González
@@ -25,6 +25,7 @@ Classifier: Programming Language :: Python :: 3.13
25
25
  Requires-Python: >=3.7
26
26
  Description-Content-Type: text/markdown
27
27
  License-File: LICENSE
28
+ Requires-Dist: core-mixins>=1.1.2
28
29
  Requires-Dist: core-tests>=1.1.0
29
30
  Requires-Dist: urllib3>=2.2.3; python_version >= "3.8"
30
31
  Requires-Dist: urllib3>=1.26.20; python_version >= "3.7" and python_version < "3.8"
@@ -1,3 +1,4 @@
1
+ core-mixins>=1.1.2
1
2
  core-tests>=1.1.0
2
3
 
3
4
  [:python_version >= "3.7" and python_version < "3.8"]
@@ -9,7 +9,7 @@ build-backend = "setuptools.build_meta"
9
9
  [project]
10
10
  name = "core-https"
11
11
  description = "This project/library contains common elements related to HTTP & API services..."
12
- version = "1.1.0"
12
+ version = "1.1.1"
13
13
 
14
14
  authors = [
15
15
  {name = "Alejandro Cora González", email = "alek.cora.glez@gmail.com"}
@@ -41,6 +41,7 @@ classifiers = [
41
41
  ]
42
42
 
43
43
  dependencies = [
44
+ "core-mixins>=1.1.2",
44
45
  "core-tests>=1.1.0",
45
46
  "urllib3>=2.2.3; python_version >= '3.8'",
46
47
  "urllib3>=1.26.20; python_version >= '3.7' and python_version < '3.8'",
File without changes
File without changes
File without changes
File without changes