forked from pool/python-inflect
- Do not (ever) use %python_modules on runtime requires: it pulls
in all python flavors. Change to Requires: python-typeguard which will be rewritten by the python singlespec machinery. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-inflect?expand=0&rev=25
This commit is contained in:
16
typing_extensions-version.patch
Normal file
16
typing_extensions-version.patch
Normal file
@@ -0,0 +1,16 @@
|
||||
---
|
||||
inflect/compat/py38.py | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
--- a/inflect/compat/py38.py
|
||||
+++ b/inflect/compat/py38.py
|
||||
@@ -1,7 +1,7 @@
|
||||
import sys
|
||||
|
||||
|
||||
-if sys.version_info >= (3, 9):
|
||||
+try:
|
||||
from typing import Annotated
|
||||
-else: # pragma: no cover
|
||||
+except ImportError:
|
||||
from typing_extensions import Annotated # noqa: F401
|
||||
Reference in New Issue
Block a user