Overview
Request 769906 superseded
- 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.
- Created by mimi_vx
- In state superseded
- Superseded by 769953
- Open review for factory-staging
Request History
mimi_vx created request
- 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.
factory-auto added opensuse-review-team as a reviewer
Please review sources
factory-auto accepted review
Check script succeeded
licensedigger accepted review
ok
dimstar accepted review
dimstar_suse set openSUSE:Factory:Staging:F as a staging project
Being evaluated by staging project "openSUSE:Factory:Staging:F"
dimstar_suse accepted review
Picked "openSUSE:Factory:Staging:F"
dimstar declined request
FTBFS
[ 96s] > assert [c.name for c in Script('import os\nos.nt''').complete()] == ['nt']
[ 96s] E AssertionError: assert [] == ['nt']
[ 96s] E Right contains one more item: 'nt'
[ 96s] E Full diff:
[ 96s] E - []
[ 96s] E + ['nt']
[ 96s]
dimstar declined review
FTBFS
[ 96s] > assert [c.name for c in Script('import os\nos.nt''').complete()] == ['nt']
[ 96s] E AssertionError: assert [] == ['nt']
[ 96s] E Right contains one more item: 'nt'
[ 96s] E Full diff:
[ 96s] E - []
[ 96s] E + ['nt']
[ 96s]
dimstar_suse reopened request
Reopened via staging workflow.
dimstar_suse added factory-staging as a reviewer
Being evaluated by group "factory-staging"
dimstar_suse accepted review
Unstaged from project "openSUSE:Factory:Staging:F"
dimstar_suse declined request
Declined via staging workflow.
superseded by 769953