14
0
forked from pool/python-jedi

Compare commits

48 Commits

Author SHA256 Message Date
a9ee6c2407 Accepting request 1306729 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1306729
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-jedi?expand=0&rev=43
2025-09-25 16:44:07 +00:00
d882efebc5 Accepting request 1306561 from home:mcalabkova:branches:devel:languages:python
- Skip tests failing with Python 3.14

OBS-URL: https://build.opensuse.org/request/show/1306561
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-jedi?expand=0&rev=120
2025-09-23 12:35:50 +00:00
633973caa7 Accepting request 1229250 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1229250
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-jedi?expand=0&rev=42
2024-12-10 22:43:00 +00:00
e56bdea692 - Update to 0.19.2
* Python 3.13 support
- Drop python3.13-support.patch, merged upstream

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-jedi?expand=0&rev=118
2024-12-09 08:59:33 +00:00
80066b9a4e Accepting request 1202115 from devel:languages:python
- Cherry-pick patch from Fedora to add support for Python 3.13
  * python3.13-support.patch

OBS-URL: https://build.opensuse.org/request/show/1202115
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-jedi?expand=0&rev=41
2024-09-22 09:05:38 +00:00
2a8d92bf64 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-jedi?expand=0&rev=116 2024-09-20 07:49:57 +00:00
4b9bfc2b5b - Cherry-pick patch from Fedora to add support for Python 3.13
* python3.13-support.patch

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-jedi?expand=0&rev=115
2024-09-20 07:49:39 +00:00
e5cf4017d3 Accepting request 1118190 from devel:languages:python
- Update to 0.19.1:
  * Python 3.12 support
- Stop skipping some tests.

OBS-URL: https://build.opensuse.org/request/show/1118190
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-jedi?expand=0&rev=40
2023-10-17 18:22:33 +00:00
1cdf3c7161 - Update to 0.19.1:
* Python 3.12 support
- Stop skipping some tests.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-jedi?expand=0&rev=113
2023-10-17 05:24:07 +00:00
67afdfd70f Accepting request 1103417 from devel:languages:python
- Update requirements
- specfile:
  * remove patch supported_pythons_310_311.patch, included upstream
  * remove patch support-python-311-typing.patch, included upstreamx
- update to version 0.19.0:
  * Python 3.11 support
  * Massive improvements in performance for Interpreter (e.g. IPython)
    users. This especially affects pandas users with large datasets.
  * Add jedi.settings.allow_unsafe_interpreter_executions to make it
    easier for IPython users to avoid unsafe executions.

OBS-URL: https://build.opensuse.org/request/show/1103417
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-jedi?expand=0&rev=39
2023-08-11 13:55:28 +00:00
9cf3abd43c OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-jedi?expand=0&rev=111 2023-08-10 22:27:55 +00:00
06398adab4 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-jedi?expand=0&rev=110 2023-08-10 22:27:34 +00:00
fe6f721e0b Accepting request 1103415 from home:apersaud:branches:devel:languages:python
update to latest version

OBS-URL: https://build.opensuse.org/request/show/1103415
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-jedi?expand=0&rev=109
2023-08-10 22:26:35 +00:00
1b171054aa Accepting request 1086078 from devel:languages:python
- Skip a test failing with attrs 23.1
  * gh#davidhalter/jedi#1929

OBS-URL: https://build.opensuse.org/request/show/1086078
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-jedi?expand=0&rev=38
2023-05-11 10:31:58 +00:00
73f19bf401 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-jedi?expand=0&rev=107 2023-05-10 12:15:10 +00:00
0e06847acc OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-jedi?expand=0&rev=106 2023-05-10 12:14:14 +00:00
a8a13c90b6 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-jedi?expand=0&rev=105 2023-05-10 12:13:31 +00:00
08ea03e218 Accepting request 1081871 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1081871
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-jedi?expand=0&rev=37
2023-04-22 20:00:11 +00:00
116e938ab4 Accepting request 1081468 from home:dirkmueller:acdc:as_python3_module
SR for python stack proposal

OBS-URL: https://build.opensuse.org/request/show/1081468
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-jedi?expand=0&rev=103
2023-04-21 14:27:00 +00:00
127eb8f104 Accepting request 1065614 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1065614
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-jedi?expand=0&rev=36
2023-02-14 15:42:35 +00:00
ffdd44ecf3 Accepting request 1065499 from home:bnavigator:branches:devel:languages:python
- Remove fix_test_compiled_signature_annotation_string.patch
  All tests pass without it

OBS-URL: https://build.opensuse.org/request/show/1065499
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-jedi?expand=0&rev=101
2023-02-13 23:22:14 +00:00
ac6269d169 revert parso pinning
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-jedi?expand=0&rev=100
2023-02-13 12:40:25 +00:00
652d84257c Accepting request 1064746 from home:dirkmueller:acdc
- 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
2023-02-13 00:00:46 +00:00
8793b745ba Accepting request 1057681 from devel:languages:python
- Add patch support-python-311-typing.patch:
  * Support typing changes for Python 3.11+

OBS-URL: https://build.opensuse.org/request/show/1057681
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-jedi?expand=0&rev=35
2023-01-11 16:14:19 +00:00
cb9f70d5e6 - Add patch support-python-311-typing.patch:
* Support typing changes for Python 3.11+

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-jedi?expand=0&rev=97
2023-01-10 04:02:48 +00:00
8d335d8039 Accepting request 1046644 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1046644
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-jedi?expand=0&rev=34
2023-01-05 13:59:48 +00:00
154113247e Accepting request 1046643 from home:bnavigator:branches:devel:languages:python
- Move to PEP517
- Pin parso like upstream does
- Skip a test for embedded systems which unexplicably fails on
  backports 15.4_py39

OBS-URL: https://build.opensuse.org/request/show/1046643
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-jedi?expand=0&rev=95
2023-01-03 19:47:17 +00:00
0ceb402ab6 Accepting request 1042528 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1042528
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-jedi?expand=0&rev=33
2022-12-14 13:10:35 +00:00
c37e6600a5 Accepting request 1040485 from home:yarunachalam:branches:devel:languages:python
- Update to 0.18.2 
  * Added dataclass-equivalent for attrs.define
  * Find fixtures from Pytest entrypoints; Examples of pytest plugins installed like this are pytest-django, pytest-sugar and Faker.
  * Fixed Project.search, when a venv was involved, which is why for example :Pyimport django.db did not work in some cases in jedi-vim.
  * And many smaller bugfixes

OBS-URL: https://build.opensuse.org/request/show/1040485
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-jedi?expand=0&rev=93
2022-12-06 15:18:13 +00:00
050582177a Accepting request 965226 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/965226
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-jedi?expand=0&rev=32
2022-03-29 16:14:12 +00:00
f7fac3330d Accepting request 965225 from home:bnavigator:branches:devel:languages:python
- Skip two test failing with pytest 7.1 -- gh#davidhalter/jedi#1846

OBS-URL: https://build.opensuse.org/request/show/965225
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-jedi?expand=0&rev=91
2022-03-27 18:55:19 +00:00
d2afe468bb Accepting request 945451 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/945451
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-jedi?expand=0&rev=31
2022-01-11 20:17:20 +00:00
18abbd5a8f Accepting request 945450 from home:bnavigator:branches:devel:languages:python
- Force pytest >= 5 for successful 15.3 build in d:l:p

OBS-URL: https://build.opensuse.org/request/show/945450
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-jedi?expand=0&rev=90
2022-01-10 23:23:04 +00:00
5ff573c5d9 Accepting request 939579 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/939579
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-jedi?expand=0&rev=30
2021-12-13 19:41:39 +00:00
01cf371a2f Accepting request 939577 from home:bnavigator:branches:devel:languages:python
- Update to 0.18.1
  * Implict namespaces are now a separate types in Name().type
  * Python 3.10 support
  * Mostly bugfixes
- Drop jedi-py39-pytest.patch
- Skip failing test (reported as gh#davidhalter/jedi#1824)

OBS-URL: https://build.opensuse.org/request/show/939577
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-jedi?expand=0&rev=89
2021-12-11 12:23:44 +00:00
6791906a89 Accepting request 928392 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/928392
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-jedi?expand=0&rev=29
2021-11-03 16:25:16 +00:00
2265bd365b Accepting request 928389 from home:bnavigator:branches:devel:languages:python
- Force pytest5 because it has the pluggy<1 pin patched out

OBS-URL: https://build.opensuse.org/request/show/928389
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-jedi?expand=0&rev=88
2021-10-31 16:14:50 +00:00
e6b8cc5002 Accepting request 878754 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/878754
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-jedi?expand=0&rev=28
2021-04-15 14:56:37 +00:00
817604cf29 Accepting request 878753 from home:bnavigator:python39
- Add jedi-py39-pytest.patch to support Python 3.9

OBS-URL: https://build.opensuse.org/request/show/878753
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-jedi?expand=0&rev=86
2021-03-13 13:35:01 +00:00
ddfe9fe565 No support for Python 2
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-jedi?expand=0&rev=85
2020-12-25 20:51:50 +00:00
0535a50081 - update to 0.18.0 (get it together with the latest python-parso just to
be sure):
  - Dropped Python 2 and Python 3.5
  - Using ``pathlib.Path()`` as an output instead of ``str`` in most
    places:
    - ``Project.path``
    - ``Script.path``
    - ``Definition.module_path``
    - ``Refactoring.get_renames``
    - ``Refactoring.get_changed_files``
  - Functions with ``@property`` now return ``property`` instead of
    ``function`` in ``Name().type``
  - Started using annotations
  - Better support for the walrus operator
  - Project attributes are now read accessible
  - Removed all deprecations
  This is likely going to be the last minor release before 1.0.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-jedi?expand=0&rev=84
2020-12-25 19:29:21 +00:00
2ef9d42c49 - Revert back to 0.17.2.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-jedi?expand=0&rev=83
2020-09-03 20:27:10 +00:00
32f368ee5f Accepting request 831953 from home:mcepl:branches:devel:languages:python
ok

OBS-URL: https://build.opensuse.org/request/show/831953
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-jedi?expand=0&rev=82
2020-09-03 20:22:47 +00:00
f8683a0d60 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-jedi?expand=0&rev=81 2020-09-03 14:45:57 +00:00
685732a0c4 Sent the tarball as well
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-jedi?expand=0&rev=80
2020-09-03 08:36:34 +00:00
85db2d155a Factory doesn't like live services.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-jedi?expand=0&rev=79
2020-09-03 08:34:50 +00:00
bd2d08364e - Just say no to Python 2, it just doesn't work anymore.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-jedi?expand=0&rev=78
2020-09-02 20:13:53 +00:00
27dc4fee36 - Temporarily switch on _service to make jedi compatible with the
latest parso (gh#davidhalter/jedi#1665)
- Update to version 0.17.2+git.1596665570.216f976f:
  * Add a .readthedocs.yml to make sure that it's properly pip installed before the documentation is built
  * Formatting
  * if_stmt test clauses should be resolved at the start of the if_stmt
  * Basic implementation support for namedexpr, fixes #1647
  * Remove the requirements file and require latest parso
  * Use pathlib for file ios, because the new parso is out
  * Revert Django changes in a9e2cd5a74b3eea91ad2a866ff8152b42fc509c8
  * Use the default handling of optionals
  * Project attributes are now read accessible
  * Add explicit Optional annotation
  * Link mypy issue
  * Configure mypy and flake8 for our re-export files
  * Remove a couple of unused imports
  * These attributes aren't optional
  * Drop redundant rtype comment
  * Explain why we 'type: ignore' these properties
  * Give a bit more detail here
  * Also typecheck sith
  * Add ignores for stdlib imports only recently added
  * Configure the package root as implicit exports
  * Ignore this runtime-only import
  * Inherit from base class to placate mypy
  * Annotate potentially missing import
  * Change subclass to function wrapper
  * Ignore mypy not coping with decorated properties
  * Make this explicitly expect a Path
  * This is a Path now

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-jedi?expand=0&rev=77
2020-09-02 20:07:09 +00:00
4 changed files with 182 additions and 23 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:86ed7d9b750603e4ba582ea8edc678657fb4007894a12bcf6f4bb97892f31d20
size 1139617

3
jedi-0.19.2.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4770dc3de41bde3966b02eb84fbcf557fb33cce26ad23da12c742fb50ecb11f0
size 1231287

View File

@@ -1,3 +1,161 @@
-------------------------------------------------------------------
Mon Sep 22 12:43:38 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Skip tests failing with Python 3.14
-------------------------------------------------------------------
Mon Dec 9 08:41:21 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 0.19.2
* Python 3.13 support
- Drop python3.13-support.patch, merged upstream
-------------------------------------------------------------------
Fri Sep 20 06:56:42 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Cherry-pick patch from Fedora to add support for Python 3.13
* python3.13-support.patch
-------------------------------------------------------------------
Tue Oct 17 05:23:31 UTC 2023 - Steve Kowalik <steven.kowalik@suse.com>
- Update to 0.19.1:
* Python 3.12 support
- Stop skipping some tests.
-------------------------------------------------------------------
Thu Aug 10 22:27:43 UTC 2023 - Benjamin Greiner <code@bnavigator.de>
- Update requirements
-------------------------------------------------------------------
Thu Aug 10 21:59:38 UTC 2023 - Arun Persaud <arun@gmx.de>
- specfile:
* remove patch supported_pythons_310_311.patch, included upstream
* remove patch support-python-311-typing.patch, included upstreamx
- update to version 0.19.0:
* Python 3.11 support
* Massive improvements in performance for Interpreter (e.g. IPython)
users. This especially affects pandas users with large datasets.
* Add jedi.settings.allow_unsafe_interpreter_executions to make it
easier for IPython users to avoid unsafe executions.
-------------------------------------------------------------------
Wed May 10 12:13:38 UTC 2023 - Ben Greiner <code@bnavigator.de>
- Skip a test failing with attrs 23.1
* gh#davidhalter/jedi#1929
-------------------------------------------------------------------
Fri Apr 21 12:27:27 UTC 2023 - Dirk Müller <dmueller@suse.com>
- add sle15_python_module_pythons (jsc#PED-68)
-------------------------------------------------------------------
Thu Apr 13 22:42:15 UTC 2023 - Matej Cepl <mcepl@suse.com>
- Make calling of %{sle15modernpython} optional.
-------------------------------------------------------------------
Mon Feb 13 12:25:57 UTC 2023 - Ben Greiner <code@bnavigator.de>
- Remove fix_test_compiled_signature_annotation_string.patch
All tests pass without it
-------------------------------------------------------------------
Sun Feb 12 23:52:07 UTC 2023 - Matej Cepl <mcepl@suse.com>
- Add supported_pythons_310_311.patch which includes '3.11' among
_SUPPORTED_PYTHONS (gh#davidhalter/jedi#1914).
-------------------------------------------------------------------
Sat Feb 11 00:28:05 UTC 2023 - Matej Cepl <mcepl@suse.com>
- Add fix_test_compiled_signature_annotation_string.patch to make
test passing with Python 3.10+ (gh#davidhalter/jedi#1732).
-------------------------------------------------------------------
Tue Jan 10 04:01:51 UTC 2023 - Steve Kowalik <steven.kowalik@suse.com>
- Add patch support-python-311-typing.patch:
* Support typing changes for Python 3.11+
-------------------------------------------------------------------
Tue Jan 3 19:08:04 UTC 2023 - Ben Greiner <code@bnavigator.de>
- Move to PEP517
- Pin parso like upstream does
- Skip a test for embedded systems which unexplicably fails on
backports 15.4_py39
-------------------------------------------------------------------
Tue Dec 6 03:49:55 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
- Update to 0.18.2
* Added dataclass-equivalent for attrs.define
* Find fixtures from Pytest entrypoints; Examples of pytest plugins installed like this are pytest-django, pytest-sugar and Faker.
* Fixed Project.search, when a venv was involved, which is why for example :Pyimport django.db did not work in some cases in jedi-vim.
* And many smaller bugfixes
-------------------------------------------------------------------
Sun Mar 27 18:44:40 UTC 2022 - Ben Greiner <code@bnavigator.de>
- Skip two test failing with pytest 7.1 -- gh#davidhalter/jedi#1846
-------------------------------------------------------------------
Mon Jan 10 23:17:12 UTC 2022 - Benjamin Greiner <code@bnavigator.de>
- Force pytest >= 5 for successful 15.3 build in d:l:p
-------------------------------------------------------------------
Fri Dec 10 20:53:13 UTC 2021 - Ben Greiner <code@bnavigator.de>
- Update to 0.18.1
* Implict namespaces are now a separate types in Name().type
* Python 3.10 support
* Mostly bugfixes
- Drop jedi-py39-pytest.patch
- Skip failing test (reported as gh#davidhalter/jedi#1824)
-------------------------------------------------------------------
Sun Oct 31 15:56:52 UTC 2021 - Benjamin Greiner <code@bnavigator.de>
- Force pytest5 because it has the pluggy<1 pin patched out
-------------------------------------------------------------------
Sat Mar 13 13:33:44 UTC 2021 - Ben Greiner <code@bnavigator.de>
- Add jedi-py39-pytest.patch to support Python 3.9
-------------------------------------------------------------------
Fri Dec 25 19:03:26 UTC 2020 - Matej Cepl <mcepl@suse.com>
- update to 0.18.0 (get it together with the latest python-parso just to
be sure):
- Dropped Python 2 and Python 3.5
- Using ``pathlib.Path()`` as an output instead of ``str`` in most
places:
- ``Project.path``
- ``Script.path``
- ``Definition.module_path``
- ``Refactoring.get_renames``
- ``Refactoring.get_changed_files``
- Functions with ``@property`` now return ``property`` instead of
``function`` in ``Name().type``
- Started using annotations
- Better support for the walrus operator
- Project attributes are now read accessible
- Removed all deprecations
This is likely going to be the last minor release before 1.0.
-------------------------------------------------------------------
Thu Sep 3 20:26:53 UTC 2020 - Matej Cepl <mcepl@suse.com>
- Revert back to 0.17.2.
-------------------------------------------------------------------
Thu Aug 27 11:04:42 UTC 2020 - Benjamin Greiner <code@bnavigator.de>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-jedi
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2025 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,24 +16,26 @@
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%{?sle15_python_module_pythons}
Name: python-jedi
Version: 0.17.2
Version: 0.19.2
Release: 0
Summary: An autocompletion tool for Python
License: MIT AND Python-2.0
Group: Development/Languages/Python
URL: https://github.com/davidhalter/jedi
Source0: https://files.pythonhosted.org/packages/source/j/jedi/jedi-%{version}.tar.gz
Source1: %{name}-rpmlintrc
BuildRequires: %{python_module parso >= 0.7.0}
# need pytest 5 https://github.com/davidhalter/jedi/issues/1660
BuildRequires: %{python_module pytest < 6.0.0}
# The author of jedi and parso takes pinning very seriously, adhere to it!
BuildRequires: %{python_module parso >= 0.8.4 with %python-parso < 0.9}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest >= 5}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module typing}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-parso >= 0.7.0
# See pinning note above
Requires: (python-parso >= 0.8.4 with python-parso < 0.9)
BuildArch: noarch
%python_subpackages
@@ -42,7 +44,7 @@ Jedi is a static analysis tool for Python that can be used in
IDEs/editors. Its focus is autocompletion and static
analysis.
Jedi has support for two different goto functions. Its possible to
Jedi has support for two different goto functions. It's possible to
search for related names and to list all names in a Python file and
infer them. Jedi understands docstrings and you can use Jedi
autocompletion in your REPL as well.
@@ -51,13 +53,13 @@ Jedi uses an API to connect with IDEs. There is a reference
implementation as a VIM plugin which uses Jedi's autocompletion.
%prep
%setup -q -n jedi-%{version}
%autosetup -p1 -n jedi-%{version}
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
@@ -68,17 +70,16 @@ skiptests+=" or test_sqlite3_conversion"
skiptests+=" or test_speed"
# fails on some architectures
skiptests+=" or test_init_extension_module"
%if 0%{?suse_version} == 1500
# the python 2 pytest test discovery in Leap 15 and SLE15
# trips on purposely placed syntax errors in test/completion/imports.py
%define pytestignore --ignore test/__init__.py
%endif
%pytest -k "not ($skiptests)" %{?pytestignore}
# This fails on 15.4_py39 server-side but not locally (!?)
skiptests+=" or test_get_default_environment_when_embedded"
# few instances of test_string_annotation fail with Python 3.14 https://github.com/davidhalter/jedi/pull/2070
skiptests+=" or (test_string_annotation and (8 or 9 or 10 or 11)) or test_compiled_signature_annotation_string"
%pytest -k "not ($skiptests)"
%files %{python_files}
%doc AUTHORS.txt CHANGELOG.rst README.rst
%license LICENSE.txt
%{python_sitelib}/jedi-*-py*.egg-info
%{python_sitelib}/jedi/
%{python_sitelib}/jedi
%{python_sitelib}/jedi-%{version}.dist-info
%changelog