Commit c227e11
authored
ref(utils): Explicitly use None default when checking metadata (#4039)
Fixes #4035
As described in the above issue, starting in Python 3.14
importlib_metadata 8 provides the desired behavior, raising KeyError on
a missing key. In preparation for this change, and to remove a
DeprecationWarning, we should explicitly default to None when getting
metadata.1 parent d937272 commit c227e11
2 files changed
+5
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1665 | 1665 | | |
1666 | 1666 | | |
1667 | 1667 | | |
1668 | | - | |
| 1668 | + | |
1669 | 1669 | | |
1670 | 1670 | | |
1671 | 1671 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
650 | 650 | | |
651 | 651 | | |
652 | 652 | | |
653 | | - | |
654 | | - | |
| 653 | + | |
| 654 | + | |
655 | 655 | | |
656 | 656 | | |
657 | | - | |
658 | | - | |
| 657 | + | |
| 658 | + | |
659 | 659 | | |
660 | 660 | | |
661 | 661 | | |
| |||
0 commit comments