Dave Halter
11280ef502
Merge pull request #1977 from HairlessVillager/master
...
[Typo] Fix some misalignment of docstrings
2023-12-28 10:20:12 +00:00
HairlessVillager
94ec4b873a
Fix some misalignment of docstrings
2023-12-28 13:26:12 +08:00
Dave Halter
f8e502f90c
Apparently read the docs also needs this
2023-10-04 09:41:55 +02:00
Dave Halter
dc20f2e5a0
Try to fix readthedocs
2023-10-04 09:40:41 +02:00
Dave Halter
4e175ca82b
Prepare for release 0.19.1
v0.19.1
2023-10-02 10:55:17 +02:00
Dave Halter
30e9b7b5be
Merge pull request #1961 from PeterJCLaw/docs-link
...
Include a link to the docs in the package metadata
2023-09-23 23:56:11 +00:00
Peter Law
83545bc9ec
Include a link to the docs in the package metadata
2023-09-22 21:33:52 +01:00
Peter Law
57e7b83455
Add missing import
...
I suspect this got lost in a merge somewhere, probably the
combination of 7e533ca7e1 and the
Python 3.12 work in a60fdba1d4 .
2023-09-22 21:29:31 +01:00
Dave Halter
0770372857
Merge pull request #1956 from PeterJCLaw/python-3.12
...
Support Python 3.12
2023-09-17 19:25:45 +00:00
Peter Law
7e533ca7e1
Drop redundant conditional skips for unsupported Python versions
2023-09-17 18:38:12 +01:00
Peter Law
a60fdba1d4
Adjust for change to documention change of next in Python 3.12
...
The signature of the builtin isn't actually changing in Python 3.12,
however its documentation has changed.
2023-09-17 18:27:53 +01:00
Dave Halter
9d399a9229
Merge pull request #1959 from davidhalter/unpin-test-django
...
Unpin Django in tests
2023-09-17 12:37:00 +00:00
Peter Law
770cdade00
Claim support for Python 3.12
2023-09-16 21:41:06 +01:00
Peter Law
29890c1f29
Ignore linux-only os.CLONE_* constants in Python 3.12 in import test
2023-09-16 21:41:06 +01:00
Peter Law
159566e1a0
Add Python 3.12 as a tested platform
2023-09-16 21:41:06 +01:00
Peter Law
a80618a2df
Unpin Django in tests
...
It's not completely clear why this was pinned originally, though
at the time Jedi supported Python 2.7 as well as 3.5-3.8, so that
may have had something to do with it.
Removing this pin now seems to work in CI and unblocks some issues
we're seeing around Python 3.12 (specifically that Django<3.1
implicitly relies on distutils, which is no longer available by
default, and possibly other issues).
2023-09-16 21:40:34 +01:00
Peter Law
4bc1b6ef99
Bump use of actions/checkout to avoid Node JS deprecations
2023-09-16 18:12:28 +01:00
Peter Law
d655d65d3a
Fix typo in comment
2023-09-16 18:03:56 +01:00
Dave Halter
51f4a99a1e
Bump version to 0.19.0
v0.19.0
2023-07-29 00:57:34 +02:00
Dave Halter
93c14d2e6e
Add release notes for 0.19.0
2023-07-29 00:46:38 +02:00
Dave Halter
57aefed6ea
Allow unsafe custom __getitem__ executions when allow unsafe executions is on
2023-07-29 00:33:09 +02:00
Dave Halter
8a4b079d0f
allow_descriptor_getattr -> allow_unsafe_interpreter_executions
2023-07-29 00:06:55 +02:00
Dave Halter
62cbcb0844
Make nested dict completions possible.
...
See also https://github.com/ipython/ipython/issues/13866
2023-07-28 23:50:38 +02:00
Dave Halter
d8420d0f72
Add a note to the changelog
2023-07-28 22:59:03 +02:00
Dave Halter
886279fb6d
Try to use the return annotations of properties, if available, fixes #1933
2023-07-28 22:35:15 +02:00
Dave Halter
ff3a7f367f
Avoid evaluating properties just for the api type, improves #1933
2023-07-28 22:11:15 +02:00
Dave Halter
1f70e3301e
Revert "Avoid one layer of caching that is probably useless"
...
This reverts commit a34c348a55 .
2023-07-28 16:10:30 +02:00
Dave Halter
a34c348a55
Avoid one layer of caching that is probably useless
2023-07-28 16:05:56 +02:00
Dave Halter
972123c9c9
Introduce the property return annotation
2023-07-28 15:54:54 +02:00
Dave Halter
6455a14841
Avoid multiple getattrs instead of a single one, see also #1933
2023-07-28 15:10:37 +02:00
Dave Halter
8d9e3ab3a7
Simplify
2023-07-28 13:10:26 +02:00
Dave Halter
048173e467
Remove a piece of unimportant code, see discussion in #1933
2023-07-28 10:15:28 +02:00
Dave Halter
1947e7dd56
Avoid dynamic params search for Interpreter, fixes #1899
2023-07-27 13:49:27 +02:00
Dave Halter
01d8da8f73
Reset the recursion limitations at the start of the main Script calls, fixes #1796
2023-07-27 13:14:24 +02:00
Dave Halter
6ea5ad7b19
Fix issue around completions with multiple with with_items, fixes 1931
2023-07-27 11:54:39 +02:00
Dave Halter
cd4ca74d7a
Satisfy flake8
2023-07-27 11:36:16 +02:00
Dave Halter
67d6262f45
Skip the namespace package test correctly
2023-07-27 10:07:16 +02:00
Dave Halter
5f19237a3e
Fix renaming of namespace packages, fixes #1779
2023-07-27 03:09:25 +02:00
Dave Halter
f2444b4be5
Merge pull request #1943 from diegorodriguezv/patch-1
...
Fix language servers reference
2023-06-22 08:44:15 +00:00
diegorodriguezv
7028bbb5d5
Fix language servers reference
2023-06-21 19:06:53 -05:00
Dave Halter
3699ba0aa7
Merge pull request #1942 from lkh42t/inference-annotated
...
Support typing.Annotated inference
2023-06-19 00:28:27 +00:00
Luc Khai Hai
72d34f3d7d
Support typing.Annotated inference
2023-06-17 20:46:03 +09:00
Peter Law
a28bd24bef
Merge branch 'importlib-metadata-entry-points'
2023-05-28 12:08:09 +01:00
Peter Law
54cb64292c
Support importlib.metadata entry points for newer python
...
pkg_resources is deprecated and liable to be dropped at some point.
2023-05-28 11:48:19 +01:00
Dave Halter
d421b920fa
Merge pull request #1937 from PeterJCLaw/update-importlib-usage
...
Modernise importlib usage
2023-05-27 22:54:45 +00:00
Peter Law
c137eb6918
Modernise importlib usage
...
`find_module` is deprecated in all supported version of Python and
is slated for removal in the upcoming 3.12. Happily it seems we
can move to the related `find_spec` and just hoist the loader from
the spec which that returns. (This is mostly what current `find_module`
implementations do anyway).
2023-05-27 22:03:51 +01:00
Peter Law
d67facc922
Merge branch 'update-github-actions'
2023-05-27 22:03:03 +01:00
Dave Halter
7023b645b1
Merge pull request #1935 from PeterJCLaw/fix-attrs-as-dataclass
...
Teach Jedi that `attrs`' `frozen` decorator also acts like a dataclass
2023-05-27 21:01:21 +00:00
Peter Law
b5120cc90b
Update GitHub Actions for Node 16 support
2023-05-27 00:18:38 +01:00
Peter Law
483e78993d
attrs' frozen decorator also acts like a dataclass
...
In 23.1.0 (specifically in 46053d703d )
the definition of the `frozen` decorator was tweaked slightly, such
that its type stub is separate from that for `define`. This means
that Jedi needs to be told about it as a separate member.
I've manually checked that this still works with the prior version
of `attrs`.
Fixes https://github.com/davidhalter/jedi/issues/1929
2023-05-27 00:13:55 +01:00