* Migrate packaging to uv * drop support for Python 3.8 * add official support for Python 3.12 * Drop support for Python 3.7 * Officially support Python 3.11 - Add patch support-click-8.2.patch: * Support Click 8.2+ changes. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-django-codemod?expand=0&rev=11
14 lines
500 B
Diff
14 lines
500 B
Diff
Index: django_codemod-2.3.5/src/django_codemod/cli.py
|
|
===================================================================
|
|
--- django_codemod-2.3.5.orig/src/django_codemod/cli.py
|
|
+++ django_codemod-2.3.5/src/django_codemod/cli.py
|
|
@@ -49,7 +49,7 @@ BY_NAME = {cls.__name__: cls for cls in
|
|
|
|
|
|
class CodemodChoice(click.Choice):
|
|
- def get_metavar(self, param: click.Parameter) -> str:
|
|
+ def get_metavar(self, param: click.Parameter, ctx=None) -> str:
|
|
return "(see `djcodemod list`)"
|
|
|
|
|