Commit Graph

115 Commits

Author SHA256 Message Date
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
Dominique Leuenberger
f115c099dc Accepting request 794384 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/794384
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-jedi?expand=0&rev=23
2020-04-17 22:27:36 +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
Dominique Leuenberger
ce18c1a345 Accepting request 793777 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/793777
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-jedi?expand=0&rev=22
2020-04-15 17:53:11 +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
Dominique Leuenberger
33ac20685c Accepting request 786032 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/786032
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-jedi?expand=0&rev=21
2020-03-26 23:26:36 +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
Dominique Leuenberger
84be3c98cf Accepting request 782093 from devel:languages:python
- add typing.patch - fix test_sys_getwindowsversion with new parso

OBS-URL: https://build.opensuse.org/request/show/782093
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-jedi?expand=0&rev=20
2020-03-08 21:22:40 +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
Dominique Leuenberger
50d31ea9b0 Accepting request 769953 from devel:languages:python
- update to 0.16.0
- add delete.patch
 * 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/request/show/769953
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-jedi?expand=0&rev=19
2020-02-06 12:19:28 +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
Dominique Leuenberger
df28d84aa6 Accepting request 759790 from devel:languages:python
- 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/request/show/759790
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-jedi?expand=0&rev=18
2019-12-29 14:49:26 +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
Dominique Leuenberger
7317e60542 Accepting request 750559 from devel:languages:python
- So, this is completely boring, non-offensive changelog record,
  which says, that I have also add previously missing skip over
  test_compiled_signature test case, because of
  gh#davidhalter/jedi#1429

OBS-URL: https://build.opensuse.org/request/show/750559
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-jedi?expand=0&rev=17
2019-11-29 14:55:37 +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
Dominique Leuenberger
4bce09bfcc Accepting request 742710 from devel:languages:python
- Skip TestSetupReadline.test_import because of gh#davidhalter/jedi#1429

OBS-URL: https://build.opensuse.org/request/show/742710
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-jedi?expand=0&rev=16
2019-11-04 16:08:57 +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
Dominique Leuenberger
f8b4bedc88 Accepting request 730454 from devel:languages:python
- Skip another time based test test_os_path_join

- Skip flaky test test_static_analysis

OBS-URL: https://build.opensuse.org/request/show/730454
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-jedi?expand=0&rev=15
2019-09-23 10:09:15 +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
Dominique Leuenberger
9c6fe73914 Accepting request 727460 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/727460
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-jedi?expand=0&rev=14
2019-09-07 10:31:06 +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
Dominique Leuenberger
a53426f66f Accepting request 715640 from devel:languages:python
- update to 0.14.1
 * CallSignature.index should now be working a lot better
 * A couple of smaller bugfixes

- 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/request/show/715640
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-jedi?expand=0&rev=13
2019-07-30 11:00:40 +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
Dominique Leuenberger
14fd547058 Accepting request 706299 from devel:languages:python
- Disable tests as it is not working at all on python 3.7

- Do not bother condition for typing, on 3.7+ it is provided by base

- Update to 0.13.3:
  * Fixed an issue with embedded Python see https://github.com/davidhalter/jedi-vim/issues/870

- Fix the typing dependency
- Really run the tests

OBS-URL: https://build.opensuse.org/request/show/706299
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-jedi?expand=0&rev=12
2019-06-18 12:44:15 +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
Dominique Leuenberger
1932b7c809 Accepting request 663291 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/663291
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-jedi?expand=0&rev=11
2019-01-08 11:29:02 +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
Dominique Leuenberger
af55793773 Accepting request 641337 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/641337
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-jedi?expand=0&rev=10
2018-10-15 08:48:53 +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
Dominique Leuenberger
1986d1e962 Accepting request 622028 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/622028
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-jedi?expand=0&rev=9
2018-07-14 18:24:11 +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
Dominique Leuenberger
b1ae54823f Accepting request 598808 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/598808
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-jedi?expand=0&rev=8
2018-04-20 15:31:31 +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
Dominique Leuenberger
6a64bea9f5 Accepting request 540499 from devel:languages:python
- fix requires (forwarded request 540498 from mimi_vx)

OBS-URL: https://build.opensuse.org/request/show/540499
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-jedi?expand=0&rev=7
2017-11-16 13:01:13 +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
Dominique Leuenberger
645c63a30c Accepting request 505954 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/505954
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-jedi?expand=0&rev=6
2017-06-26 13:54:30 +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
Dominique Leuenberger
5ebcb7a885 Accepting request 493067 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/493067
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-jedi?expand=0&rev=5
2017-05-17 15:17:46 +00:00