Dave Halter
b0025ee6ba
Merge pull request #1911 from krpatter-intc/allow_descriptor_getattr_official_support
...
Make allow_descriptor_getattr a non-private variable for more official
2023-02-10 22:30:33 +00:00
Patterson, Kevin R
fac0b7f068
instance_allow_descriptor_getattr as public setting
2023-02-10 05:43:21 -06:00
Dave Halter
aeadba7cad
Merge pull request #1910 from ghrist8p/1909-fix-sys-path-is-tuple
...
Replaced tuple passed as sys_path actual argument with list
2023-02-07 23:21:16 +00:00
Georgi Hristov
fd0e6aed96
Replaced tuple passed as sys_path actual argument with list
...
Fixes davidhalter#1909
2023-02-05 15:46:23 -08:00
Dave Halter
c89fa8e927
Merge pull request #1903 from s-t-e-v-e-n-k/python-311-string-typing
...
Support Python 3.11 typing changes
2023-01-10 19:57:58 +00:00
Steve Kowalik
00e23ddcee
Support Python 3.11 typing changes
...
Python 3.11 has changed typing so that unions now return forward
refrences instead of erroring, and typing.Any is now an _AnyMeta class.
Correct the parameters for both of those.
Fixes #1858
2023-01-10 14:52:24 +11:00
Dave Halter
66e97e5b93
Jedi is now a fixed part of the Eric IDE
2022-12-16 15:37:22 +01:00
Dave Halter
0f5ea3de5f
Revert "Removed all usages of Eric IDE, because apparently it's not using Jedi anymore"
...
This reverts commit e47bbbb851 .
2022-12-16 15:36:31 +01:00
Dave Halter
e47bbbb851
Removed all usages of Eric IDE, because apparently it's not using Jedi anymore
2022-12-16 15:33:07 +01:00
Dave Halter
eaab706038
Prepare the release of 0.18.2
v0.18.2
2022-11-21 23:23:46 +01:00
Dave Halter
41455480be
Better search for venvs
2022-11-21 23:06:26 +01:00
Dave Halter
0a670d10dd
Merge branch 'master' of github.com:davidhalter/jedi
2022-11-21 22:59:48 +01:00
Dave Halter
6b73d5c1bf
Probably using the 3.10 grammar is better for stubs for now
2022-11-21 21:07:33 +01:00
Dave Halter
a3fed3b6a6
Remove a TODO that was already implemented
2022-11-14 08:39:11 +01:00
Dave Halter
66c52b4bc7
Try to fix a test for Windows
2022-11-13 23:48:43 +01:00
Dave Halter
89f9a3a7f1
Fix a Django test
2022-11-13 23:38:22 +01:00
Dave Halter
3a30008cc4
Fix keyword argument completion, fixes #1856
2022-11-13 20:26:00 +01:00
Dave Halter
b0d5fc2bd0
Fix errors around docs of namespace packages, fixes #1890 , fixes #1822
2022-11-13 19:50:08 +01:00
Dave Halter
6e5db3f479
Fix a weird AttributeError, fixes #1765
2022-11-13 18:26:01 +01:00
Dave Halter
85780111e0
Use the latest grammar from parso for stubs, probably fixes #1864
2022-11-13 17:59:22 +01:00
Dave Halter
0ba48bbb9d
Fix an issue with creatin a diff, fixes #1757
2022-11-13 17:51:54 +01:00
Dave Halter
26f7878d97
Revert some of the logic around ClassVar completions, see #1847
2022-11-12 23:15:16 +01:00
Dave Halter
8027e1b162
Remove the ClassVar filter, see also #1847
2022-11-12 22:58:00 +01:00
Dave Halter
78a53bf005
Change a test slightly
2022-11-12 13:59:07 +01:00
Dave Halter
8485df416d
Finally fix a Django test
2022-11-11 18:00:17 +01:00
Dave Halter
94e78340e1
Fix a formatting issue in CI
2022-11-11 17:54:57 +01:00
Dave Halter
f454989859
Now that ClassVars work differently fix a Django test
2022-11-11 17:52:35 +01:00
Dave Halter
e779f23ac7
Another small change towards tests
2022-11-11 17:50:05 +01:00
Dave Halter
3c40363a39
Remove another test that depends on specific pytest versions and is well covered by other tests
2022-11-11 17:47:02 +01:00
Dave Halter
a6cf2c338a
Remove part of a test that is annoying to develop
2022-11-11 17:44:49 +01:00
Dave Halter
2a7311c1a0
Remove some unrelated things from .gitignore again
2022-11-11 17:15:46 +01:00
Dave Halter
81427e4408
Add a note about pytest entrypoints in CHANGELOG
2022-11-11 17:01:11 +01:00
Dave Halter
804e4b0ca2
Merge pull request #1861 from qmmp123/master
...
Fix : #1847
2022-11-11 16:00:39 +00:00
Dave Halter
3475ccfbd3
Merge pull request #1870 from Presburger/master
...
fix autocomplete crash in ycmd
2022-11-11 15:50:10 +00:00
Dave Halter
9723a0eed0
Merge pull request #1879 from marciomazza/find-external-pytest-fixtures
...
Find external pytest fixtures
2022-11-11 15:46:40 +00:00
Dave Halter
658f80fa1e
Just pin all documentation generation dependencies
2022-11-11 16:36:23 +01:00
Dave Halter
31c2c508c3
Try to get jedi.readthedocs.org running again
2022-11-11 16:15:37 +01:00
Dave Halter
6c9cab2f8e
Merge pull request #1889 from AndrewAmmerlaan/master
...
python3.11 compatibility
2022-10-20 19:08:52 +00:00
Andrew Ammerlaan
0a6ad1010c
inference/compiled/subprocess/functions.py: Skip python3.11's frozen imports
...
Bug: https://github.com/davidhalter/jedi/issues/1858
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org >
2022-10-19 16:53:17 +02:00
Dave Halter
3a60943f6e
Merge pull request #1885 from asford/attrs_support
...
Extend dataclass constructor hinting to attrs next-gen apis.
2022-10-13 19:12:59 +00:00
Alex Ford
4d1e00c3ab
Skip if attrs not in target environment.
...
Add check for attrs in test environment and skip if not installed.
This is patterned off the existing django tests.
2022-10-13 00:43:29 -07:00
Alex Ford
e15f51ecc1
Remove mutable from attrs signature tests
2022-10-11 17:55:57 -07:00
Alex Ford
eaa66b3dbb
Update setup.py
2022-10-11 17:40:31 -07:00
Alex Ford
239d9e0b22
Add note to changelog
2022-10-11 17:40:31 -07:00
Alex Ford
40e1e3f560
Extend dataclass constructor hinting to attrs next-gen apis.
...
Trivially extends dataclass constructor hinting to attrs next-gen APIs.
This will stumble in cases where attrs extends beyond the standard
dataclasses API, such as complex use of defaults, converters, et al.
However, it likely covers the vast majority of cases which fall solidly
in the intersection of the two APIs.
Extension beyond these cases could use [PEP0681 dataclass_transforms],
however this is definitely a problem for another day.
[PEP0681 dataclass_transforms]: https://peps.python.org/pep-0681/
https://github.com/davidhalter/jedi/issues/1835
2022-10-11 17:40:31 -07:00
Marcio Mazza
c243608ac6
Add your name to AUTHORS.txt
2022-09-05 17:31:14 -03:00
Marcio Mazza
e25750ecef
Make code compatible with python < 3.8
2022-09-05 17:05:11 -03:00
Marcio Mazza
1a306fddbf
Fix check pytest fixture from import on the right context
2022-09-04 13:12:13 -03:00
Marcio Mazza
ec425ed2af
Add tests to find pytest fixtures from external plugins
2022-09-03 17:16:32 -03:00
Marcio Mazza
fa1e9ce9a7
Simplify entry points enumeration
2022-09-03 17:16:32 -03:00