openrewrite-migrate-python 0.7.1__py3-none-any.whl → 0.7.2__py3-none-any.whl

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.
Files changed (22) hide show
  1. openrewrite_migrate_python/migrate/array_deprecations.py +4 -3
  2. openrewrite_migrate_python/migrate/cgi_parse_deprecations.py +4 -3
  3. openrewrite_migrate_python/migrate/functools_deprecations.py +3 -2
  4. openrewrite_migrate_python/migrate/html_parser_deprecations.py +3 -2
  5. openrewrite_migrate_python/migrate/locale_getdefaultlocale_deprecation.py +3 -2
  6. openrewrite_migrate_python/migrate/os_deprecations.py +9 -3
  7. openrewrite_migrate_python/migrate/pathlib_deprecations.py +3 -2
  8. openrewrite_migrate_python/migrate/platform_deprecations.py +3 -2
  9. openrewrite_migrate_python/migrate/re_deprecations.py +9 -2
  10. openrewrite_migrate_python/migrate/shutil_deprecations.py +3 -2
  11. openrewrite_migrate_python/migrate/socket_deprecations.py +3 -2
  12. openrewrite_migrate_python/migrate/tarfile_deprecations.py +9 -2
  13. openrewrite_migrate_python/migrate/tempfile_deprecations.py +3 -2
  14. openrewrite_migrate_python/migrate/threading_deprecations.py +6 -5
  15. openrewrite_migrate_python/migrate/threading_is_alive_deprecation.py +3 -2
  16. openrewrite_migrate_python/migrate/urllib_deprecations.py +9 -3
  17. openrewrite_migrate_python/migrate/xml_deprecations.py +4 -3
  18. {openrewrite_migrate_python-0.7.1.dist-info → openrewrite_migrate_python-0.7.2.dist-info}/METADATA +1 -1
  19. {openrewrite_migrate_python-0.7.1.dist-info → openrewrite_migrate_python-0.7.2.dist-info}/RECORD +22 -22
  20. {openrewrite_migrate_python-0.7.1.dist-info → openrewrite_migrate_python-0.7.2.dist-info}/WHEEL +0 -0
  21. {openrewrite_migrate_python-0.7.1.dist-info → openrewrite_migrate_python-0.7.2.dist-info}/entry_points.txt +0 -0
  22. {openrewrite_migrate_python-0.7.1.dist-info → openrewrite_migrate_python-0.7.2.dist-info}/top_level.txt +0 -0
@@ -10,10 +10,11 @@ See: https://docs.python.org/3/library/array.html
10
10
 
11
11
  from typing import Any, List, Optional
12
12
 
13
- from rewrite import ExecutionContext, Recipe, TreeVisitor
13
+ from rewrite import ExecutionContext, Preconditions, Recipe, TreeVisitor
14
14
  from rewrite.category import CategoryDescriptor
15
15
  from rewrite.decorators import categorize
16
16
  from rewrite.marketplace import Python
17
+ from rewrite.python.preconditions import uses_method
17
18
  from rewrite.python.visitor import PythonVisitor
18
19
  from rewrite.java.tree import Identifier, MethodInvocation
19
20
 
@@ -76,7 +77,7 @@ class ReplaceArrayTostring(Recipe):
76
77
  new_name = method.name.replace(_simple_name="tobytes")
77
78
  return method.replace(_name=new_name)
78
79
 
79
- return Visitor()
80
+ return Preconditions.check(uses_method("*..* tostring(..)"), Visitor())
80
81
 
81
82
 
82
83
  @categorize(_Python314)
@@ -130,4 +131,4 @@ class ReplaceArrayFromstring(Recipe):
130
131
  new_name = method.name.replace(_simple_name="frombytes")
131
132
  return method.replace(_name=new_name)
132
133
 
133
- return Visitor()
134
+ return Preconditions.check(uses_method("*..* fromstring(..)"), Visitor())
@@ -13,11 +13,12 @@ See: https://docs.python.org/3/whatsnew/3.8.html#api-and-feature-removals
13
13
 
14
14
  from typing import Any, List, Optional
15
15
 
16
- from rewrite import ExecutionContext, Recipe, TreeVisitor
16
+ from rewrite import ExecutionContext, Preconditions, Recipe, TreeVisitor
17
17
  from rewrite.category import CategoryDescriptor
18
18
  from rewrite.decorators import categorize
19
19
  from rewrite.marketplace import Python
20
20
  from rewrite.markers import Markers
21
+ from rewrite.python.preconditions import uses_method
21
22
  from rewrite.python.visitor import PythonVisitor
22
23
  from rewrite.java.support_types import JLeftPadded, Space
23
24
  from rewrite.java.tree import FieldAccess, Identifier, MethodInvocation
@@ -135,7 +136,7 @@ class ReplaceCgiParseQs(Recipe):
135
136
  new_padded = old_padded.replace(_element=new_select)
136
137
  return method.padding.replace(_select=new_padded)
137
138
 
138
- return Visitor()
139
+ return Preconditions.check(uses_method("*..* parse_qs(..)"), Visitor())
139
140
 
140
141
 
141
142
  @categorize(_Python38)
@@ -201,4 +202,4 @@ class ReplaceCgiParseQsl(Recipe):
201
202
  new_padded = old_padded.replace(_element=new_select)
202
203
  return method.padding.replace(_select=new_padded)
203
204
 
204
- return Visitor()
205
+ return Preconditions.check(uses_method("*..* parse_qsl(..)"), Visitor())
@@ -11,10 +11,11 @@ See: https://docs.python.org/3/library/functools.html
11
11
 
12
12
  from typing import Any, List, Optional
13
13
 
14
- from rewrite import ExecutionContext, Recipe, TreeVisitor
14
+ from rewrite import ExecutionContext, Preconditions, Recipe, TreeVisitor
15
15
  from rewrite.category import CategoryDescriptor
16
16
  from rewrite.decorators import categorize
17
17
  from rewrite.marketplace import Python
18
+ from rewrite.python.preconditions import uses_method
18
19
  from rewrite.python.visitor import PythonVisitor
19
20
  from rewrite.java.tree import Identifier, MethodInvocation
20
21
  from ._markers import mark_deprecated
@@ -85,4 +86,4 @@ class FindFunctoolsCmpToKey(Recipe):
85
86
 
86
87
  return method
87
88
 
88
- return Visitor()
89
+ return Preconditions.check(uses_method("*..* cmp_to_key(..)"), Visitor())
@@ -9,10 +9,11 @@ See: https://docs.python.org/3/whatsnew/3.9.html#removed
9
9
 
10
10
  from typing import Any, List, Optional
11
11
 
12
- from rewrite import ExecutionContext, Recipe, TreeVisitor
12
+ from rewrite import ExecutionContext, Preconditions, Recipe, TreeVisitor
13
13
  from rewrite.category import CategoryDescriptor
14
14
  from rewrite.decorators import categorize
15
15
  from rewrite.marketplace import Python
16
+ from rewrite.python.preconditions import uses_method
16
17
  from rewrite.python.visitor import PythonVisitor
17
18
  from rewrite.java.tree import Identifier, MethodInvocation
18
19
 
@@ -102,4 +103,4 @@ class ReplaceHtmlParserUnescape(Recipe):
102
103
 
103
104
  return method
104
105
 
105
- return Visitor()
106
+ return Preconditions.check(uses_method("*..* unescape(..)"), Visitor())
@@ -9,10 +9,11 @@ See: https://docs.python.org/3/whatsnew/3.11.html#deprecated
9
9
 
10
10
  from typing import Any, List, Optional
11
11
 
12
- from rewrite import ExecutionContext, Recipe, TreeVisitor
12
+ from rewrite import ExecutionContext, Preconditions, Recipe, TreeVisitor
13
13
  from rewrite.category import CategoryDescriptor
14
14
  from rewrite.decorators import categorize
15
15
  from rewrite.marketplace import Python
16
+ from rewrite.python.preconditions import uses_method
16
17
  from rewrite.python.visitor import PythonVisitor
17
18
  from rewrite.java.tree import Identifier, MethodInvocation
18
19
  from ._markers import mark_deprecated
@@ -90,4 +91,4 @@ class FindLocaleGetdefaultlocale(Recipe):
90
91
  "locale.getpreferredencoding(False) instead."
91
92
  )
92
93
 
93
- return Visitor()
94
+ return Preconditions.check(uses_method("*..* getdefaultlocale(..)"), Visitor())
@@ -10,10 +10,11 @@ See: https://docs.python.org/3/library/os.html
10
10
 
11
11
  from typing import Any, List, Optional
12
12
 
13
- from rewrite import ExecutionContext, Recipe, TreeVisitor
13
+ from rewrite import ExecutionContext, Preconditions, Recipe, TreeVisitor
14
14
  from rewrite.category import CategoryDescriptor
15
15
  from rewrite.decorators import categorize
16
16
  from rewrite.marketplace import Python
17
+ from rewrite.python.preconditions import uses_method
17
18
  from rewrite.python.visitor import PythonVisitor
18
19
  from rewrite.java.tree import Identifier, FieldAccess, MethodInvocation
19
20
  from ._markers import mark_deprecated
@@ -80,7 +81,7 @@ class FindOsPopen(Recipe):
80
81
 
81
82
  return method
82
83
 
83
- return Visitor()
84
+ return Preconditions.check(uses_method("*..* popen(..)"), Visitor())
84
85
 
85
86
 
86
87
  @categorize(_Migrate)
@@ -145,4 +146,9 @@ class FindOsSpawn(Recipe):
145
146
 
146
147
  return method
147
148
 
148
- return Visitor()
149
+ return Preconditions.check(
150
+ Preconditions.or_(
151
+ *(uses_method(f"*..* {name}(..)") for name in sorted(spawn_functions))
152
+ ),
153
+ Visitor(),
154
+ )
@@ -9,10 +9,11 @@ See: https://docs.python.org/3/library/pathlib.html
9
9
 
10
10
  from typing import Any, List, Optional
11
11
 
12
- from rewrite import ExecutionContext, Recipe, TreeVisitor
12
+ from rewrite import ExecutionContext, Preconditions, Recipe, TreeVisitor
13
13
  from rewrite.category import CategoryDescriptor
14
14
  from rewrite.decorators import categorize
15
15
  from rewrite.marketplace import Python
16
+ from rewrite.python.preconditions import uses_method
16
17
  from rewrite.python.visitor import PythonVisitor
17
18
  from rewrite.java.tree import Identifier, MethodInvocation
18
19
  from ._markers import mark_deprecated
@@ -85,4 +86,4 @@ class FindPathlibLinkTo(Recipe):
85
86
  "Use hardlink_to() instead (note: argument order is reversed)."
86
87
  )
87
88
 
88
- return Visitor()
89
+ return Preconditions.check(uses_method("*..* link_to(..)"), Visitor())
@@ -9,11 +9,12 @@ See: https://docs.python.org/3/whatsnew/3.8.html#api-and-feature-removals
9
9
 
10
10
  from typing import Any, List, Optional
11
11
 
12
- from rewrite import ExecutionContext, Recipe, TreeVisitor
12
+ from rewrite import ExecutionContext, Preconditions, Recipe, TreeVisitor
13
13
  from rewrite.category import CategoryDescriptor
14
14
  from rewrite.decorators import categorize
15
15
  from rewrite.marketplace import Python
16
16
  from rewrite.markers import Markers
17
+ from rewrite.python.preconditions import uses_method
17
18
  from rewrite.python.visitor import PythonVisitor
18
19
  from rewrite.java.support_types import JLeftPadded, JRightPadded, Space
19
20
  from rewrite.java.tree import Identifier, Literal, MethodInvocation
@@ -135,4 +136,4 @@ class ReplacePlatformPopen(Recipe):
135
136
 
136
137
  return method
137
138
 
138
- return Visitor()
139
+ return Preconditions.check(uses_method("*..* popen(..)"), Visitor())
@@ -12,10 +12,11 @@ See: https://docs.python.org/3/whatsnew/3.11.html#deprecated
12
12
 
13
13
  from typing import Any, List, Optional
14
14
 
15
- from rewrite import ExecutionContext, Recipe, TreeVisitor
15
+ from rewrite import ExecutionContext, Preconditions, Recipe, TreeVisitor
16
16
  from rewrite.category import CategoryDescriptor
17
17
  from rewrite.decorators import categorize
18
18
  from rewrite.marketplace import Python
19
+ from rewrite.python.preconditions import uses_method, uses_type
19
20
  from rewrite.python.visitor import PythonVisitor
20
21
  from rewrite.java.tree import FieldAccess, Identifier, MethodInvocation
21
22
  from ._markers import mark_deprecated
@@ -115,4 +116,10 @@ class ReplaceReTemplate(Recipe):
115
116
  "and removed in 3.13."
116
117
  )
117
118
 
118
- return Visitor()
119
+ return Preconditions.check(
120
+ Preconditions.or_(
121
+ uses_method("*..* template(..)"),
122
+ uses_type("re"),
123
+ ),
124
+ Visitor(),
125
+ )
@@ -9,10 +9,11 @@ See: https://docs.python.org/3/whatsnew/3.12.html#deprecated
9
9
 
10
10
  from typing import Any, List, Optional
11
11
 
12
- from rewrite import ExecutionContext, Recipe, TreeVisitor
12
+ from rewrite import ExecutionContext, Preconditions, Recipe, TreeVisitor
13
13
  from rewrite.category import CategoryDescriptor
14
14
  from rewrite.decorators import categorize
15
15
  from rewrite.marketplace import Python
16
+ from rewrite.python.preconditions import uses_method
16
17
  from rewrite.python.visitor import PythonVisitor
17
18
  from rewrite.java.tree import Identifier, MethodInvocation
18
19
  from ._markers import mark_deprecated
@@ -99,4 +100,4 @@ class FindShutilRmtreeOnerror(Recipe):
99
100
 
100
101
  return method
101
102
 
102
- return Visitor()
103
+ return Preconditions.check(uses_method("*..* rmtree(..)"), Visitor())
@@ -11,10 +11,11 @@ See: https://docs.python.org/3/library/socket.html
11
11
 
12
12
  from typing import Any, List, Optional
13
13
 
14
- from rewrite import ExecutionContext, Recipe, TreeVisitor
14
+ from rewrite import ExecutionContext, Preconditions, Recipe, TreeVisitor
15
15
  from rewrite.category import CategoryDescriptor
16
16
  from rewrite.decorators import categorize
17
17
  from rewrite.marketplace import Python
18
+ from rewrite.python.preconditions import uses_method
18
19
  from rewrite.python.visitor import PythonVisitor
19
20
  from rewrite.java.tree import Identifier, MethodInvocation
20
21
  from ._markers import mark_deprecated
@@ -83,4 +84,4 @@ class FindSocketGetFQDN(Recipe):
83
84
  "Consider using socket.gethostname() instead."
84
85
  )
85
86
 
86
- return Visitor()
87
+ return Preconditions.check(uses_method("*..* getfqdn(..)"), Visitor())
@@ -9,10 +9,11 @@ See: https://docs.python.org/3/whatsnew/3.8.html#api-and-feature-removals
9
9
 
10
10
  from typing import Any, List, Optional
11
11
 
12
- from rewrite import ExecutionContext, Recipe, TreeVisitor
12
+ from rewrite import ExecutionContext, Preconditions, Recipe, TreeVisitor
13
13
  from rewrite.category import CategoryDescriptor
14
14
  from rewrite.decorators import categorize
15
15
  from rewrite.marketplace import Python
16
+ from rewrite.python.preconditions import uses_method, uses_type
16
17
  from rewrite.python.visitor import PythonVisitor
17
18
  from rewrite.java.tree import FieldAccess, Identifier
18
19
 
@@ -103,4 +104,10 @@ class ReplaceTarfileFilemode(Recipe):
103
104
  new_target = target.replace(_simple_name="stat")
104
105
  return field_access.replace(_target=new_target)
105
106
 
106
- return Visitor()
107
+ return Preconditions.check(
108
+ Preconditions.or_(
109
+ uses_method("*..* filemode(..)"),
110
+ uses_type("tarfile"),
111
+ ),
112
+ Visitor(),
113
+ )
@@ -14,10 +14,11 @@ See: https://docs.python.org/3/library/tempfile.html
14
14
 
15
15
  from typing import Any, List, Optional
16
16
 
17
- from rewrite import ExecutionContext, Recipe, TreeVisitor
17
+ from rewrite import ExecutionContext, Preconditions, Recipe, TreeVisitor
18
18
  from rewrite.category import CategoryDescriptor
19
19
  from rewrite.decorators import categorize
20
20
  from rewrite.marketplace import Python
21
+ from rewrite.python.preconditions import uses_method
21
22
  from rewrite.python.visitor import PythonVisitor
22
23
  from rewrite.java.tree import Identifier, MethodInvocation
23
24
  from ._markers import mark_deprecated
@@ -100,4 +101,4 @@ class FindTempfileMktemp(Recipe):
100
101
  "Use tempfile.mkstemp() or NamedTemporaryFile() instead."
101
102
  )
102
103
 
103
- return Visitor()
104
+ return Preconditions.check(uses_method("*..* mktemp(..)"), Visitor())
@@ -17,10 +17,11 @@ See: https://docs.python.org/3/library/threading.html
17
17
 
18
18
  from typing import Any, List, Optional
19
19
 
20
- from rewrite import ExecutionContext, Recipe, TreeVisitor
20
+ from rewrite import ExecutionContext, Preconditions, Recipe, TreeVisitor
21
21
  from rewrite.category import CategoryDescriptor
22
22
  from rewrite.decorators import categorize
23
23
  from rewrite.marketplace import Python
24
+ from rewrite.python.preconditions import uses_method
24
25
  from rewrite.python.visitor import PythonVisitor
25
26
  from rewrite.python.template import pattern, template, capture
26
27
  from rewrite.java.tree import Identifier, MethodInvocation
@@ -92,7 +93,7 @@ class ReplaceThreadingCurrentThread(Recipe):
92
93
  new_name = method.name.replace(_simple_name="current_thread")
93
94
  return method.replace(_name=new_name)
94
95
 
95
- return Visitor()
96
+ return Preconditions.check(uses_method("*..* currentThread(..)"), Visitor())
96
97
 
97
98
 
98
99
  @categorize(_Python310)
@@ -154,7 +155,7 @@ class ReplaceThreadingActiveCount(Recipe):
154
155
  new_name = method.name.replace(_simple_name="active_count")
155
156
  return method.replace(_name=new_name)
156
157
 
157
- return Visitor()
158
+ return Preconditions.check(uses_method("*..* activeCount(..)"), Visitor())
158
159
 
159
160
 
160
161
  @categorize(_Python310)
@@ -211,7 +212,7 @@ class ReplaceConditionNotifyAll(Recipe):
211
212
  new_name = method.name.replace(_simple_name="notify_all")
212
213
  return method.replace(_name=new_name)
213
214
 
214
- return Visitor()
215
+ return Preconditions.check(uses_method("*..* notifyAll(..)"), Visitor())
215
216
 
216
217
 
217
218
  # Pattern/template pairs for getter-to-property conversions
@@ -289,7 +290,7 @@ class ReplaceEventIsSet(Recipe):
289
290
  new_name = method.name.replace(_simple_name="is_set")
290
291
  return method.replace(_name=new_name)
291
292
 
292
- return Visitor()
293
+ return Preconditions.check(uses_method("*..* isSet(..)"), Visitor())
293
294
 
294
295
 
295
296
  @categorize(_Python310)
@@ -9,10 +9,11 @@ See: https://docs.python.org/3/whatsnew/3.9.html#removed
9
9
 
10
10
  from typing import Any, List, Optional
11
11
 
12
- from rewrite import ExecutionContext, Recipe, TreeVisitor
12
+ from rewrite import ExecutionContext, Preconditions, Recipe, TreeVisitor
13
13
  from rewrite.category import CategoryDescriptor
14
14
  from rewrite.decorators import categorize
15
15
  from rewrite.marketplace import Python
16
+ from rewrite.python.preconditions import uses_method
16
17
  from rewrite.python.visitor import PythonVisitor
17
18
  from rewrite.java.tree import Identifier, MethodInvocation
18
19
 
@@ -79,4 +80,4 @@ class ReplaceThreadIsAlive(Recipe):
79
80
  new_name = method.name.replace(_simple_name="is_alive")
80
81
  return method.replace(_name=new_name)
81
82
 
82
- return Visitor()
83
+ return Preconditions.check(uses_method("*..* isAlive(..)"), Visitor())
@@ -19,10 +19,11 @@ See: https://docs.python.org/3/library/urllib.parse.html
19
19
 
20
20
  from typing import Any, List, Optional
21
21
 
22
- from rewrite import ExecutionContext, Recipe, TreeVisitor
22
+ from rewrite import ExecutionContext, Preconditions, Recipe, TreeVisitor
23
23
  from rewrite.category import CategoryDescriptor
24
24
  from rewrite.decorators import categorize
25
25
  from rewrite.marketplace import Python
26
+ from rewrite.python.preconditions import uses_method
26
27
  from rewrite.python.visitor import PythonVisitor
27
28
  from rewrite.java.tree import Identifier, MethodInvocation, FieldAccess
28
29
  from ._markers import mark_deprecated
@@ -130,7 +131,12 @@ class FindUrllibParseSplitFunctions(Recipe):
130
131
 
131
132
  return method
132
133
 
133
- return Visitor()
134
+ return Preconditions.check(
135
+ Preconditions.or_(
136
+ *(uses_method(f"*..* {name}(..)") for name in _DEPRECATED_SPLITS)
137
+ ),
138
+ Visitor(),
139
+ )
134
140
 
135
141
 
136
142
  @categorize(_Python314)
@@ -191,4 +197,4 @@ class FindUrllibParseToBytes(Recipe):
191
197
 
192
198
  return method
193
199
 
194
- return Visitor()
200
+ return Preconditions.check(uses_method("*..* to_bytes(..)"), Visitor())
@@ -10,11 +10,12 @@ See: https://docs.python.org/3/library/xml.etree.elementtree.html
10
10
 
11
11
  from typing import Any, List, Optional
12
12
 
13
- from rewrite import ExecutionContext, Recipe, TreeVisitor
13
+ from rewrite import ExecutionContext, Preconditions, Recipe, TreeVisitor
14
14
  from rewrite.category import CategoryDescriptor
15
15
  from rewrite.decorators import categorize
16
16
  from rewrite.marketplace import Python
17
17
  from rewrite.markers import Markers
18
+ from rewrite.python.preconditions import uses_method
18
19
  from rewrite.python.visitor import PythonVisitor
19
20
  from rewrite.java.support_types import JRightPadded, Space
20
21
  from rewrite.java.tree import Identifier, MethodInvocation
@@ -114,7 +115,7 @@ class ReplaceElementGetchildren(Recipe):
114
115
 
115
116
  return result
116
117
 
117
- return Visitor()
118
+ return Preconditions.check(uses_method("*..* getchildren(..)"), Visitor())
118
119
 
119
120
 
120
121
  @categorize(_Python39)
@@ -184,4 +185,4 @@ class ReplaceElementGetiterator(Recipe):
184
185
  new_name = method.name.replace(_simple_name="iter")
185
186
  return method.replace(_name=new_name)
186
187
 
187
- return Visitor()
188
+ return Preconditions.check(uses_method("*..* getiterator(..)"), Visitor())
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: openrewrite-migrate-python
3
- Version: 0.7.1
3
+ Version: 0.7.2
4
4
  Summary: OpenRewrite recipes for migrating Python codebases to newer Python versions.
5
5
  Author-email: "Moderne Inc." <support@moderne.io>
6
6
  License: Moderne Proprietary
@@ -14,50 +14,50 @@ openrewrite_migrate_python/__init__.py,sha256=AUUYSi3ET9VBhwfF535k61ZTuH8nhJJ4oP
14
14
  openrewrite_migrate_python/migrate/__init__.py,sha256=1BaA6pWANqKIpwdMT8jG_dztDGPa3FuwHU7l4BuWceo,8087
15
15
  openrewrite_migrate_python/migrate/_markers.py,sha256=cdMrUvK53zxqbwrLIngzui92s6TZO4hFdcfmLmtFnV8,665
16
16
  openrewrite_migrate_python/migrate/aifc_migrations.py,sha256=L_78Qubp0yihuw7yntZC8QjLSzdbzHu7dCfvdHoIpbo,18481
17
- openrewrite_migrate_python/migrate/array_deprecations.py,sha256=YyK3yPV_Jx6DI6Vysb_ytQpHGvISsSg-4FwpgXnE3f4,4217
17
+ openrewrite_migrate_python/migrate/array_deprecations.py,sha256=Hs7Q-ul3VcojGnl31XVC-8Vj1A88GbJIOvVPEtG2KeY,4397
18
18
  openrewrite_migrate_python/migrate/ast_deprecations.py,sha256=GFBy1ZRwO2UrT63gav3DLGciROJMlCmeru7mMSLrUYQ,9996
19
19
  openrewrite_migrate_python/migrate/asyncio_coroutine_to_async.py,sha256=RFtAgfp6jimwMFrcxJYEgjVmXhVW0hfD1XiCoU0w9LI,7533
20
20
  openrewrite_migrate_python/migrate/asyncio_deprecations.py,sha256=5dQaQGP3vS2fppQvkOmk8uJhVAv9N2qOvDzXAuZt_gA,3423
21
21
  openrewrite_migrate_python/migrate/calendar_deprecations.py,sha256=uEI3zpXSWZGWVLXZg8YyTXRgGhW1HN9-bmDSLSbfOlg,4391
22
22
  openrewrite_migrate_python/migrate/cgi_migrations.py,sha256=J4HdepYP7YJv4E4nY2A42F5UydGyzkt5AuXMaY4LLzE,7521
23
- openrewrite_migrate_python/migrate/cgi_parse_deprecations.py,sha256=t_AuifyuqCVMWoMPfFLpqx8Eh_sXevgFsn7mz8kkPR4,6554
23
+ openrewrite_migrate_python/migrate/cgi_parse_deprecations.py,sha256=67JVp2PuoaOJmeE1EJwlff_18Id9p8D2z9HeU0no09A,6733
24
24
  openrewrite_migrate_python/migrate/collections_abc_migrations.py,sha256=C4--Jk_D7BQf2xEr7ZbkW3T5UcEEcluk7u7qAwKGAe4,7525
25
25
  openrewrite_migrate_python/migrate/configparser_deprecations.py,sha256=GPLC_0NaVlL2Goi5qDuf6utltL6wF_nsAX9_qW1_FmI,7741
26
26
  openrewrite_migrate_python/migrate/datetime_utc.py,sha256=W-ZkYQUYU7hkdQL6L8VRiCZJerMgBVoF6OzxOY7LAa8,5063
27
27
  openrewrite_migrate_python/migrate/distutils_deprecations.py,sha256=GTGl7dkugizXyd2AH8GcFG_6sgk11xNYp9hOeI8CEIQ,3293
28
28
  openrewrite_migrate_python/migrate/distutils_migrations.py,sha256=fJ5Oei4ZkC7sXxIvGaCoxW24RQB-LrbYRU5rEIKOSs8,4527
29
- openrewrite_migrate_python/migrate/functools_deprecations.py,sha256=RMmfVVAQxjldqVwHkLOmMkO8HaMGsDbkp6XdheoIa-E,2901
29
+ openrewrite_migrate_python/migrate/functools_deprecations.py,sha256=OCl9UvcAZdfJstFuqUhxozOtPKXhsIoP55Zz9UGTLp0,3026
30
30
  openrewrite_migrate_python/migrate/future_imports.py,sha256=_uLbGbRlvAigYULiL_TjuC5Uj9gpomfuJ5XuACH4yeI,5486
31
31
  openrewrite_migrate_python/migrate/gettext_deprecations.py,sha256=DYlyI-o7qyi4bxonzIaB82lmktJ5u9jSFHVFhNzbRhs,4037
32
- openrewrite_migrate_python/migrate/html_parser_deprecations.py,sha256=aj--kevhALCB_fX6GwbTsVES0M59u1TuLAxMC3xARQI,3564
32
+ openrewrite_migrate_python/migrate/html_parser_deprecations.py,sha256=mkD6noYFy54xls31ee6YG9BKBbwyIgf9mI_r7iG7BtU,3687
33
33
  openrewrite_migrate_python/migrate/imp_migrations.py,sha256=yJ00g1TQy39vPBeHk9z7YfiWDU8x_BrOq69C0j-_SIw,4438
34
34
  openrewrite_migrate_python/migrate/langchain_classic_imports.py,sha256=iOh-qvWHSK1azSfNp_DE3xATrfkD4O8F3I1iQVXo8sc,10452
35
35
  openrewrite_migrate_python/migrate/langchain_community_imports.py,sha256=R36yBqjfFQJxvKCe5W-nGOYHg_U90fRvYf1488pGVsc,4971
36
36
  openrewrite_migrate_python/migrate/langchain_provider_imports.py,sha256=U0zAsV3cRuCtRFSg4S0by_fzi_6frgygMHerV4KmXrk,9404
37
37
  openrewrite_migrate_python/migrate/locale_deprecations.py,sha256=yVtsZG6tjgw-SA2T02GhD-Lb_LMAO0W9t6BAh-tJO0k,5303
38
- openrewrite_migrate_python/migrate/locale_getdefaultlocale_deprecation.py,sha256=1a0KNfSJ-toSQFHG8xfWE9OEPoFxM44iNdUx1-Zl4SY,3074
38
+ openrewrite_migrate_python/migrate/locale_getdefaultlocale_deprecation.py,sha256=FmyWYGVRmQ16StDBU4Kcsn4GPjvgIGoKsjCxlWscLHs,3205
39
39
  openrewrite_migrate_python/migrate/macpath_deprecations.py,sha256=B3HjtK7oDcEjUSt87br_8idP9-YU6T80My6XyQ1lvKM,3865
40
40
  openrewrite_migrate_python/migrate/mailcap_migrations.py,sha256=vpmkgHJaEVkc_T3z6TC2lx_lj0OScc2BK88luUXK6d0,4150
41
41
  openrewrite_migrate_python/migrate/nntplib_migrations.py,sha256=hBICzPgE11E_6TKru40ReXIc0y0JhTPIFgizMzOtVJ0,4167
42
- openrewrite_migrate_python/migrate/os_deprecations.py,sha256=ZnOLYH6sbfjcJpE9V8vEwkn9RMpF9AUvC0DiO9uFS5U,5026
43
- openrewrite_migrate_python/migrate/pathlib_deprecations.py,sha256=dLG8X8Oj284T0jHxzYXlzrn4RSm47yDTTjUtImdURSY,2948
42
+ openrewrite_migrate_python/migrate/os_deprecations.py,sha256=egvHhxlHzwobqP2WXWx2aJgkrP_8DZBmNNPyO2FL9HQ,5323
43
+ openrewrite_migrate_python/migrate/pathlib_deprecations.py,sha256=mU2s6YDLjYTIMLK9m0oPBc8jHtRrKkDnluvId75xoBo,3070
44
44
  openrewrite_migrate_python/migrate/pep594_system_migrations.py,sha256=Tai7jvIlLZF5TbuQdmSIMAZ9mbtRieAKfKr5EpvjyrQ,15050
45
45
  openrewrite_migrate_python/migrate/pipes_migrations.py,sha256=GczrFMWlsTZpZENkeI-yib0j19HsZ5L9_QSVSQoe24Q,4241
46
46
  openrewrite_migrate_python/migrate/pkgutil_deprecations.py,sha256=54K77ZKncETZ3NBxVmcHGFQcF7iPt3qVkcqwu8HceD0,5188
47
- openrewrite_migrate_python/migrate/platform_deprecations.py,sha256=GSvAq3tnEeu-ABozXOySLal9Z64ULktOUmAL_8udn9k,5017
48
- openrewrite_migrate_python/migrate/re_deprecations.py,sha256=hIoN1SJmJIntK356c3nzhU-MAXtYL7s-Xx7TklPjzBA,4146
47
+ openrewrite_migrate_python/migrate/platform_deprecations.py,sha256=fAQrVfqqqbSbS9-ebJ7_PGg4byStlYWM6rfQZg5h1q4,5137
48
+ openrewrite_migrate_python/migrate/re_deprecations.py,sha256=lMoZZ-UVuIkmp6WU9B1uW2sU2S2M_-3JIWgA63dTK8o,4398
49
49
  openrewrite_migrate_python/migrate/removed_modules_312.py,sha256=COR1t9Vg9ey52k46fpGnjC6TZqwhunimdY2kqtuNDF4,4949
50
- openrewrite_migrate_python/migrate/shutil_deprecations.py,sha256=z-7Qt0LN6QGYlX92s_lThgRtWuxGX7Qg4C-DAAb19Js,3659
51
- openrewrite_migrate_python/migrate/socket_deprecations.py,sha256=0TgTqhDlUGwKgYmq25PSVf-l8fqcJgooWJ-c8dVK3SI,2854
50
+ openrewrite_migrate_python/migrate/shutil_deprecations.py,sha256=8Nf9nydlFKwe0O6YOET4hGGqoa6fpLVEgiJ0yDTCeRA,3780
51
+ openrewrite_migrate_python/migrate/socket_deprecations.py,sha256=z2TI-bW2b-NYQky5HmfyLf8oY5iR0psUwBPR72Y6Fmk,2976
52
52
  openrewrite_migrate_python/migrate/ssl_deprecations.py,sha256=Cz--_yFiFecRBNp_EIFUwQo8T8WLlMQWHq6C8OUfscc,3394
53
53
  openrewrite_migrate_python/migrate/string_formatting.py,sha256=ZIBg_qCnxKsRuMCV3n0l4rxlp8u0vVUI0XYYOredCHc,16897
54
54
  openrewrite_migrate_python/migrate/sys_deprecations.py,sha256=Oauain0lnv0wjMpa_v9m_E3GtYsgsi-BTj3hvQVoijI,2852
55
55
  openrewrite_migrate_python/migrate/sys_last_deprecations.py,sha256=Lz0yVJTr3z-9CqR7-XG3ptmXf_5C_PZGY8eP8CjwiFo,3534
56
- openrewrite_migrate_python/migrate/tarfile_deprecations.py,sha256=n8iuz_AkWSczsitL8erYaYk7YjWtYrrZgjqoREYd3Ow,3578
56
+ openrewrite_migrate_python/migrate/tarfile_deprecations.py,sha256=M6ZBoxXpZphNCbDD8Hg6nn4xR8G65XV8Yy8WVmRs3M8,3835
57
57
  openrewrite_migrate_python/migrate/telnetlib_migrations.py,sha256=EM1q4r0VpjF9nyEtKj4lC_zbg2REe8Ojfm3aE6MTSos,4460
58
- openrewrite_migrate_python/migrate/tempfile_deprecations.py,sha256=1Tg-oPl6U68KkOLfeTAB-tEyX3n4no7kczopgUWRhnE,3341
59
- openrewrite_migrate_python/migrate/threading_deprecations.py,sha256=OsUEQG5I_pU6ZHaSEh4t2lUMqTwYp_K9viwVC3ehUjU,15712
60
- openrewrite_migrate_python/migrate/threading_is_alive_deprecation.py,sha256=tYyUEYSA1Fsw6j149L0-2Jmtpnaw6-oLThUkpRgYYs8,2512
58
+ openrewrite_migrate_python/migrate/tempfile_deprecations.py,sha256=Gt5x6uqZkduDosPxR0aRIknel1sKmAxBM-TQohBjA4I,3462
59
+ openrewrite_migrate_python/migrate/threading_deprecations.py,sha256=SSF2zqTX8oEg_8FGpYCnnHidm_34uT9sX1YHONMI7-U,16006
60
+ openrewrite_migrate_python/migrate/threading_is_alive_deprecation.py,sha256=_emN-_nRgB2aTVMQHy9Q1RtyKbfdPqMH6HJBW3HJtCQ,2634
61
61
  openrewrite_migrate_python/migrate/typing_callable.py,sha256=T5MvVCOtRqGya1LEgUOD2rTa6WXgRmesZcOz6EdUgiA,1829
62
62
  openrewrite_migrate_python/migrate/typing_deprecations.py,sha256=Yddi-AzH6OCYEm1zDclMjvzRdBdZFCq1bThlaQKOi1s,13418
63
63
  openrewrite_migrate_python/migrate/typing_union_to_pipe.py,sha256=DsBtFYPJIJ9l_udLzi_GCfDZ4-E2Vaqp1YBtS3zehGU,9123
@@ -71,12 +71,12 @@ openrewrite_migrate_python/migrate/upgrade_to_python313.py,sha256=ceMmdCHuI0Q7es
71
71
  openrewrite_migrate_python/migrate/upgrade_to_python314.py,sha256=mB15p6tqBavriOmE_zOAHgQ2JX54Zm3makhdQb6Vy5Q,3172
72
72
  openrewrite_migrate_python/migrate/upgrade_to_python38.py,sha256=9f7Vjf5TKZCiSvABTb42-njqPx8jjaCjmmUyZNI3eqw,4168
73
73
  openrewrite_migrate_python/migrate/upgrade_to_python39.py,sha256=q1_2T9zsPTMpkcLa85R-UVZ-8MDrNYqATUYnk8uHJQY,7765
74
- openrewrite_migrate_python/migrate/urllib_deprecations.py,sha256=ZaNZ4oEjj-KtafntS09vvUN2h5IXYgcdgI4EWkBdLsM,7007
74
+ openrewrite_migrate_python/migrate/urllib_deprecations.py,sha256=O67nqNeivrprYwf4QucXhNAYhPKPFTFoFBklNM8QsEA,7302
75
75
  openrewrite_migrate_python/migrate/uu_migrations.py,sha256=36ZVs1QWxdBO29mFZPQ75kwKcCz6Y7J1kbZJkNE3RYM,4134
76
76
  openrewrite_migrate_python/migrate/xdrlib_migrations.py,sha256=hSU3bGw51hWwZh4pcCufFTLbk3Q0nk3Ou9c-tHl0pDU,4161
77
- openrewrite_migrate_python/migrate/xml_deprecations.py,sha256=hO2HsBXf8Ry2WgUjskBi2U4Ujvi6VJjctRHjxF0nvkc,6557
78
- openrewrite_migrate_python-0.7.1.dist-info/METADATA,sha256=HT5WMxXYOxJ9TrbW8FeDp9KrAbhC1O5fGtjWP3DwN3k,1463
79
- openrewrite_migrate_python-0.7.1.dist-info/WHEEL,sha256=aeYiig01lYGDzBgS8HxWXOg3uV61G9ijOsup-k9o1sk,91
80
- openrewrite_migrate_python-0.7.1.dist-info/entry_points.txt,sha256=SuygzlMJiKIW19FYJVxx0hhRyzW6HTDCweY7584XpXw,138
81
- openrewrite_migrate_python-0.7.1.dist-info/top_level.txt,sha256=y8dKeC9kb5GUzFraB-OhJGxjPemM3GaPdrAygz2RP0U,59
82
- openrewrite_migrate_python-0.7.1.dist-info/RECORD,,
77
+ openrewrite_migrate_python/migrate/xml_deprecations.py,sha256=k6yd5rqsJoMp3GGwkaVoBr0BQ6BYS8-tI2EMjdk7bMM,6741
78
+ openrewrite_migrate_python-0.7.2.dist-info/METADATA,sha256=qY04jby3FCxtpDwiHkH2q5VS9mgZYvHT7JeVGUvkHDA,1463
79
+ openrewrite_migrate_python-0.7.2.dist-info/WHEEL,sha256=aeYiig01lYGDzBgS8HxWXOg3uV61G9ijOsup-k9o1sk,91
80
+ openrewrite_migrate_python-0.7.2.dist-info/entry_points.txt,sha256=SuygzlMJiKIW19FYJVxx0hhRyzW6HTDCweY7584XpXw,138
81
+ openrewrite_migrate_python-0.7.2.dist-info/top_level.txt,sha256=y8dKeC9kb5GUzFraB-OhJGxjPemM3GaPdrAygz2RP0U,59
82
+ openrewrite_migrate_python-0.7.2.dist-info/RECORD,,