Commit Graph

53 Commits

Author SHA256 Message Date
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
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
Jan Matejek
c4eea65d9f Accepting request 305620 from home:benoit_monin:branches:devel:languages:python
- update to version 0.9.0
- remove "-final0" appended to source version
- add python-unittest2 as a test dependency for SLE11
- skip failing tests in test_integration_import.py

OBS-URL: https://build.opensuse.org/request/show/305620
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-jedi?expand=0&rev=8
2015-05-07 12:01:38 +00:00
c387e865bd Accepting request 244551 from devel:languages:python
jedi is a python autocompleter compatible with a wide variety of text editors, including vim, emacs, and kate.

OBS-URL: https://build.opensuse.org/request/show/244551
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-jedi?expand=0&rev=1
2014-08-14 12:58:06 +00:00
Todd R
e570cb3f1c Accepting request 244550 from home:TheBlackCat:branches:devel:languages:python
Update to version 0.8.1

OBS-URL: https://build.opensuse.org/request/show/244550
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-jedi?expand=0&rev=6
2014-08-13 12:23:23 +00:00
Denisart Benjamin
fd98781cf2 Accepting request 209863 from home:posophe:branches:devel:languages:python
update

OBS-URL: https://build.opensuse.org/request/show/209863
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-jedi?expand=0&rev=5
2013-12-08 19:58:34 +00:00
Sascha Peilicke
8711cfb1ae - Require python-setuptools instead of distribute (upstreams merged)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-jedi?expand=0&rev=4
2013-10-24 11:07:18 +00:00