python-discovery 1.4.4__py3-none-any.whl → 1.5.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- python_discovery/_cache.py +5 -5
- python_discovery/_cached_py_info.py +4 -4
- python_discovery/_discovery.py +2 -2
- python_discovery/_py_info.py +17 -14
- python_discovery/_py_spec.py +3 -3
- python_discovery/_specifier.py +2 -2
- python_discovery/_windows/_pep514.py +11 -11
- {python_discovery-1.4.4.dist-info → python_discovery-1.5.0.dist-info}/METADATA +2 -14
- python_discovery-1.5.0.dist-info/RECORD +16 -0
- python_discovery-1.4.4.dist-info/RECORD +0 -16
- {python_discovery-1.4.4.dist-info → python_discovery-1.5.0.dist-info}/WHEEL +0 -0
- {python_discovery-1.4.4.dist-info → python_discovery-1.5.0.dist-info}/licenses/LICENSE +0 -0
python_discovery/_cache.py
CHANGED
|
@@ -104,7 +104,7 @@ class DiskContentStore:
|
|
|
104
104
|
|
|
105
105
|
@contextmanager
|
|
106
106
|
def locked(self) -> Generator[None]:
|
|
107
|
-
from filelock import FileLock #
|
|
107
|
+
from filelock import FileLock # ruff:ignore[import-outside-top-level]
|
|
108
108
|
|
|
109
109
|
lock_path = self._folder / f"{self._key}.lock"
|
|
110
110
|
lock_path.parent.mkdir(parents=True, exist_ok=True)
|
|
@@ -148,10 +148,10 @@ class DiskCache:
|
|
|
148
148
|
class NoOpContentStore(ContentStore):
|
|
149
149
|
"""Content store that does nothing -- implements ContentStore protocol."""
|
|
150
150
|
|
|
151
|
-
def exists(self) -> bool: #
|
|
151
|
+
def exists(self) -> bool: # ruff:ignore[no-self-use]
|
|
152
152
|
return False
|
|
153
153
|
|
|
154
|
-
def read(self) -> dict | None: #
|
|
154
|
+
def read(self) -> dict | None: # ruff:ignore[no-self-use]
|
|
155
155
|
return None
|
|
156
156
|
|
|
157
157
|
def write(self, content: dict) -> None:
|
|
@@ -161,14 +161,14 @@ class NoOpContentStore(ContentStore):
|
|
|
161
161
|
pass
|
|
162
162
|
|
|
163
163
|
@contextmanager
|
|
164
|
-
def locked(self) -> Generator[None]: #
|
|
164
|
+
def locked(self) -> Generator[None]: # ruff:ignore[no-self-use]
|
|
165
165
|
yield
|
|
166
166
|
|
|
167
167
|
|
|
168
168
|
class NoOpCache(PyInfoCache):
|
|
169
169
|
"""Cache that does nothing -- implements PyInfoCache protocol."""
|
|
170
170
|
|
|
171
|
-
def py_info(self, path: Path) -> NoOpContentStore: #
|
|
171
|
+
def py_info(self, path: Path) -> NoOpContentStore: # ruff:ignore[unused-method-argument, no-self-use]
|
|
172
172
|
return NoOpContentStore()
|
|
173
173
|
|
|
174
174
|
def py_info_clear(self) -> None:
|
|
@@ -8,14 +8,14 @@ import logging
|
|
|
8
8
|
import os
|
|
9
9
|
import pkgutil
|
|
10
10
|
import secrets
|
|
11
|
-
import subprocess #
|
|
11
|
+
import subprocess # ruff:ignore[suspicious-subprocess-import]
|
|
12
12
|
import sys
|
|
13
13
|
import tempfile
|
|
14
14
|
from collections import OrderedDict
|
|
15
15
|
from contextlib import contextmanager
|
|
16
16
|
from pathlib import Path
|
|
17
17
|
from shlex import quote
|
|
18
|
-
from subprocess import Popen, TimeoutExpired #
|
|
18
|
+
from subprocess import Popen, TimeoutExpired # ruff:ignore[suspicious-subprocess-import]
|
|
19
19
|
from typing import TYPE_CHECKING, Final
|
|
20
20
|
|
|
21
21
|
from ._cache import NoOpCache
|
|
@@ -32,7 +32,7 @@ _CACHE[Path(sys.executable)] = PythonInfo()
|
|
|
32
32
|
_LOGGER: Final[logging.Logger] = logging.getLogger(__name__)
|
|
33
33
|
|
|
34
34
|
|
|
35
|
-
def from_exe( #
|
|
35
|
+
def from_exe( # ruff:ignore[too-many-arguments]
|
|
36
36
|
cls: type[PythonInfo],
|
|
37
37
|
cache: PyInfoCache | None,
|
|
38
38
|
exe: str,
|
|
@@ -197,7 +197,7 @@ def _run_subprocess(
|
|
|
197
197
|
env["PYTHONUTF8"] = "1"
|
|
198
198
|
_LOGGER.debug("get interpreter info via cmd: %s", LogCmd(cmd))
|
|
199
199
|
try:
|
|
200
|
-
process = Popen( #
|
|
200
|
+
process = Popen( # ruff:ignore[subprocess-without-shell-equals-true]
|
|
201
201
|
cmd,
|
|
202
202
|
universal_newlines=True,
|
|
203
203
|
stdin=subprocess.PIPE,
|
python_discovery/_discovery.py
CHANGED
|
@@ -89,7 +89,7 @@ def iter_interpreters(
|
|
|
89
89
|
yield from _iter_for_spec(spec_str, first_with, cache, env_map, predicate, seen)
|
|
90
90
|
|
|
91
91
|
|
|
92
|
-
def _iter_for_spec( #
|
|
92
|
+
def _iter_for_spec( # ruff:ignore[too-many-arguments, too-many-positional-arguments]
|
|
93
93
|
spec_str: str | None,
|
|
94
94
|
try_first_with: tuple[str, ...],
|
|
95
95
|
cache: PyInfoCache | None,
|
|
@@ -231,7 +231,7 @@ def _propose_current_and_windows(
|
|
|
231
231
|
yield current_python, True
|
|
232
232
|
|
|
233
233
|
if IS_WIN: # pragma: win32 cover
|
|
234
|
-
from ._windows import propose_interpreters as win_propose #
|
|
234
|
+
from ._windows import propose_interpreters as win_propose # ruff:ignore[import-outside-top-level]
|
|
235
235
|
|
|
236
236
|
for interpreter in win_propose(spec, cache, env):
|
|
237
237
|
if _is_new_exe(str(interpreter.executable), tested_exes):
|
python_discovery/_py_info.py
CHANGED
|
@@ -49,7 +49,7 @@ _CONF_VAR_RE: Final[re.Pattern[str]] = re.compile(
|
|
|
49
49
|
)
|
|
50
50
|
|
|
51
51
|
|
|
52
|
-
class PythonInfo: #
|
|
52
|
+
class PythonInfo: # ruff:ignore[too-many-public-methods]
|
|
53
53
|
"""Contains information for a Python interpreter."""
|
|
54
54
|
|
|
55
55
|
def __init__(self) -> None:
|
|
@@ -161,7 +161,7 @@ class PythonInfo: # noqa: PLR0904
|
|
|
161
161
|
"""Detect the tcl and tk libraries using tkinter."""
|
|
162
162
|
tcl_lib, tk_lib = None, None
|
|
163
163
|
try:
|
|
164
|
-
import tkinter as tk #
|
|
164
|
+
import tkinter as tk # ruff:ignore[import-outside-top-level]
|
|
165
165
|
except ImportError:
|
|
166
166
|
pass
|
|
167
167
|
else:
|
|
@@ -177,7 +177,7 @@ class PythonInfo: # noqa: PLR0904
|
|
|
177
177
|
@staticmethod
|
|
178
178
|
def _query_tk_library(tcl: tk.Tk) -> str | None: # pragma: no cover
|
|
179
179
|
"""Try to get the TK library path directly from Tcl."""
|
|
180
|
-
import tkinter as tk #
|
|
180
|
+
import tkinter as tk # ruff:ignore[import-outside-top-level]
|
|
181
181
|
|
|
182
182
|
try:
|
|
183
183
|
if (tk_lib := tcl.eval("set tk_library")) and os.path.isdir(tk_lib):
|
|
@@ -303,8 +303,11 @@ class PythonInfo: # noqa: PLR0904
|
|
|
303
303
|
with warnings.catch_warnings(): # disable warning for PEP-632
|
|
304
304
|
warnings.simplefilter("ignore")
|
|
305
305
|
try:
|
|
306
|
-
|
|
307
|
-
from distutils
|
|
306
|
+
# ruff:ignore[import-outside-top-level]
|
|
307
|
+
from distutils import dist # ty: ignore[unresolved-import]
|
|
308
|
+
|
|
309
|
+
# ruff:ignore[import-outside-top-level]
|
|
310
|
+
from distutils.command.install import SCHEME_KEYS # ty: ignore[unresolved-import]
|
|
308
311
|
except ImportError: # pragma: no cover # if removed or not installed ignore
|
|
309
312
|
return {}
|
|
310
313
|
|
|
@@ -312,7 +315,7 @@ class PythonInfo: # noqa: PLR0904
|
|
|
312
315
|
"script_args": "--no-user-cfg",
|
|
313
316
|
}) # conf files not parsed so they do not hijack paths
|
|
314
317
|
if hasattr(sys, "_framework"): # pragma: no cover # macOS framework builds only
|
|
315
|
-
sys._framework = None #
|
|
318
|
+
sys._framework = None # ruff:ignore[private-member-access] # disable macOS static paths for framework
|
|
316
319
|
|
|
317
320
|
with warnings.catch_warnings(): # disable warning for PEP-632
|
|
318
321
|
warnings.simplefilter("ignore")
|
|
@@ -459,12 +462,12 @@ class PythonInfo: # noqa: PLR0904
|
|
|
459
462
|
|
|
460
463
|
:param cache: the cache store to clear.
|
|
461
464
|
"""
|
|
462
|
-
from ._cached_py_info import clear #
|
|
465
|
+
from ._cached_py_info import clear # ruff:ignore[import-outside-top-level]
|
|
463
466
|
|
|
464
467
|
clear(cache)
|
|
465
468
|
cls._cache_exe_discovery.clear()
|
|
466
469
|
|
|
467
|
-
def satisfies(self, spec: PythonSpec, *, impl_must_match: bool) -> bool: #
|
|
470
|
+
def satisfies(self, spec: PythonSpec, *, impl_must_match: bool) -> bool: # ruff:ignore[too-many-return-statements]
|
|
468
471
|
"""
|
|
469
472
|
Check if a given specification can be satisfied by this python interpreter instance.
|
|
470
473
|
|
|
@@ -510,7 +513,7 @@ class PythonInfo: # noqa: PLR0904
|
|
|
510
513
|
return True
|
|
511
514
|
version_info = self.version_info
|
|
512
515
|
for specifier in spec.version_specifier:
|
|
513
|
-
assert specifier.version is not None #
|
|
516
|
+
assert specifier.version is not None # ruff:ignore[assert]
|
|
514
517
|
numeric_version = specifier.version_str
|
|
515
518
|
for prefix in ("rc", "b", "a"):
|
|
516
519
|
if prefix in numeric_version:
|
|
@@ -520,7 +523,7 @@ class PythonInfo: # noqa: PLR0904
|
|
|
520
523
|
release = ".".join(str(c) for c in [version_info.major, version_info.minor, version_info.micro][:precision])
|
|
521
524
|
if (
|
|
522
525
|
version_info.releaselevel != "final"
|
|
523
|
-
and (precision == 3 or specifier.version.pre_type is not None) #
|
|
526
|
+
and (precision == 3 or specifier.version.pre_type is not None) # ruff:ignore[magic-value-comparison]
|
|
524
527
|
and (suffix := {"alpha": "a", "beta": "b", "candidate": "rc"}.get(version_info.releaselevel))
|
|
525
528
|
):
|
|
526
529
|
release = f"{release}{suffix}{version_info.serial}"
|
|
@@ -573,7 +576,7 @@ class PythonInfo: # noqa: PLR0904
|
|
|
573
576
|
return data
|
|
574
577
|
|
|
575
578
|
@classmethod
|
|
576
|
-
def from_exe( #
|
|
579
|
+
def from_exe( # ruff:ignore[too-many-arguments]
|
|
577
580
|
cls,
|
|
578
581
|
exe: str,
|
|
579
582
|
cache: PyInfoCache | None = None,
|
|
@@ -593,7 +596,7 @@ class PythonInfo: # noqa: PLR0904
|
|
|
593
596
|
:param resolve_to_host: resolve through virtualenv layers to the system interpreter.
|
|
594
597
|
:param env: environment mapping; defaults to :data:`os.environ`.
|
|
595
598
|
"""
|
|
596
|
-
from ._cached_py_info import from_exe #
|
|
599
|
+
from ._cached_py_info import from_exe # ruff:ignore[import-outside-top-level]
|
|
597
600
|
|
|
598
601
|
env = os.environ if env is None else env
|
|
599
602
|
proposed = from_exe(cls, cache, exe, env=env, raise_on_error=raise_on_error, ignore_cache=ignore_cache)
|
|
@@ -703,7 +706,7 @@ class PythonInfo: # noqa: PLR0904
|
|
|
703
706
|
msg = "failed to detect {} in {}".format("|".join(possible_names), os.pathsep.join(possible_folders))
|
|
704
707
|
raise RuntimeError(msg)
|
|
705
708
|
|
|
706
|
-
def _check_exe( #
|
|
709
|
+
def _check_exe( # ruff:ignore[too-many-arguments]
|
|
707
710
|
self,
|
|
708
711
|
cache: PyInfoCache | None,
|
|
709
712
|
folder: str,
|
|
@@ -797,7 +800,7 @@ class PythonInfo: # noqa: PLR0904
|
|
|
797
800
|
for base in possible_base:
|
|
798
801
|
lower = base.lower()
|
|
799
802
|
yield lower
|
|
800
|
-
from ._compat import fs_is_case_sensitive #
|
|
803
|
+
from ._compat import fs_is_case_sensitive # ruff:ignore[import-outside-top-level]
|
|
801
804
|
|
|
802
805
|
if fs_is_case_sensitive(): # pragma: no branch
|
|
803
806
|
if base != lower:
|
python_discovery/_py_spec.py
CHANGED
|
@@ -55,7 +55,7 @@ def _parse_version_parts(version: str) -> tuple[int | None, int | None, int | No
|
|
|
55
55
|
raise ValueError(msg)
|
|
56
56
|
if len(versions) == _MAX_VERSION_PARTS:
|
|
57
57
|
return versions[0], versions[1], versions[2]
|
|
58
|
-
if len(versions) == 2: #
|
|
58
|
+
if len(versions) == 2: # ruff:ignore[magic-value-comparison]
|
|
59
59
|
return versions[0], versions[1], None
|
|
60
60
|
version_data = versions[0]
|
|
61
61
|
major = int(str(version_data)[0])
|
|
@@ -127,7 +127,7 @@ class PythonSpec:
|
|
|
127
127
|
constraints, or ``None``.
|
|
128
128
|
"""
|
|
129
129
|
|
|
130
|
-
def __init__( #
|
|
130
|
+
def __init__( # ruff:ignore[too-many-arguments, too-many-positional-arguments]
|
|
131
131
|
self,
|
|
132
132
|
str_spec: str,
|
|
133
133
|
implementation: str | None,
|
|
@@ -233,7 +233,7 @@ class PythonSpec:
|
|
|
233
233
|
return len(item.version.release)
|
|
234
234
|
return None
|
|
235
235
|
|
|
236
|
-
def satisfies(self, spec: PythonSpec) -> bool: #
|
|
236
|
+
def satisfies(self, spec: PythonSpec) -> bool: # ruff:ignore[too-many-return-statements]
|
|
237
237
|
"""
|
|
238
238
|
Check if this spec is compatible with the given *spec* (e.g. PEP-514 on Windows).
|
|
239
239
|
|
python_discovery/_specifier.py
CHANGED
|
@@ -92,7 +92,7 @@ class SimpleVersion:
|
|
|
92
92
|
def __hash__(self) -> int:
|
|
93
93
|
return hash((self.release, self.pre_type, self.pre_num))
|
|
94
94
|
|
|
95
|
-
def __lt__(self, other: object) -> bool: #
|
|
95
|
+
def __lt__(self, other: object) -> bool: # ruff:ignore[too-many-return-statements]
|
|
96
96
|
if not isinstance(other, SimpleVersion):
|
|
97
97
|
return NotImplemented
|
|
98
98
|
if self.release != other.release:
|
|
@@ -225,7 +225,7 @@ class SimpleSpecifier:
|
|
|
225
225
|
return False
|
|
226
226
|
if candidate < self.version:
|
|
227
227
|
return False
|
|
228
|
-
if len(self.version.release) >= 2: #
|
|
228
|
+
if len(self.version.release) >= 2: # ruff:ignore[magic-value-comparison] # pragma: no branch # SimpleVersion always has 3-part release
|
|
229
229
|
upper_parts = list(self.version.release[:-1])
|
|
230
230
|
upper_parts[-1] += 1
|
|
231
231
|
upper = SimpleVersion.from_string(".".join(str(p) for p in upper_parts))
|
|
@@ -47,7 +47,7 @@ _THREADED_TAG_RE: Final[re.Pattern[str]] = re.compile(
|
|
|
47
47
|
)
|
|
48
48
|
|
|
49
49
|
|
|
50
|
-
def enum_keys(key: Any) -> Generator[str, None, None]: #
|
|
50
|
+
def enum_keys(key: Any) -> Generator[str, None, None]: # ruff:ignore[any-type]
|
|
51
51
|
at = 0
|
|
52
52
|
while True:
|
|
53
53
|
try:
|
|
@@ -57,7 +57,7 @@ def enum_keys(key: Any) -> Generator[str, None, None]: # noqa: ANN401
|
|
|
57
57
|
at += 1
|
|
58
58
|
|
|
59
59
|
|
|
60
|
-
def get_value(key: Any, value_name: str | None) -> Any: #
|
|
60
|
+
def get_value(key: Any, value_name: str | None) -> Any: # ruff:ignore[any-type]
|
|
61
61
|
try:
|
|
62
62
|
return winreg.QueryValueEx(key, value_name)[0] # ty: ignore[unresolved-attribute]
|
|
63
63
|
except OSError:
|
|
@@ -93,7 +93,7 @@ def process_set(
|
|
|
93
93
|
def process_company(
|
|
94
94
|
hive_name: str,
|
|
95
95
|
company: str,
|
|
96
|
-
root_key: Any, #
|
|
96
|
+
root_key: Any, # ruff:ignore[any-type]
|
|
97
97
|
default_arch: int,
|
|
98
98
|
) -> Generator[_RegistrySpec, None, None]:
|
|
99
99
|
with winreg.OpenKeyEx(root_key, company) as company_key: # ty: ignore[unresolved-attribute]
|
|
@@ -103,7 +103,7 @@ def process_company(
|
|
|
103
103
|
yield spec
|
|
104
104
|
|
|
105
105
|
|
|
106
|
-
def process_tag(hive_name: str, company: str, company_key: Any, tag: str, default_arch: int) -> _RegistrySpec | None: #
|
|
106
|
+
def process_tag(hive_name: str, company: str, company_key: Any, tag: str, default_arch: int) -> _RegistrySpec | None: # ruff:ignore[any-type]
|
|
107
107
|
with winreg.OpenKeyEx(company_key, tag) as tag_key: # ty: ignore[unresolved-attribute]
|
|
108
108
|
version = load_version_data(hive_name, company, tag, tag_key)
|
|
109
109
|
if version is not None: # if failed to get version bail
|
|
@@ -120,7 +120,7 @@ def process_tag(hive_name: str, company: str, company_key: Any, tag: str, defaul
|
|
|
120
120
|
return None
|
|
121
121
|
|
|
122
122
|
|
|
123
|
-
def load_exe(hive_name: str, company: str, company_key: Any, tag: str) -> tuple[str, str | None] | None: #
|
|
123
|
+
def load_exe(hive_name: str, company: str, company_key: Any, tag: str) -> tuple[str, str | None] | None: # ruff:ignore[any-type]
|
|
124
124
|
key_path = f"{hive_name}/{company}/{tag}"
|
|
125
125
|
try:
|
|
126
126
|
with winreg.OpenKeyEx(company_key, rf"{tag}\InstallPath") as ip_key, ip_key: # ty: ignore[unresolved-attribute]
|
|
@@ -132,7 +132,7 @@ def load_exe(hive_name: str, company: str, company_key: Any, tag: str) -> tuple[
|
|
|
132
132
|
return None
|
|
133
133
|
|
|
134
134
|
|
|
135
|
-
def _resolve_exe(ip_key: Any, key_path: str) -> str | None: #
|
|
135
|
+
def _resolve_exe(ip_key: Any, key_path: str) -> str | None: # ruff:ignore[any-type]
|
|
136
136
|
if (exe := get_value(ip_key, "ExecutablePath")) is not None:
|
|
137
137
|
return exe
|
|
138
138
|
if (ip := get_value(ip_key, None)) is None:
|
|
@@ -141,7 +141,7 @@ def _resolve_exe(ip_key: Any, key_path: str) -> str | None: # noqa: ANN401
|
|
|
141
141
|
return os.path.join(ip, "python.exe")
|
|
142
142
|
|
|
143
143
|
|
|
144
|
-
def load_arch_data(hive_name: str, company: str, tag: str, tag_key: Any, default_arch: int) -> int | None: #
|
|
144
|
+
def load_arch_data(hive_name: str, company: str, tag: str, tag_key: Any, default_arch: int) -> int | None: # ruff:ignore[any-type]
|
|
145
145
|
arch_str = get_value(tag_key, "SysArchitecture")
|
|
146
146
|
if arch_str is not None:
|
|
147
147
|
key_path = f"{hive_name}/{company}/{tag}/SysArchitecture"
|
|
@@ -152,7 +152,7 @@ def load_arch_data(hive_name: str, company: str, tag: str, tag_key: Any, default
|
|
|
152
152
|
return default_arch
|
|
153
153
|
|
|
154
154
|
|
|
155
|
-
def parse_arch(arch_str: Any) -> int: #
|
|
155
|
+
def parse_arch(arch_str: Any) -> int: # ruff:ignore[any-type]
|
|
156
156
|
if isinstance(arch_str, str):
|
|
157
157
|
if match := _ARCH_RE.match(arch_str):
|
|
158
158
|
return int(next(iter(match.groups())))
|
|
@@ -166,7 +166,7 @@ def load_version_data(
|
|
|
166
166
|
hive_name: str,
|
|
167
167
|
company: str,
|
|
168
168
|
tag: str,
|
|
169
|
-
tag_key: Any, #
|
|
169
|
+
tag_key: Any, # ruff:ignore[any-type]
|
|
170
170
|
) -> tuple[int | None, int | None, int | None] | None:
|
|
171
171
|
for candidate, key_path in [
|
|
172
172
|
(get_value(tag_key, "SysVersion"), f"{hive_name}/{company}/{tag}/SysVersion"),
|
|
@@ -180,7 +180,7 @@ def load_version_data(
|
|
|
180
180
|
return None
|
|
181
181
|
|
|
182
182
|
|
|
183
|
-
def parse_version(version_str: Any) -> tuple[int | None, int | None, int | None]: #
|
|
183
|
+
def parse_version(version_str: Any) -> tuple[int | None, int | None, int | None]: # ruff:ignore[any-type]
|
|
184
184
|
if isinstance(version_str, str):
|
|
185
185
|
if match := _VERSION_RE.match(version_str):
|
|
186
186
|
g1, g2, g3 = match.groups()
|
|
@@ -195,7 +195,7 @@ def parse_version(version_str: Any) -> tuple[int | None, int | None, int | None]
|
|
|
195
195
|
raise ValueError(error)
|
|
196
196
|
|
|
197
197
|
|
|
198
|
-
def load_threaded(hive_name: str, company: str, tag: str, tag_key: Any) -> bool: #
|
|
198
|
+
def load_threaded(hive_name: str, company: str, tag: str, tag_key: Any) -> bool: # ruff:ignore[any-type]
|
|
199
199
|
display_name = get_value(tag_key, "DisplayName")
|
|
200
200
|
if display_name is not None:
|
|
201
201
|
if isinstance(display_name, str):
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: python-discovery
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.5.0
|
|
4
4
|
Summary: Python interpreter discovery
|
|
5
5
|
Project-URL: Changelog, https://github.com/tox-dev/python-discovery/releases
|
|
6
6
|
Project-URL: Documentation, https://python-discovery.readthedocs.io
|
|
@@ -42,25 +42,13 @@ Classifier: Programming Language :: Python :: 3.11
|
|
|
42
42
|
Classifier: Programming Language :: Python :: 3.12
|
|
43
43
|
Classifier: Programming Language :: Python :: 3.13
|
|
44
44
|
Classifier: Programming Language :: Python :: 3.14
|
|
45
|
+
Classifier: Programming Language :: Python :: 3.15
|
|
45
46
|
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
46
47
|
Classifier: Topic :: Software Development :: Libraries
|
|
47
48
|
Classifier: Topic :: Utilities
|
|
48
49
|
Requires-Python: >=3.8
|
|
49
50
|
Requires-Dist: filelock>=3.15.4
|
|
50
51
|
Requires-Dist: platformdirs<5,>=4.3.6
|
|
51
|
-
Provides-Extra: docs
|
|
52
|
-
Requires-Dist: furo>=2025.12.19; extra == 'docs'
|
|
53
|
-
Requires-Dist: sphinx-autodoc-typehints>=3.6.3; extra == 'docs'
|
|
54
|
-
Requires-Dist: sphinx>=9.1; extra == 'docs'
|
|
55
|
-
Requires-Dist: sphinxcontrib-mermaid>=2; extra == 'docs'
|
|
56
|
-
Requires-Dist: sphinxcontrib-towncrier>=0.4; extra == 'docs'
|
|
57
|
-
Requires-Dist: towncrier>=25.8; extra == 'docs'
|
|
58
|
-
Provides-Extra: testing
|
|
59
|
-
Requires-Dist: covdefaults>=2.3; extra == 'testing'
|
|
60
|
-
Requires-Dist: coverage>=7.5.4; extra == 'testing'
|
|
61
|
-
Requires-Dist: pytest-mock>=3.14; extra == 'testing'
|
|
62
|
-
Requires-Dist: pytest>=8.3.5; extra == 'testing'
|
|
63
|
-
Requires-Dist: setuptools>=75.1; extra == 'testing'
|
|
64
52
|
Description-Content-Type: text/markdown
|
|
65
53
|
|
|
66
54
|
# [`python-discovery`](https://python-discovery.readthedocs.io/en/latest/)
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
python_discovery/__init__.py,sha256=Hi4j3pMvC8Fo8KoNL-wOHsPSCUHwY4c0qvv5sjnFzME,808
|
|
2
|
+
python_discovery/_cache.py,sha256=svmG2GzUQzd2xTjAbm2eX1CKxxGAglfv4kxaPuxwPIA,5147
|
|
3
|
+
python_discovery/_cached_py_info.py,sha256=l9Y9UJGjKjp4M7iR9HfXYzW3hWdQ3KyNOD5IbSEphLw,8659
|
|
4
|
+
python_discovery/_compat.py,sha256=iqxGuhK9rPaiui80G1H1KrweoMJ16gyLYEmUrSXrp5c,709
|
|
5
|
+
python_discovery/_discovery.py,sha256=HF_TIuH6WLpvHU1KQiK9_yWfJ-np1eB9OSJwI1xRgdc,16894
|
|
6
|
+
python_discovery/_py_info.py,sha256=sXsOX4epGDRhrLvEcpDThh3r1yKMf5KZVaF2ZegoSOA,37311
|
|
7
|
+
python_discovery/_py_spec.py,sha256=O1RMC9JQ7m5SRzF6cEELxnIWZpadXYWO4bWDD7TemUs,10965
|
|
8
|
+
python_discovery/_specifier.py,sha256=Mu9Wp0tgY3WhXNffsG8Je8K3uc-vxqadEdvvQzWIanA,10416
|
|
9
|
+
python_discovery/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
10
|
+
python_discovery/_windows/__init__.py,sha256=qthcyGh36b3WkeSbZ4ECRRYLbCOCaQu5X_DRZ98tXfk,315
|
|
11
|
+
python_discovery/_windows/_pep514.py,sha256=1TqLTdofSCPu3VFE7D4u2fXweyaqhKJR7b48VmJ9AQQ,7787
|
|
12
|
+
python_discovery/_windows/_propose.py,sha256=iMJf6l0TU4SvuV8UsCHHINAe9L5dUT949xyeyMVdong,1565
|
|
13
|
+
python_discovery-1.5.0.dist-info/METADATA,sha256=aDIMeMkRg8kO2fVDwL41lD5DgT_u9Iu8tokFsq-0UPY,5018
|
|
14
|
+
python_discovery-1.5.0.dist-info/WHEEL,sha256=lCkmxWfQsSc9CfIClYeavTdQeEX2toPqufh9gI35EQA,87
|
|
15
|
+
python_discovery-1.5.0.dist-info/licenses/LICENSE,sha256=kOJeH68qSq6o2V7o5_VziwUqGswMnFgGgQH5Mahr1Yg,1023
|
|
16
|
+
python_discovery-1.5.0.dist-info/RECORD,,
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
python_discovery/__init__.py,sha256=Hi4j3pMvC8Fo8KoNL-wOHsPSCUHwY4c0qvv5sjnFzME,808
|
|
2
|
-
python_discovery/_cache.py,sha256=bG4fD-h2pdPmb4v9BldbXmJ5Tlt1boiH1Qrz8kp9Dds,5063
|
|
3
|
-
python_discovery/_cached_py_info.py,sha256=1AFEoc_-OaCi1PXmaFz9Iy_bEuqOhJdFSDFHljzD-EE,8540
|
|
4
|
-
python_discovery/_compat.py,sha256=iqxGuhK9rPaiui80G1H1KrweoMJ16gyLYEmUrSXrp5c,709
|
|
5
|
-
python_discovery/_discovery.py,sha256=cdo6xlktNMEwsQn2R8pn4T1VDE4LD2EJPUyCT7vlHnM,16830
|
|
6
|
-
python_discovery/_py_info.py,sha256=fFhS-gZoYIJYscqM56h1RwFknJou8bgf3h8VXrqm5g8,36974
|
|
7
|
-
python_discovery/_py_spec.py,sha256=FN7nsWOkxdFpmd5st5hz5e2f7egbLzzbRiNiBndAYZc,10877
|
|
8
|
-
python_discovery/_specifier.py,sha256=PTh6suNTC0hMnFSxFYF_vggdciFLnwxoh1YflSbgCXA,10368
|
|
9
|
-
python_discovery/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
10
|
-
python_discovery/_windows/__init__.py,sha256=qthcyGh36b3WkeSbZ4ECRRYLbCOCaQu5X_DRZ98tXfk,315
|
|
11
|
-
python_discovery/_windows/_pep514.py,sha256=zXxje07QIXfrCB3eYbZHOBgXcvAQQpZ-ZWun3_zrapA,7688
|
|
12
|
-
python_discovery/_windows/_propose.py,sha256=iMJf6l0TU4SvuV8UsCHHINAe9L5dUT949xyeyMVdong,1565
|
|
13
|
-
python_discovery-1.4.4.dist-info/METADATA,sha256=15xJaaopcuujqLtLazKC4ZadMMCtHPWntqISeeYMFCQ,5592
|
|
14
|
-
python_discovery-1.4.4.dist-info/WHEEL,sha256=lCkmxWfQsSc9CfIClYeavTdQeEX2toPqufh9gI35EQA,87
|
|
15
|
-
python_discovery-1.4.4.dist-info/licenses/LICENSE,sha256=kOJeH68qSq6o2V7o5_VziwUqGswMnFgGgQH5Mahr1Yg,1023
|
|
16
|
-
python_discovery-1.4.4.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|