Commit Graph

56 Commits

Author SHA256 Message Date
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
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
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
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
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
Tomáš Chvátal
a4afab3968 - Update to 0.13.3:
* Fixed an issue with embedded Pytho, 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=34
2019-03-02 15:16:00 +00:00
Tomáš Chvátal
732ced3883 - Fix the typing dependency
- Really run the tests

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-jedi?expand=0&rev=31
2019-02-14 12:07:37 +00:00
Tomáš Chvátal
86b13418c7 Accepting request 663217 from home:apersaud:branches:devel:languages:python
update to latest version

OBS-URL: https://build.opensuse.org/request/show/663217
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-jedi?expand=0&rev=29
2019-01-07 08:50:46 +00:00
Todd R
02f57e9ee0 Accepting request 641336 from home:TheBlackCat:branches:devel:languages:python
- update to version 0.13.1
  * Bugfixes, because tensorflow completions were still slow.
- update to version 0.13.0
  * A small release. Some bug fixes.
  * Remove Python 3.3 support. Python 3.3 support has been dropped by the Python
    foundation.
  * Default environments are now using the same Python version as the Python
    process. In 0.12.x, we used to load the latest Python version on the system.
  * Added ``include_builtins`` as a parameter to usages.
  * ``goto_assignments`` has a new ``follow_builtin_imports`` parameter that
    changes the previous behavior slightly.
- Remove test_requrements.patch, no longer needed

OBS-URL: https://build.opensuse.org/request/show/641336
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-jedi?expand=0&rev=27
2018-10-11 18:57:23 +00:00
f0261543b2 Accepting request 621488 from home:apersaud:branches:devel:languages:python
- specfile:
  * require parso >= 0.3.0
  * remove python-devel requirement
- update to version 0.12.1:
  * This release forces you to upgrade parso. If you don't, nothing
    will work anymore. Otherwise changes should be limited to bug
    fixes. Unfortunately Jedi still uses a few internals of parso that
    make it hard to keep compatibility over multiple releases. Parso
    >=0.3.0 is going to be needed.

OBS-URL: https://build.opensuse.org/request/show/621488
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-jedi?expand=0&rev=25
2018-07-11 07:49:18 +00:00
Todd R
09f3e0c44b Accepting request 598807 from home:TheBlackCat:branches:devel:languages:python
- Update to version 0.12.0
  * Virtualenv/Environment support
  * F-String Completion/Goto Support
  * Cannot crash with segfaults anymore
  * Cleaned up import logic
  * Understand async/await and autocomplete it (including async generators)
  * Better namespace completions
  * Passing tests for Windows (including CI for Windows)
  * Remove Python 2.6 support
- Update to version 0.11.1
  * Parso update - the caching layer was broken
  * Better usages - a lot of internal code was ripped out and improved.
- Remove upstream-included test_requrements.patch
- Add new test_requrements.patch to avoid limit on pytest version.
- Disable tests, they don't work in most situations.

OBS-URL: https://build.opensuse.org/request/show/598807
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-jedi?expand=0&rev=23
2018-04-19 19:57:08 +00:00
3f4c53bc9c Accepting request 540498 from home:mimi_vx:branches:devel:languages:python
- fix requires

OBS-URL: https://build.opensuse.org/request/show/540498
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-jedi?expand=0&rev=21
2017-11-10 13:46:42 +00:00
546f508ec9 Accepting request 540487 from home:mimi_vx:branches:devel:languages:python
- fix tests to run on current python3
- added test_requrements.patch to allow newer versions of python-parso

- fix test conditions

OBS-URL: https://build.opensuse.org/request/show/540487
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-jedi?expand=0&rev=20
2017-11-10 13:07:08 +00:00
Jan Matejek
bc4db9ddea Accepting request 530232 from home:apersaud:branches:devel:languages:python
update to latest version

OBS-URL: https://build.opensuse.org/request/show/530232
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-jedi?expand=0&rev=19
2017-10-02 12:23:58 +00:00
Jan Matejek
8f73e428ae Accepting request 504889 from home:sebix:branches:devel:languages:python
fixes python-typing dependency

OBS-URL: https://build.opensuse.org/request/show/504889
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-jedi?expand=0&rev=17
2017-06-23 17:15:05 +00:00
3f0e48a544 Accepting request 491914 from home:jengelh:branches:devel:languages:python
- Grammatical corrections to description.
  Replace historic focus by current focus.

OBS-URL: https://build.opensuse.org/request/show/491914
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-jedi?expand=0&rev=15
2017-04-28 18:23:05 +00:00
Todd R
c8202edc46 Accepting request 491686 from home:TheBlackCat:branches:devel:languages:python
Fix license.

OBS-URL: https://build.opensuse.org/request/show/491686
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-jedi?expand=0&rev=14
2017-04-27 18:18:48 +00:00
Todd R
ae493fe521 Accepting request 491636 from home:TheBlackCat:branches:devel:languages:python
Disable tests on non-x86/x86_64 platforms.

OBS-URL: https://build.opensuse.org/request/show/491636
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-jedi?expand=0&rev=13
2017-04-27 15:48:23 +00:00
Todd R
349b449ea4 Accepting request 491181 from home:TheBlackCat:branches:devel:languages:python
- Update to version 0.10.2
- Implement single-spec version

OBS-URL: https://build.opensuse.org/request/show/491181
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-jedi?expand=0&rev=12
2017-04-26 03:32:20 +00:00
Todd R
0e9d5810ab Accepting request 342539 from home:TheBlackCat:branches:devel:languages:python
Fix tests

OBS-URL: https://build.opensuse.org/request/show/342539
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-jedi?expand=0&rev=10
2015-11-05 10:43:51 +00:00