Skip to content

Commit 52e7d45

Browse files
eclipseoRobert-André Mauchin
authored andcommitted
Use patch-ng fork instead of unmaintained patch
1 parent 37197c2 commit 52e7d45

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ full =
8282
typecode[full] >= 30.0.1
8383

8484
patch =
85-
patch >= 1.16
85+
patch-ng >= 1.17
8686

8787
testing =
8888
pytest >= 6, != 7.0.0

src/extractcode/patch.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ def patch_info(location):
134134
135135
Raise an exception if the file is not a patch file or cannot be parsed.
136136
"""
137-
import patch as pythonpatch
137+
import patch_ng as pythonpatch
138138
patchset = pythonpatch.fromfile(location)
139139
if not patchset:
140140
msg = 'Unable to parse patch file: %(location)s' % locals()

0 commit comments

Comments
 (0)