public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/ansible-lint] rawhide: Remove upstream released patch
@ 2026-07-01  3:04 Parag Nemade
  0 siblings, 0 replies; only message in thread
From: Parag Nemade @ 2026-07-01  3:04 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/ansible-lint
Branch : rawhide
Commit : 0a56db1773be241724cd32f56bf539cb2e2855fd
Author : Parag Nemade <panemade AT redhat DOT com>
Date   : 2026-07-01T08:19:25+05:30
Stats  : +0/-34 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/ansible-lint/c/0a56db1773be241724cd32f56bf539cb2e2855fd?branch=rawhide

Log:
Remove upstream released patch

---
diff --git a/Fix-py-3.15-dataclasses-import-issue.patch b/Fix-py-3.15-dataclasses-import-issue.patch
deleted file mode 100644
index 23a5916..0000000
--- a/Fix-py-3.15-dataclasses-import-issue.patch
+++ /dev/null
@@ -1,34 +0,0 @@
-diff -urN ansible-lint-26.4.0.orig/src/ansiblelint/utils.py ansible-lint-26.4.0/src/ansiblelint/utils.py
---- ansible-lint-26.4.0.orig/src/ansiblelint/utils.py	2026-04-01 20:07:03.000000000 +0530
-+++ ansible-lint-26.4.0/src/ansiblelint/utils.py	2026-06-20 17:37:22.549215606 +0530
-@@ -39,7 +39,7 @@
-     MutableMapping,
-     Sequence,
- )
--from dataclasses import _MISSING_TYPE, dataclass, field
-+from dataclasses import MISSING, dataclass, field
- from functools import cache, lru_cache
- from pathlib import Path
- from typing import TYPE_CHECKING, Any
-@@ -907,8 +911,10 @@
- 
-     raw_task: MutableMapping[str, Any]
-     filename: str = ""
--    _normalized_task: MutableMapping[str, Any] | _MISSING_TYPE = field(
--        init=False, repr=False
-+    _normalized_task: MutableMapping[str, Any] | Any = field(
-+        init=False,
-+        repr=False,
-+        default=MISSING,
-     )
-     error: MatchError | None = None
-     position: str = ""
-@@ -969,7 +975,7 @@
-                 # When we cannot normalize it, we just use the raw task instead
-                 # to avoid adding extra complexity to the rules.
-                 self._normalized_task = self.raw_task
--        if isinstance(self._normalized_task, _MISSING_TYPE):
-+        if self._normalized_task is MISSING:
-             msg = "Task was not normalized"
-             raise TypeError(msg)
-         return self._normalized_task

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-07-01  3:04 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-01  3:04 [rpms/ansible-lint] rawhide: Remove upstream released patch Parag Nemade

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox