Commit Graph

73 Commits

Author SHA256 Message Date
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
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
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
Steve Kowalik
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
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
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
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
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
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
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
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
331f1767a8 Accepting request 829963 from home:bnavigator:branches:jedi
- Exclude pytest 6 gh#davidhalter/jedi#1660

OBS-URL: https://build.opensuse.org/request/show/829963
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-jedi?expand=0&rev=75
2020-08-27 11:06:22 +00:00
1aea6dcf21 Update to 0.17.2
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-jedi?expand=0&rev=73
2020-07-17 21:48:21 +00:00
7375fdd96b - drop jedi-pr1543-sorttest.patch merged upstream
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-jedi?expand=0&rev=71
2020-06-20 12:16:28 +00:00
199417d4ad - Update to version 0.17.1
* Django ``Model`` meta class support
  * Django Manager support (completion on Managers/QuerySets)
  * Added Django Stubs to Jedi, thanks to all contributors of the
    `Django Stubs <https://github.com/typeddjango/django-stubs>`_ project
  * Added ``SyntaxError.get_message``
  * Python 3.9 support
  * Bugfixes (mostly towards Generics)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-jedi?expand=0&rev=70
2020-06-20 12:15:15 +00:00
Tomáš Chvátal
744e05d8a0 - Skip two tests on leap not just sp1+
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-jedi?expand=0&rev=68
2020-05-24 08:31:09 +00:00
728098438e skip erroneous discovery in leap 15.2 too
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-jedi?expand=0&rev=67
2020-05-19 14:07:12 +00:00
997247497d Accepting request 794383 from home:bnavigator:branches:devel:languages:python
- Update to v0.17.0
  * Added ``Project`` support. This allows a user to specify which
    folders Jedi should work with.
  * Added support for Refactoring. The following refactorings have
    been implemented: ``Script.rename``, ``Script.inline``,
    ``Script.extract_variable`` and ``Script.extract_function``.
  * Added ``Script.get_syntax_errors`` to display syntax errors in
    the current script.
  * Added code search capabilities both for individual files and
    projects. The new functions are ``Project.search``,
    ``Project.complete_search``,  ``Script.search`` and
    ``Script.complete_search``.
  * Added ``Script.help`` to make it easier to display a help
    window to people. Now returns pydoc information as well for
    Python keywords/operators.  This means that on the class 
    keyword it will now return the docstring of Python's builtin
    function ``help('class')``.
  * The API documentation is now way more readable and complete.
    Check it out under https://jedi.readthedocs.io. A lot of it
    has been rewritten.
  * Removed Python 3.4 support
  * Many bugfixes 
- back to regular releases, no git service needed anymore
- jedi-pr1543-sorttest.patch gh#davidhalter/jedi#1543

OBS-URL: https://build.opensuse.org/request/show/794383
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-jedi?expand=0&rev=65
2020-04-15 21:09:37 +00:00
86e95ff892 Accepting request 793600 from home:bnavigator:branches:devel:languages:python
- tell Leap 15.1 and SLE 15 SP1 pytest to ignore test/__init__.py so that a test file with purposely placed syntax errors does not trip the entire discovery
- reenable (most) unittests
- remove unbundle.patch -- according to upstream, typeshed is meant to be bundled.

I was made package maintainer some time ago, but for this SR I would like to have a project maintainer look at the revert of unbundling typeshed first.

Re-enabling the unit tests to make sure further work on python-language-server and spyder works with a sane package when unpinning their dependencies. Upstream of those packages does not like to support unpinned Jedi [1, 2].

[1] https://github.com/spyder-ide/spyder/issues/11975
[2] https://github.com/palantir/python-language-server/issues/744

OBS-URL: https://build.opensuse.org/request/show/793600
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-jedi?expand=0&rev=63
2020-04-14 08:51:52 +00:00
2322b1aa2c Accepting request 786030 from home:bnavigator:branches:devel:languages:python
- fix version string to 0.16.0+git55.17b3611c

OBS-URL: https://build.opensuse.org/request/show/786030
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-jedi?expand=0&rev=61
2020-03-17 22:28:44 +00:00
Tomáš Chvátal
9c0449ce93 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-jedi?expand=0&rev=60 2020-03-17 09:17:41 +00:00
Tomáš Chvátal
30544dbeff - Update to version v0.16.0+git55.17b3611c:
* Included statement as a possible return type for BaseDefinition.type

- Disable tests

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-jedi?expand=0&rev=59
2020-03-16 09:21:27 +00:00
Tomáš Chvátal
5fd953c67c - Update to version v0.16.0+git54.0888dd46:
* Fix partialmethod issues
  * Make sure partialmethod tests are only executed for Python 3
  * Refactor stdlib PartialObject
  * Fix PartialMethodObject (WIP)
  * Changed semantics of ClassVar attributes in classes, fixes #1502
  * Avoid duplicate definitions for goto, fixes #1514
  * Merge _remove_statements and infer_expr_stmt, fixes #1504
  * Add partialmethod, fixes #1519
  * Attempt at a test of completion of filepath after ~.
  * Complete path after ~.

- Remove patches from git in preparation to switch to git service:
  * delete.patch
  * typing.patch

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-jedi?expand=0&rev=58
2020-03-14 10:28:59 +00:00
f11d7b283a - add typing.patch - fix test_sys_getwindowsversion with new parso
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-jedi?expand=0&rev=56
2020-03-06 11:56:34 +00:00
05129cec46 - add delete.patch
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-jedi?expand=0&rev=54
2020-02-04 11:43:22 +00:00
49510a83a9 - update to 0.16.0
* Added Script.get_context to get information where you currently are.
 * Completions/type inference of Pytest fixtures.
 * Tensorflow, Numpy and Pandas completions should now be about 4-10x faster after the first time they are used.
 * Dict key completions are working now. e.g. d = {1000: 3}; d[10 will expand to 1000.
 * Completion for “proxies” works now. These are classes that have a __getattr__(self, name) method that does a return getattr(x, name). after loading them initially.
 * Goto on a function/attribute in a class now goes to the definition in its super class.
 * Big Script API Changes:
   + The line and column parameters of jedi.Script are now deprecated
   + completions deprecated, use complete instead
   + goto_assignments deprecated, use goto instead
   + goto_definitions deprecated, use infer instead
   + call_signatures deprecated, use get_signatures instead
   + usages deprecated, use get_references instead
   + jedi.names deprecated, use jedi.Script(...).get_names()
 * BaseDefinition.goto_assignments renamed to BaseDefinition.goto
 * Add follow_imports to Definition.goto. Now its signature matches Script.goto.
 * Python 2 support deprecated. For this release it is best effort. Python 2 has reached the end of its life and now it’s just about a smooth transition. Bugs for Python 2 will not be fixed anymore and a third of the tests are already skipped.
 * Removed settings.no_completion_duplicates. It wasn’t tested and nobody was probably using it anyway.
 * Removed settings.use_filesystem_cache and settings.additional_dynamic_modules, they have no usage anymore. Pretty much nobody was probably using them.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-jedi?expand=0&rev=53
2020-02-04 09:39:35 +00:00
d4d7a5008e - update to 0.15.2
- skip tests based on bundled typeshed
- refreshed unbundle.patch
 * Call signatures are now detected a lot better
 * Add fuzzy completions with Script(...).completions(fuzzy=True)
 * Files bigger than one MB (about 20kLOC) get cropped to avoid
    getting stuck completely.
 * A big refactoring around contexts/values

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-jedi?expand=0&rev=51
2019-12-28 15:04:49 +00:00
02ff591f9f Fix changes
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-jedi?expand=0&rev=49
2019-11-24 14:42:36 +00:00
c56dfeab76 - Grr, forgot to ignore test_compiled_signature as well. See the
previous changelog record.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-jedi?expand=0&rev=48
2019-11-23 16:06:39 +00:00
ef26b2ca75 - Skip TestSetupReadline.test_import because of gh#davidhalter/jedi#1429
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-jedi?expand=0&rev=46
2019-10-24 18:08:12 +00:00
Tomáš Chvátal
19bbe14212 - Skip another time based test test_os_path_join
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-jedi?expand=0&rev=44
2019-09-12 17:43:48 +00:00
Tomáš Chvátal
774c86328b - Skip flaky test test_static_analysis
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-jedi?expand=0&rev=43
2019-09-11 12:03:20 +00:00
Tomáš Chvátal
022e7179a0 Accepting request 727363 from home:apersaud:branches:devel:languages:python
update to latest version

OBS-URL: https://build.opensuse.org/request/show/727363
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-jedi?expand=0&rev=41
2019-08-31 13:39:32 +00:00
99cfd6332f - update to 0.14.1
* CallSignature.index should now be working a lot better
 * A couple of smaller bugfixes

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-jedi?expand=0&rev=39
2019-07-16 10:42:38 +00:00
6609d0bd3b - update to 0.14.0
- enable tests
- add unbundle.patch
 * Added goto_*(prefer_stubs=True) as well as goto_*(prefer_stubs=True)
 * Stubs are used now for type inference
 * Typeshed is used for better type inference
 * Reworked Definition.full_name, should have more correct return values

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-jedi?expand=0&rev=38
2019-07-04 14:40:44 +00:00
Tomáš Chvátal
6d343e92c7 - Disable tests as it is not working at all on python 3.7
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-jedi?expand=0&rev=36
2019-05-29 12:51:31 +00:00
Tomáš Chvátal
46c102e604 - Do not bother condition for typing, on 3.7+ it is provided by base
* Fixed an issue with embedded Python see https://github.com/davidhalter/jedi-vim/issues/870

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-jedi?expand=0&rev=35
2019-03-26 10:49:10 +00:00