Compare commits
46 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 00894e8231 | |||
| 51def0050a | |||
| b87cefbd4a | |||
| c4ddb85d93 | |||
| cbe51e423c | |||
| 43e256cd33 | |||
| 128947eac6 | |||
| c88eb9b85a | |||
| dfc63e99f6 | |||
| 1d7dca64d5 | |||
| 665c8abea5 | |||
| 3e549357b7 | |||
| 80a25cdad5 | |||
| 33c46a6521 | |||
| b788d53bc8 | |||
| 09e2fdbe46 | |||
| cb174356b6 | |||
| ba073ab540 | |||
| be9049698b | |||
| 6a3cc17d1e | |||
| 760c62534b | |||
| 67c055229f | |||
| d6ee399b08 | |||
| e7f27ec892 | |||
| a8f1c2dbeb | |||
| 4dcaf9358e | |||
| 1fcf44352f | |||
| 8522f17886 | |||
| 9ac3f389e7 | |||
| a3a3a8a905 | |||
| 8e396e7bdd | |||
| 5e96cf19d2 | |||
| e2b4a45e53 | |||
| d9db536345 | |||
| d64da59f40 | |||
| da7d3fb29c | |||
| 4005215f0f | |||
| 77a68c5a26 | |||
| 6e663f920b | |||
| 877129a0a9 | |||
| 667fba43b6 | |||
| 904a903781 | |||
| 1c85f77999 | |||
| 486221b421 | |||
| d30299fdbd | |||
| d3dafb2e2b |
@@ -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
3
jedi-0.19.2.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:4770dc3de41bde3966b02eb84fbcf557fb33cce26ad23da12c742fb50ecb11f0
|
||||
size 1231287
|
||||
@@ -1,3 +1,156 @@
|
||||
-------------------------------------------------------------------
|
||||
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>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-jedi
|
||||
#
|
||||
# Copyright (c) 2020 SUSE LLC
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
#
|
||||
# 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. It’s 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,14 @@ 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"
|
||||
%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
|
||||
|
||||
Reference in New Issue
Block a user