bugdantic 0.2.2__tar.gz → 0.2.4__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.4
2
2
  Name: bugdantic
3
- Version: 0.2.2
3
+ Version: 0.2.4
4
4
  Summary: Bugzilla client based on pydantic
5
5
  Author-email: James Graham <james@hoppipolla.co.uk>
6
6
  Classifier: License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)
@@ -8,10 +8,11 @@ Classifier: Programming Language :: Python :: Implementation :: CPython
8
8
  Classifier: Programming Language :: Python :: Implementation :: PyPy
9
9
  Requires-Python: >=3.11
10
10
  License-File: LICENSE
11
- Requires-Dist: httpx[http2]==0.28.1
12
- Requires-Dist: pydantic==2.10.5
11
+ Requires-Dist: httpx[http2]>=0.28.1
12
+ Requires-Dist: pydantic>=2.11.3
13
13
  Provides-Extra: test
14
- Requires-Dist: mypy==1.10.0; extra == "test"
15
- Requires-Dist: ruff==0.4.8; extra == "test"
16
- Requires-Dist: pytest==8.3.4; extra == "test"
14
+ Requires-Dist: mypy==1.15.0; extra == "test"
15
+ Requires-Dist: ruff==0.11.7; extra == "test"
16
+ Requires-Dist: pytest==8.3.5; extra == "test"
17
+ Requires-Dist: pytest-ruff==0.4.1; extra == "test"
17
18
  Dynamic: license-file
@@ -118,6 +118,7 @@ class Bug(BaseModel):
118
118
 
119
119
  # BMO specific custom fields
120
120
  cf_last_resolved: Optional[datetime] = None
121
+ cf_size_estimate: Optional[str] = None
121
122
  cf_user_story: Optional[str] = None
122
123
  cf_webcompat_priority: Optional[str] = None
123
124
  cf_webcompat_score: Optional[str] = None
@@ -220,6 +221,15 @@ class WebcompatPriority(enum.StrEnum):
220
221
  requested = "?"
221
222
 
222
223
 
224
+ class SizeEstimate(enum.StrEnum):
225
+ unset = "---"
226
+ XS = "XS"
227
+ S = "S"
228
+ M = "M"
229
+ L = "L"
230
+ XL = "XL"
231
+
232
+
223
233
  class BugUpdate(BaseModel):
224
234
  ids: Optional[list[int]] = None
225
235
  id_or_alias: Optional[int | str] = None
@@ -259,6 +269,7 @@ class BugUpdate(BaseModel):
259
269
  work_time: Optional[str] = None
260
270
 
261
271
  # BMO specific custom fields
272
+ cf_size_estimate: Optional[SizeEstimate] = None
262
273
  cf_user_story: Optional[str] = None
263
274
  cf_webcompat_priority: Optional[WebcompatPriority] = None
264
275
  cf_webcompat_score: Optional[str] = None
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: bugdantic
3
- Version: 0.2.2
3
+ Version: 0.2.4
4
4
  Summary: Bugzilla client based on pydantic
5
5
  Author-email: James Graham <james@hoppipolla.co.uk>
6
6
  Classifier: License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)
@@ -8,10 +8,11 @@ Classifier: Programming Language :: Python :: Implementation :: CPython
8
8
  Classifier: Programming Language :: Python :: Implementation :: PyPy
9
9
  Requires-Python: >=3.11
10
10
  License-File: LICENSE
11
- Requires-Dist: httpx[http2]==0.28.1
12
- Requires-Dist: pydantic==2.10.5
11
+ Requires-Dist: httpx[http2]>=0.28.1
12
+ Requires-Dist: pydantic>=2.11.3
13
13
  Provides-Extra: test
14
- Requires-Dist: mypy==1.10.0; extra == "test"
15
- Requires-Dist: ruff==0.4.8; extra == "test"
16
- Requires-Dist: pytest==8.3.4; extra == "test"
14
+ Requires-Dist: mypy==1.15.0; extra == "test"
15
+ Requires-Dist: ruff==0.11.7; extra == "test"
16
+ Requires-Dist: pytest==8.3.5; extra == "test"
17
+ Requires-Dist: pytest-ruff==0.4.1; extra == "test"
17
18
  Dynamic: license-file
@@ -0,0 +1,8 @@
1
+ httpx[http2]>=0.28.1
2
+ pydantic>=2.11.3
3
+
4
+ [test]
5
+ mypy==1.15.0
6
+ ruff==0.11.7
7
+ pytest==8.3.5
8
+ pytest-ruff==0.4.1
@@ -5,7 +5,7 @@ authors = [
5
5
  {name = "James Graham", email = "james@hoppipolla.co.uk"}
6
6
  ]
7
7
 
8
- version = "0.2.2"
8
+ version = "0.2.4"
9
9
  requires-python = ">=3.11"
10
10
  classifiers = [
11
11
  "License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)",
@@ -14,13 +14,14 @@ classifiers = [
14
14
  ]
15
15
 
16
16
  dependencies = [
17
- "httpx[http2]==0.28.1",
18
- "pydantic==2.10.5",
17
+ "httpx[http2]>=0.28.1",
18
+ "pydantic>=2.11.3",
19
19
  ]
20
20
 
21
21
  [project.optional-dependencies]
22
22
  test = [
23
- "mypy==1.10.0",
24
- "ruff==0.4.8",
25
- "pytest==8.3.4",
23
+ "mypy==1.15.0",
24
+ "ruff==0.11.7",
25
+ "pytest==8.3.5",
26
+ "pytest-ruff==0.4.1",
26
27
  ]
@@ -1,7 +0,0 @@
1
- httpx[http2]==0.28.1
2
- pydantic==2.10.5
3
-
4
- [test]
5
- mypy==1.10.0
6
- ruff==0.4.8
7
- pytest==8.3.4
File without changes
File without changes
File without changes
File without changes