forked from pool/python-jedi
- Add supported_pythons_310_311.patch which includes '3.11' among _SUPPORTED_PYTHONS (gh#davidhalter/jedi#1914). - Add fix_test_compiled_signature_annotation_string.patch to make test passing with Python 3.10+ (gh#davidhalter/jedi#1732). OBS-URL: https://build.opensuse.org/request/show/1064746 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-jedi?expand=0&rev=99
16 lines
525 B
Diff
16 lines
525 B
Diff
---
|
|
jedi/api/environment.py | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
--- a/jedi/api/environment.py
|
|
+++ b/jedi/api/environment.py
|
|
@@ -17,7 +17,7 @@ import parso
|
|
|
|
_VersionInfo = namedtuple('VersionInfo', 'major minor micro')
|
|
|
|
-_SUPPORTED_PYTHONS = ['3.10', '3.9', '3.8', '3.7', '3.6']
|
|
+_SUPPORTED_PYTHONS = ['3.11', '3.10', '3.9', '3.8', '3.7', '3.6']
|
|
_SAFE_PATHS = ['/usr/bin', '/usr/local/bin']
|
|
_CONDA_VAR = 'CONDA_PREFIX'
|
|
_CURRENT_VERSION = '%s.%s' % (sys.version_info.major, sys.version_info.minor)
|