Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update importlib resources for 3.13 #12298

Merged
merged 68 commits into from
Sep 16, 2024
Merged
Changes from 1 commit
Commits
Show all changes
68 commits
Select commit Hold shift + click to select a range
43fd437
Update importlib resources for 3.13
max-muoto Jul 9, 2024
90ea2f3
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Jul 9, 2024
e99fcca
Fix
max-muoto Jul 9, 2024
23e1544
Fix
max-muoto Jul 9, 2024
14d6a76
Overloads
max-muoto Jul 9, 2024
ff35a20
Tweak
max-muoto Jul 9, 2024
d1230c3
Fix
max-muoto Jul 9, 2024
ad24e2a
use unpack
max-muoto Jul 9, 2024
4d1dfca
Add tests
max-muoto Jul 9, 2024
90f1f34
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Jul 9, 2024
bac332e
All nullable
max-muoto Jul 9, 2024
ae8bbe0
Tweak
max-muoto Jul 9, 2024
cc428aa
Tweak
max-muoto Jul 9, 2024
55e1c52
Fix
max-muoto Jul 9, 2024
f262d0a
Move to _common
max-muoto Jul 11, 2024
f91ed1e
Use TS
max-muoto Jul 11, 2024
5d9a9b4
Address comment
max-muoto Jul 11, 2024
f4cb586
Fix
max-muoto Jul 11, 2024
ad92305
tweak again
max-muoto Jul 11, 2024
c44c71b
reorder
max-muoto Jul 11, 2024
9c31008
Tweak
max-muoto Jul 11, 2024
bafcf51
Resolve issues
max-muoto Jul 13, 2024
f271829
Move to functional
max-muoto Jul 13, 2024
201ba16
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Jul 13, 2024
7d46617
Fix
max-muoto Jul 13, 2024
52dfac2
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Jul 13, 2024
0af767d
tweak
max-muoto Jul 13, 2024
af74ee9
Tweak
max-muoto Jul 13, 2024
d23df97
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Jul 13, 2024
8e516d6
Tweak
max-muoto Jul 13, 2024
49828af
Update stdlib/importlib/resources/__init__.pyi
max-muoto Jul 16, 2024
d34c137
Update stdlib/importlib/resources/_functional.pyi
max-muoto Jul 16, 2024
c4dc73f
Add
max-muoto Jul 16, 2024
36a5efc
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Jul 16, 2024
a9dcfc6
Tweak
max-muoto Jul 16, 2024
34d62eb
Tweak
max-muoto Jul 16, 2024
e9e7737
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Jul 16, 2024
4f999f8
Fix
max-muoto Jul 16, 2024
00ff92b
Tweaks
max-muoto Jul 16, 2024
1880aa1
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Jul 16, 2024
8837644
Pos isn't required
max-muoto Jul 16, 2024
56b8e78
Tweak
max-muoto Jul 16, 2024
1b35fd3
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Jul 16, 2024
b2c58a1
Use collections.abc.Callable
max-muoto Aug 12, 2024
38ca047
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Aug 12, 2024
e0f7095
Merge branch 'main' into importlib.resources
max-muoto Sep 14, 2024
455d5ad
Add ignore
max-muoto Sep 15, 2024
a764ad0
Add appropiate ignores
max-muoto Sep 15, 2024
1c74e63
Fix
max-muoto Sep 15, 2024
87c1e55
Fix
max-muoto Sep 15, 2024
6786f6c
Add ignore
max-muoto Sep 15, 2024
bced879
Account for older versions
max-muoto Sep 15, 2024
e59c349
Fix
max-muoto Sep 15, 2024
6b85a45
Fixes
max-muoto Sep 15, 2024
622360c
Tweak
max-muoto Sep 15, 2024
9de2ab6
Add block
max-muoto Sep 15, 2024
8190c3c
Nest _common
max-muoto Sep 15, 2024
3f3ef73
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Sep 15, 2024
61d4465
Fix
max-muoto Sep 15, 2024
9cfef10
Fixes
max-muoto Sep 15, 2024
46921b1
Fix
max-muoto Sep 15, 2024
db7f52c
Update stdlib/importlib/resources/__init__.pyi
max-muoto Sep 16, 2024
60e7c31
Update stdlib/importlib/resources/__init__.pyi
max-muoto Sep 16, 2024
51f9a42
Update stdlib/importlib/resources/__init__.pyi
max-muoto Sep 16, 2024
8d16119
Update stdlib/importlib/resources/__init__.pyi
max-muoto Sep 16, 2024
751673e
Update stdlib/@tests/test_cases/check_importlib_resources.py
max-muoto Sep 16, 2024
141a6e8
Merge branch 'main' into importlib.resources
max-muoto Sep 16, 2024
2587ba7
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Sep 16, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add
  • Loading branch information
max-muoto committed Aug 12, 2024
commit c4dc73f8f399df5238910426a04831f342bd39ed
2 changes: 1 addition & 1 deletion stdlib/importlib/resources/_common.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ if sys.version_info >= (3, 12):
Anchor: TypeAlias = Package

def package_to_anchor(
package_to_anchor: Callable[[Anchor | None], Traversable]
func: Callable[[Anchor | None], Traversable],
) -> Callable[[Anchor | None, Anchor | None], Traversable]: ...
@overload
def files(anchor: Anchor | None = None) -> Traversable: ...
Expand Down