Dave Halter
0d79865a0f
Fix __enter__ Self resolving
2026-04-29 18:15:57 +02:00
Dave Halter
3375d48f8c
Improve typing_extensions usages
2026-04-29 18:08:59 +02:00
Dave Halter
aa72381ed1
Implement Self, fixes #2023 , fixes #2068
2026-04-29 17:51:01 +02:00
Dave Halter
c30732eb04
Add a tuple[...] test for the future, see #2040
2026-04-29 17:10:02 +02:00
Dave Halter
fe0369436e
Change a few tests to match new typeshed
2026-04-29 09:30:49 +02:00
Dave Halter
04e5f5b3b8
Change a few tests for new typeshed
2026-04-28 17:14:42 +02:00
Dave Halter
75f1d064d5
Ignore Final/ClassVar if they don't have a generic assignment
2026-04-28 17:05:43 +02:00
Dave Halter
6473ddc28c
Implement Final[...] in a way so it doesn't completely fail
2026-04-28 15:49:26 +02:00
Dave Halter
b27a7dde18
Fix file path completions
2026-04-28 15:25:25 +02:00
Dave Halter
3365d0763b
Implement __new__ signatures, fixes #2073
2026-04-28 02:25:25 +02:00
Dave Halter
ff581e8403
Start fixing some of the problems with new typeshed
2026-04-28 01:41:40 +02:00
Dave Halter
2455414d1d
Upgrade Typeshed
2026-04-28 01:38:26 +02:00
Dave Halter
38122a7fd3
Fix issues around whitespace after dot completions, fixes #1954
ci / tests (3.10, ubuntu-24.04, 3.10) (push) Has been cancelled
ci / tests (3.10, ubuntu-24.04, 3.11) (push) Has been cancelled
ci / tests (3.10, ubuntu-24.04, 3.12) (push) Has been cancelled
ci / tests (3.10, ubuntu-24.04, 3.13) (push) Has been cancelled
ci / tests (3.10, ubuntu-24.04, 3.14) (push) Has been cancelled
ci / tests (3.10, windows-2022, 3.10) (push) Has been cancelled
ci / tests (3.10, windows-2022, 3.11) (push) Has been cancelled
ci / tests (3.10, windows-2022, 3.12) (push) Has been cancelled
ci / tests (3.10, windows-2022, 3.13) (push) Has been cancelled
ci / tests (3.10, windows-2022, 3.14) (push) Has been cancelled
ci / tests (3.11, ubuntu-24.04, 3.10) (push) Has been cancelled
ci / tests (3.11, ubuntu-24.04, 3.11) (push) Has been cancelled
ci / tests (3.11, ubuntu-24.04, 3.12) (push) Has been cancelled
ci / tests (3.11, ubuntu-24.04, 3.13) (push) Has been cancelled
ci / tests (3.11, ubuntu-24.04, 3.14) (push) Has been cancelled
ci / tests (3.11, windows-2022, 3.10) (push) Has been cancelled
ci / tests (3.11, windows-2022, 3.11) (push) Has been cancelled
ci / tests (3.11, windows-2022, 3.12) (push) Has been cancelled
ci / tests (3.11, windows-2022, 3.13) (push) Has been cancelled
ci / tests (3.11, windows-2022, 3.14) (push) Has been cancelled
ci / tests (3.12, ubuntu-24.04, 3.10) (push) Has been cancelled
ci / tests (3.12, ubuntu-24.04, 3.11) (push) Has been cancelled
ci / tests (3.12, ubuntu-24.04, 3.12) (push) Has been cancelled
ci / tests (3.12, ubuntu-24.04, 3.13) (push) Has been cancelled
ci / tests (3.12, ubuntu-24.04, 3.14) (push) Has been cancelled
ci / tests (3.12, windows-2022, 3.10) (push) Has been cancelled
ci / tests (3.12, windows-2022, 3.11) (push) Has been cancelled
ci / tests (3.12, windows-2022, 3.12) (push) Has been cancelled
ci / tests (3.12, windows-2022, 3.13) (push) Has been cancelled
ci / tests (3.12, windows-2022, 3.14) (push) Has been cancelled
ci / tests (3.13, ubuntu-24.04, 3.10) (push) Has been cancelled
ci / tests (3.13, ubuntu-24.04, 3.11) (push) Has been cancelled
ci / tests (3.13, ubuntu-24.04, 3.12) (push) Has been cancelled
ci / tests (3.13, ubuntu-24.04, 3.13) (push) Has been cancelled
ci / tests (3.13, ubuntu-24.04, 3.14) (push) Has been cancelled
ci / tests (3.13, windows-2022, 3.10) (push) Has been cancelled
ci / tests (3.13, windows-2022, 3.11) (push) Has been cancelled
ci / tests (3.13, windows-2022, 3.12) (push) Has been cancelled
ci / tests (3.13, windows-2022, 3.13) (push) Has been cancelled
ci / tests (3.13, windows-2022, 3.14) (push) Has been cancelled
ci / tests (3.14, ubuntu-24.04, 3.10) (push) Has been cancelled
ci / tests (3.14, ubuntu-24.04, 3.11) (push) Has been cancelled
ci / tests (3.14, ubuntu-24.04, 3.12) (push) Has been cancelled
ci / tests (3.14, ubuntu-24.04, 3.13) (push) Has been cancelled
ci / tests (3.14, ubuntu-24.04, 3.14) (push) Has been cancelled
ci / tests (3.14, windows-2022, 3.10) (push) Has been cancelled
ci / tests (3.14, windows-2022, 3.11) (push) Has been cancelled
ci / tests (3.14, windows-2022, 3.12) (push) Has been cancelled
ci / tests (3.14, windows-2022, 3.13) (push) Has been cancelled
ci / tests (3.14, windows-2022, 3.14) (push) Has been cancelled
ci / tests (interpreter, ubuntu-24.04, 3.10) (push) Has been cancelled
ci / tests (interpreter, ubuntu-24.04, 3.11) (push) Has been cancelled
ci / tests (interpreter, ubuntu-24.04, 3.12) (push) Has been cancelled
ci / tests (interpreter, ubuntu-24.04, 3.13) (push) Has been cancelled
ci / tests (interpreter, ubuntu-24.04, 3.14) (push) Has been cancelled
ci / tests (interpreter, windows-2022, 3.10) (push) Has been cancelled
ci / tests (interpreter, windows-2022, 3.11) (push) Has been cancelled
ci / tests (interpreter, windows-2022, 3.12) (push) Has been cancelled
ci / tests (interpreter, windows-2022, 3.13) (push) Has been cancelled
ci / tests (interpreter, windows-2022, 3.14) (push) Has been cancelled
ci / code-quality (push) Has been cancelled
ci / coverage (push) Has been cancelled
2026-04-27 18:15:45 +02:00
Dave Halter
40c685c52b
Fix star import completions, fixes #2087
2026-04-27 16:10:56 +02:00
Dave Halter
83a232e945
Change the CHANGELOG slightly
2026-04-27 16:09:39 +02:00
Dave Halter
5bbbc53f19
Merge pull request #2097 from davidhalter/py314
...
Python 3.14; fixes #2093 , fixes #2070 , will fix #2064 after release.
2026-04-27 13:52:06 +00:00
Dave Halter
6e17c85a57
Avoid flake8 issues
2026-04-27 15:29:08 +02:00
Dave Halter
44600ea194
Fix union acess for 3.14
2026-04-27 15:21:26 +02:00
Dave Halter
04d45a8e1e
Remove a 3, 9 artifact
2026-04-27 14:42:24 +02:00
Dave Halter
f1ab9d9539
Remove some 3.8 artifacts
2026-04-27 14:41:58 +02:00
Dave Halter
7bac12c125
Remove some 3.7/3.6 artifacts
2026-04-27 14:35:10 +02:00
Dave Halter
d4233732be
Format unions with | consistently
2026-04-27 14:24:23 +02:00
Dave Halter
74fb7ff279
Enable tests for 3.14 in CI, fixes #2070
2026-04-27 14:18:17 +02:00
Dave Halter
375dd1bacc
Add 3.14 to the supported environments
2026-04-27 14:01:39 +02:00
Dave Halter
94f7e540ff
Merge branch 'py314' of https://github.com/frenzymadness/jedi into py314
2026-04-27 12:22:31 +02:00
Dave Halter
4cca2ed774
Merge pull request #2095 from davidhalter/typing
...
Use Zuban instead of Mypy for subsecond type checking and editor integration
2026-04-27 00:05:43 +00:00
Dave Halter
f8c8ef8c66
Upgrade all the sphinx dependencies
2026-04-27 01:48:02 +02:00
Dave Halter
5938262227
Avoid 3.8/3.9 in tests
2026-04-27 01:07:39 +02:00
Dave Halter
a662298e2f
Remove a bit more python3.8/3.9 specific code
2026-04-27 00:42:07 +02:00
Dave Halter
1eddf24a50
Remove Python 3.9 and 3.10
2026-04-27 00:34:17 +02:00
Dave Halter
edb5462cf5
Fix an issue with tests
2026-04-26 03:05:30 +02:00
Dave Halter
30b3acf6d3
Change the flake8 version to hopefully fix the version issue in CI
2026-04-26 02:44:39 +02:00
Dave Halter
56e55e9ed5
Upgrade zuban
2026-04-26 02:27:28 +02:00
Lumir Balhar
04737b2637
Fix Python 3.15 compatibility
...
- Fix getattr_static for Python 3.15 __dict__ GetSetDescriptorType
- Accept abs() parameter name change ('x' → 'number')
- Add Python 3.15 os module constants to test expectations
Fixes instance attribute introspection and stdlib changes in Python 3.15.
2026-04-08 08:19:15 +02:00
Dave Halter
68be64b992
Use forward references because 3.8 is still a bit annoying
2026-03-26 23:31:24 +01:00
Dave Halter
9e582586fa
Merge testing and qa extras_require into dev
2026-03-26 23:22:39 +01:00
Dave Halter
9f91506947
Enable --strict and then disable some of the errors
2026-03-26 23:11:19 +01:00
Dave Halter
ffe4ae5877
Replace the mypy check with zuban check
2026-03-26 23:02:08 +01:00
Lumir Balhar
9b24443787
Fix Python 3.14 compatibility for typing.Union annotations
...
In Python 3.14, typing.Union changed its repr from 'typing.Union[X, Y]'
to 'X | Y' (PEP 604), breaking annotation inference.
Changes:
- Use getattr() instead of safe_getattr() for __module__ retrieval
(getattr_static fails on Union types in Python 3.14)
- Add fallback to typing.get_origin() when regex fails to match
- Normalize Union display back to 'Union[X, Y]' format for consistency
- Update test expectations for invalid annotation edge case in 3.14
Fixes: https://github.com/davidhalter/jedi/issues/2064
2026-03-09 15:39:23 +01:00
Dave Halter
3176c1dcb8
A bit more solid typing for goto_or_help_or_infer
2026-02-16 22:54:32 +01:00
Dave Halter
ea09983566
Some small typing improvements for tests
2026-02-16 21:20:27 +01:00
David Brochart
76c1e03f07
Fix typo
2026-02-13 11:01:08 +00:00
Dave Halter
8cbb817b12
Fix a lot of test related typing issues
2026-02-10 19:38:55 +01:00
Dave Halter
6903bc25d5
Remove an outdated script
2026-02-10 19:02:51 +01:00
Dave Halter
e7fdbcc834
Fix a few more typing issues
2026-02-04 02:24:41 +01:00
Dave Halter
3ffed76884
Improve a weird typing issue
2026-02-04 01:28:30 +01:00
Dave Halter
30ef824abd
Introduce some stricter typing
2026-02-04 01:19:14 +01:00
Dave Halter
c7481b3319
Fix a linter issue
ci / tests (3.10, ubuntu-24.04, 3.10) (push) Has been cancelled
ci / tests (3.10, ubuntu-24.04, 3.11) (push) Has been cancelled
ci / tests (3.10, ubuntu-24.04, 3.12) (push) Has been cancelled
ci / tests (3.10, ubuntu-24.04, 3.13) (push) Has been cancelled
ci / tests (3.10, ubuntu-24.04, 3.8) (push) Has been cancelled
ci / tests (3.10, ubuntu-24.04, 3.9) (push) Has been cancelled
ci / tests (3.10, windows-2022, 3.10) (push) Has been cancelled
ci / tests (3.10, windows-2022, 3.11) (push) Has been cancelled
ci / tests (3.10, windows-2022, 3.12) (push) Has been cancelled
ci / tests (3.10, windows-2022, 3.13) (push) Has been cancelled
ci / tests (3.10, windows-2022, 3.8) (push) Has been cancelled
ci / tests (3.10, windows-2022, 3.9) (push) Has been cancelled
ci / tests (3.11, ubuntu-24.04, 3.10) (push) Has been cancelled
ci / tests (3.11, ubuntu-24.04, 3.11) (push) Has been cancelled
ci / tests (3.11, ubuntu-24.04, 3.12) (push) Has been cancelled
ci / tests (3.11, ubuntu-24.04, 3.13) (push) Has been cancelled
ci / tests (3.11, ubuntu-24.04, 3.8) (push) Has been cancelled
ci / tests (3.11, ubuntu-24.04, 3.9) (push) Has been cancelled
ci / tests (3.11, windows-2022, 3.10) (push) Has been cancelled
ci / tests (3.11, windows-2022, 3.11) (push) Has been cancelled
ci / tests (3.11, windows-2022, 3.12) (push) Has been cancelled
ci / tests (3.11, windows-2022, 3.13) (push) Has been cancelled
ci / tests (3.11, windows-2022, 3.8) (push) Has been cancelled
ci / tests (3.11, windows-2022, 3.9) (push) Has been cancelled
ci / tests (3.12, ubuntu-24.04, 3.10) (push) Has been cancelled
ci / tests (3.12, ubuntu-24.04, 3.11) (push) Has been cancelled
ci / tests (3.12, ubuntu-24.04, 3.12) (push) Has been cancelled
ci / tests (3.12, ubuntu-24.04, 3.13) (push) Has been cancelled
ci / tests (3.12, ubuntu-24.04, 3.8) (push) Has been cancelled
ci / tests (3.12, ubuntu-24.04, 3.9) (push) Has been cancelled
ci / tests (3.12, windows-2022, 3.10) (push) Has been cancelled
ci / tests (3.12, windows-2022, 3.11) (push) Has been cancelled
ci / tests (3.12, windows-2022, 3.12) (push) Has been cancelled
ci / tests (3.12, windows-2022, 3.13) (push) Has been cancelled
ci / tests (3.12, windows-2022, 3.8) (push) Has been cancelled
ci / tests (3.12, windows-2022, 3.9) (push) Has been cancelled
ci / tests (3.13, ubuntu-24.04, 3.10) (push) Has been cancelled
ci / tests (3.13, ubuntu-24.04, 3.11) (push) Has been cancelled
ci / tests (3.13, ubuntu-24.04, 3.12) (push) Has been cancelled
ci / tests (3.13, ubuntu-24.04, 3.13) (push) Has been cancelled
ci / tests (3.13, ubuntu-24.04, 3.8) (push) Has been cancelled
ci / tests (3.13, ubuntu-24.04, 3.9) (push) Has been cancelled
ci / tests (3.13, windows-2022, 3.10) (push) Has been cancelled
ci / tests (3.13, windows-2022, 3.11) (push) Has been cancelled
ci / tests (3.13, windows-2022, 3.12) (push) Has been cancelled
ci / tests (3.13, windows-2022, 3.13) (push) Has been cancelled
ci / tests (3.13, windows-2022, 3.8) (push) Has been cancelled
ci / tests (3.13, windows-2022, 3.9) (push) Has been cancelled
ci / tests (3.8, ubuntu-24.04, 3.10) (push) Has been cancelled
ci / tests (3.8, ubuntu-24.04, 3.11) (push) Has been cancelled
ci / tests (3.8, ubuntu-24.04, 3.12) (push) Has been cancelled
ci / tests (3.8, ubuntu-24.04, 3.13) (push) Has been cancelled
ci / tests (3.8, ubuntu-24.04, 3.8) (push) Has been cancelled
ci / tests (3.8, ubuntu-24.04, 3.9) (push) Has been cancelled
ci / tests (3.8, windows-2022, 3.10) (push) Has been cancelled
ci / tests (3.8, windows-2022, 3.11) (push) Has been cancelled
ci / tests (3.8, windows-2022, 3.12) (push) Has been cancelled
ci / tests (3.8, windows-2022, 3.13) (push) Has been cancelled
ci / tests (3.8, windows-2022, 3.8) (push) Has been cancelled
ci / tests (3.8, windows-2022, 3.9) (push) Has been cancelled
ci / tests (3.9, ubuntu-24.04, 3.10) (push) Has been cancelled
ci / tests (3.9, ubuntu-24.04, 3.11) (push) Has been cancelled
ci / tests (3.9, ubuntu-24.04, 3.12) (push) Has been cancelled
ci / tests (3.9, ubuntu-24.04, 3.13) (push) Has been cancelled
ci / tests (3.9, ubuntu-24.04, 3.8) (push) Has been cancelled
ci / tests (3.9, ubuntu-24.04, 3.9) (push) Has been cancelled
ci / tests (3.9, windows-2022, 3.10) (push) Has been cancelled
ci / tests (3.9, windows-2022, 3.11) (push) Has been cancelled
ci / tests (3.9, windows-2022, 3.12) (push) Has been cancelled
ci / tests (3.9, windows-2022, 3.13) (push) Has been cancelled
ci / tests (3.9, windows-2022, 3.8) (push) Has been cancelled
ci / tests (3.9, windows-2022, 3.9) (push) Has been cancelled
ci / tests (interpreter, ubuntu-24.04, 3.10) (push) Has been cancelled
ci / tests (interpreter, ubuntu-24.04, 3.11) (push) Has been cancelled
ci / tests (interpreter, ubuntu-24.04, 3.12) (push) Has been cancelled
ci / tests (interpreter, ubuntu-24.04, 3.13) (push) Has been cancelled
ci / tests (interpreter, ubuntu-24.04, 3.8) (push) Has been cancelled
ci / tests (interpreter, ubuntu-24.04, 3.9) (push) Has been cancelled
ci / tests (interpreter, windows-2022, 3.10) (push) Has been cancelled
ci / tests (interpreter, windows-2022, 3.11) (push) Has been cancelled
ci / tests (interpreter, windows-2022, 3.12) (push) Has been cancelled
ci / tests (interpreter, windows-2022, 3.13) (push) Has been cancelled
ci / tests (interpreter, windows-2022, 3.8) (push) Has been cancelled
ci / tests (interpreter, windows-2022, 3.9) (push) Has been cancelled
ci / code-quality (push) Has been cancelled
ci / coverage (push) Has been cancelled
2026-01-20 02:05:51 +01:00
Dave Halter
3ac1632a5c
Avoid the need to import search_ancestor
2026-01-19 20:30:03 +01:00
Dave Halter
4a7b5f4879
Increase the required vesion of parso
2026-01-19 17:08:11 +01:00