@elaraai/e3 1.0.109 → 1.0.111
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.
- package/dist/src/environment-capture.d.ts +27 -57
- package/dist/src/environment-capture.d.ts.map +1 -1
- package/dist/src/environment-capture.js +87 -456
- package/dist/src/environment-capture.js.map +1 -1
- package/dist/src/environment-capture.spec.js +280 -5
- package/dist/src/environment-capture.spec.js.map +1 -1
- package/dist/src/environment-npm-lock.d.ts +77 -0
- package/dist/src/environment-npm-lock.d.ts.map +1 -0
- package/dist/src/environment-npm-lock.js +209 -0
- package/dist/src/environment-npm-lock.js.map +1 -0
- package/dist/src/environment-uv-lock.d.ts +373 -0
- package/dist/src/environment-uv-lock.d.ts.map +1 -0
- package/dist/src/environment-uv-lock.js +588 -0
- package/dist/src/environment-uv-lock.js.map +1 -0
- package/dist/src/export.d.ts.map +1 -1
- package/dist/src/export.js +12 -3
- package/dist/src/export.js.map +1 -1
- package/dist/src/index.d.ts +2 -2
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/index.js +2 -2
- package/dist/src/index.js.map +1 -1
- package/dist/src/runner.d.ts +14 -2
- package/dist/src/runner.d.ts.map +1 -1
- package/dist/src/runner.js +16 -4
- package/dist/src/runner.js.map +1 -1
- package/dist/src/stock-platforms.spec.js +7 -1
- package/dist/src/stock-platforms.spec.js.map +1 -1
- package/package.json +3 -3
|
@@ -0,0 +1,373 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) 2025 Elara AI Pty Ltd
|
|
3
|
+
* Dual-licensed under AGPL-3.0 and commercial license. See LICENSE for details.
|
|
4
|
+
*/
|
|
5
|
+
/** One package of a uv lock. */
|
|
6
|
+
export interface UvLockPackage {
|
|
7
|
+
name: string;
|
|
8
|
+
source?: Record<string, string>;
|
|
9
|
+
dependencies?: Array<{
|
|
10
|
+
name: string;
|
|
11
|
+
extra?: string[];
|
|
12
|
+
}>;
|
|
13
|
+
'optional-dependencies'?: Record<string, Array<{
|
|
14
|
+
name: string;
|
|
15
|
+
extra?: string[];
|
|
16
|
+
}>>;
|
|
17
|
+
'dev-dependencies'?: Record<string, Array<{
|
|
18
|
+
name: string;
|
|
19
|
+
extra?: string[];
|
|
20
|
+
}>>;
|
|
21
|
+
}
|
|
22
|
+
/** A uv lock, for what a capture reads of it. */
|
|
23
|
+
export interface UvLock {
|
|
24
|
+
version?: number;
|
|
25
|
+
/** The workspace's own: its members, and the settings it was resolved
|
|
26
|
+
* under that resolve a distribution otherwise than its dependents ask. */
|
|
27
|
+
manifest?: {
|
|
28
|
+
members?: string[];
|
|
29
|
+
overrides?: Array<{
|
|
30
|
+
name: string;
|
|
31
|
+
specifier?: string;
|
|
32
|
+
}>;
|
|
33
|
+
excludes?: string[];
|
|
34
|
+
};
|
|
35
|
+
package?: UvLockPackage[];
|
|
36
|
+
}
|
|
37
|
+
/** Canonicalize a path for identity comparison — realpath when it exists,
|
|
38
|
+
* case-folded on win32 (uv.lock stores portable forward-slash relatives).
|
|
39
|
+
* @internal */
|
|
40
|
+
export declare function canonicalPath(p: string): string;
|
|
41
|
+
/**
|
|
42
|
+
* A python distribution's name as PEP 503 writes it: lowercase, runs of `-`,
|
|
43
|
+
* `_` and `.` as one `-`.
|
|
44
|
+
*
|
|
45
|
+
* @remarks
|
|
46
|
+
* uv.lock stores canonical names while a `{ custom }` platform ref uses the
|
|
47
|
+
* import-style name (`platform_module`), so both sides must canonicalize
|
|
48
|
+
* before comparison (#391 — a strict match silently derived NO environment for
|
|
49
|
+
* any underscore-named member, leaving its source edits out of the task hash
|
|
50
|
+
* and serving stale cached outputs). e3-core names a tier's distributions by
|
|
51
|
+
* it too, and the image's script that writes a tier's manifest
|
|
52
|
+
* (`tier/tier-manifest.py` in `@elaraai/e3-core`) writes the same rule in
|
|
53
|
+
* python: a name both sides spell otherwise is no longer told to be the
|
|
54
|
+
* tier's.
|
|
55
|
+
*
|
|
56
|
+
* @param name - The name, as a lock, a manifest or a directory spells it
|
|
57
|
+
* @returns The canonical name
|
|
58
|
+
* @example
|
|
59
|
+
* canonicalPythonName('Typing_Extensions'); // 'typing-extensions'
|
|
60
|
+
*/
|
|
61
|
+
export declare function canonicalPythonName(name: string): string;
|
|
62
|
+
/**
|
|
63
|
+
* Whether a lock holds a package as one of its workspace's own: a member, the
|
|
64
|
+
* root, or a directory one of them names. An install takes every other
|
|
65
|
+
* package from an index, a repository, a URL or a local archive.
|
|
66
|
+
*
|
|
67
|
+
* @internal
|
|
68
|
+
* @param pkg - The package, as the lock holds it
|
|
69
|
+
* @returns Whether it is the workspace's own
|
|
70
|
+
*/
|
|
71
|
+
export declare function ownPackage(pkg: UvLockPackage): boolean;
|
|
72
|
+
/** The on-disk directory a lock `source` points at, with its kind — or null
|
|
73
|
+
* for registry/git/url sources (installed by uv sync, not captured), and for
|
|
74
|
+
* a local archive (`path`), which no environment takes.
|
|
75
|
+
* @internal */
|
|
76
|
+
export declare function localSource(root: string, source: Record<string, string> | undefined): {
|
|
77
|
+
dir: string;
|
|
78
|
+
kind: 'editable' | 'directory' | 'virtual';
|
|
79
|
+
} | null;
|
|
80
|
+
/** A package a walk of a lock starts from: its name, and the extras it is
|
|
81
|
+
* installed with. */
|
|
82
|
+
export interface LockStart {
|
|
83
|
+
/** Its name, as the lock or a manifest spells it */
|
|
84
|
+
readonly name: string;
|
|
85
|
+
/** The extras it is installed with; none unless given */
|
|
86
|
+
readonly extras?: readonly string[];
|
|
87
|
+
}
|
|
88
|
+
/**
|
|
89
|
+
* Every package of a lock that `starts` reach by what they depend on, each
|
|
90
|
+
* name once, in the order reached, with each of its entries: a name the lock
|
|
91
|
+
* locks at several versions, one for each platform it forks for, has
|
|
92
|
+
* several.
|
|
93
|
+
*
|
|
94
|
+
* @remarks
|
|
95
|
+
* A package is walked as an install takes it: through its dependencies, and
|
|
96
|
+
* the optional groups of the extras the dependency that reached it asked for;
|
|
97
|
+
* an extra another dependency asks for is walked when that one reaches it. So
|
|
98
|
+
* an extra of a registry package that nothing asks for is never walked, nor
|
|
99
|
+
* what only it names. A package `groups` names development groups of is
|
|
100
|
+
* walked through those too, as a sync of a project that is its own root
|
|
101
|
+
* takes its packages' default groups. A package `whole` says so of is walked
|
|
102
|
+
* through every group it names, its development groups among them, whatever
|
|
103
|
+
* reached it: a workspace's own package, whose walk may over-reach, since
|
|
104
|
+
* over-capture only over-invalidates.
|
|
105
|
+
*
|
|
106
|
+
* A registry package's dependency may be a local package: the lock resolves a
|
|
107
|
+
* name the workspace holds to the workspace's package.
|
|
108
|
+
*
|
|
109
|
+
* @internal
|
|
110
|
+
* @param lock - The lock
|
|
111
|
+
* @param starts - The packages to start from, with their extras
|
|
112
|
+
* @param whole - Whether a package is walked through every group it names;
|
|
113
|
+
* none is unless given
|
|
114
|
+
* @param groups - The development groups a package is walked through beside
|
|
115
|
+
* what an install takes of it, by name, or `'all'` of them; none unless
|
|
116
|
+
* given
|
|
117
|
+
* @returns Each package reached, by its PEP 503 name, with its entries; none
|
|
118
|
+
* for a name the lock does not hold
|
|
119
|
+
* @example
|
|
120
|
+
* for (const { name, packages } of lockWalk(lock, [{ name: 'elaraai-east-py-datascience', extras: ['torch'] }])) needed.add(name);
|
|
121
|
+
*/
|
|
122
|
+
export declare function lockWalk(lock: UvLock, starts: Iterable<LockStart>, whole?: (pkg: UvLockPackage) => boolean, groups?: (pkg: UvLockPackage) => readonly string[] | 'all'): Generator<{
|
|
123
|
+
name: string;
|
|
124
|
+
packages: UvLockPackage[];
|
|
125
|
+
}>;
|
|
126
|
+
/**
|
|
127
|
+
* Find the workspace/standalone root governing `project` and the lock
|
|
128
|
+
* package (`subject`) whose local source resolves to it.
|
|
129
|
+
*
|
|
130
|
+
* @internal
|
|
131
|
+
* @throws {Error} P3 (no lock in project or any ancestor), P5 (unsupported
|
|
132
|
+
* lock version), P4 (lock does not list a package at `project`)
|
|
133
|
+
*/
|
|
134
|
+
export declare function discoverPythonRoot(project: string, owner: string): {
|
|
135
|
+
root: string;
|
|
136
|
+
lock: UvLock;
|
|
137
|
+
subject: string;
|
|
138
|
+
};
|
|
139
|
+
/**
|
|
140
|
+
* The LOCAL packages reachable from an environment's subjects, and from the
|
|
141
|
+
* registry distributions it requires beside them — the set whose sdists must
|
|
142
|
+
* ride the environment.
|
|
143
|
+
*
|
|
144
|
+
* Walks a local package through `dependencies` plus every optional-dependency
|
|
145
|
+
* and dev-dependency group (over-capture is sound: it only over-invalidates),
|
|
146
|
+
* and a registry package as an install takes it: through its dependencies
|
|
147
|
+
* and the extras asked of it ({@link lockWalk}). A registry package is
|
|
148
|
+
* installed from the lock, and a local package it depends on rides as an
|
|
149
|
+
* sdist, as the installs take no local package from a registry. A
|
|
150
|
+
* `path=<archive>` source the walk reaches is refused — never one only an
|
|
151
|
+
* extra nothing asks for names — and a virtual package contributes its deps
|
|
152
|
+
* but no sdist.
|
|
153
|
+
*
|
|
154
|
+
* @internal
|
|
155
|
+
* @param subjects - The members the environment is of, by the lock's names
|
|
156
|
+
* @param required - The registry distributions it requires beside them, with
|
|
157
|
+
* the extras each is installed with
|
|
158
|
+
* @returns The buildable closure members, sorted by name
|
|
159
|
+
* @throws {Error} P6 (dangling edge), P7 (subject not packaged), P8 (source
|
|
160
|
+
* dir missing), P9 (local archive dependency)
|
|
161
|
+
*/
|
|
162
|
+
export declare function pythonClosure(lock: UvLock, root: string, subjects: readonly string[], owner: string, required?: readonly LockStart[]): Array<{
|
|
163
|
+
name: string;
|
|
164
|
+
dir: string;
|
|
165
|
+
}>;
|
|
166
|
+
/**
|
|
167
|
+
* Walk up from `start` to the nearest `uv.lock`, parse and version-check it.
|
|
168
|
+
* Returns the governing workspace/standalone root + parsed lock, or null when
|
|
169
|
+
* no lock exists in `start` or any ancestor (no uv workspace to derive from).
|
|
170
|
+
*
|
|
171
|
+
* @internal
|
|
172
|
+
* @throws {Error} if a lock is found but its version is unsupported
|
|
173
|
+
*/
|
|
174
|
+
export declare function findUvLock(start: string, owner: string): {
|
|
175
|
+
root: string;
|
|
176
|
+
lock: UvLock;
|
|
177
|
+
} | null;
|
|
178
|
+
/**
|
|
179
|
+
* The registry distributions a workspace member's environment installs beside
|
|
180
|
+
* the member's own dependencies: the runtime's, and those of the stock
|
|
181
|
+
* platform packages its task's runner names, as the lock pins them.
|
|
182
|
+
*
|
|
183
|
+
* @remarks
|
|
184
|
+
* A workspace commonly lists these on its root alone, which an environment
|
|
185
|
+
* that installs a member's dependencies would otherwise leave out. A stock
|
|
186
|
+
* platform package `east-py-std` is the distribution `elaraai-east-py-std`.
|
|
187
|
+
* One the lock does not hold, or holds as a local package, is not named: the
|
|
188
|
+
* first comes from wherever the task runs, the second rides as an sdist.
|
|
189
|
+
*
|
|
190
|
+
* Each is named with the extras the workspace declares it with, on its root
|
|
191
|
+
* or on any member (`elaraai-east-py-datascience[lightning]`): a member
|
|
192
|
+
* whose task names the platform, and does not list the distribution itself,
|
|
193
|
+
* runs with what the workspace asked of it, torch among it.
|
|
194
|
+
*
|
|
195
|
+
* One the lock holds as a local archive (`path`) is refused, as a member's
|
|
196
|
+
* own is: an install would otherwise take a registry's copy of it.
|
|
197
|
+
*
|
|
198
|
+
* @internal
|
|
199
|
+
* @param lock - The workspace's lock
|
|
200
|
+
* @param platforms - The platform packages the runner names
|
|
201
|
+
* @param owner - The declaring task or function, which a refusal names
|
|
202
|
+
* @returns The distributions, by PEP 503 name and with their extras, sorted
|
|
203
|
+
* @throws {Error} When the lock holds one of them as a local archive
|
|
204
|
+
*/
|
|
205
|
+
export declare function pythonRequires(lock: UvLock, platforms: readonly string[], owner: string): string[];
|
|
206
|
+
/**
|
|
207
|
+
* A required distribution, as {@link pythonRequires} names one: its name, and
|
|
208
|
+
* the extras it is installed with.
|
|
209
|
+
*
|
|
210
|
+
* @param required - A name, or a name with its extras
|
|
211
|
+
* (`elaraai-east-py-datascience[lightning,torch]`)
|
|
212
|
+
* @returns Its name and extras; null for what is neither, which its reader
|
|
213
|
+
* refuses in its own words
|
|
214
|
+
* @example
|
|
215
|
+
* readRequiredDistribution('elaraai-east-py-datascience[torch]'); // { name: 'elaraai-east-py-datascience', extras: ['torch'] }
|
|
216
|
+
*/
|
|
217
|
+
export declare function readRequiredDistribution(required: string): {
|
|
218
|
+
name: string;
|
|
219
|
+
extras: string[];
|
|
220
|
+
} | null;
|
|
221
|
+
/**
|
|
222
|
+
* The packages of a workspace's lock, by the lock's names, that the sync
|
|
223
|
+
* installing an environment's required distributions leaves out: every one it
|
|
224
|
+
* installs from an index, a repository or a URL but those the required
|
|
225
|
+
* distributions need, with their extras, and what those depend on.
|
|
226
|
+
*
|
|
227
|
+
* @remarks
|
|
228
|
+
* So that sync installs the required distributions as the lock pins them and
|
|
229
|
+
* from where the lock pins them — an explicit index of the workspace's
|
|
230
|
+
* among them, which no install that resolves again from a registry reads —
|
|
231
|
+
* and nothing else. A local package one of them depends on rides as an sdist
|
|
232
|
+
* ({@link pythonClosure}), and no sync of an environment installs a local
|
|
233
|
+
* package: none is taken from a registry.
|
|
234
|
+
*
|
|
235
|
+
* What a distribution needs is read from the lock for every platform it was
|
|
236
|
+
* resolved for, its markers aside: one a platform does not need is in no
|
|
237
|
+
* install for that platform, which the sync decides.
|
|
238
|
+
*
|
|
239
|
+
* @internal
|
|
240
|
+
* @param lockText - The lock, as `uv.lock` holds it
|
|
241
|
+
* @param requires - The required distributions, each a name or a name with
|
|
242
|
+
* its extras (`elaraai-east-py-datascience[lightning,torch]`), as
|
|
243
|
+
* {@link pythonRequires} names them
|
|
244
|
+
* @returns The names, sorted
|
|
245
|
+
* @throws {Error} When the lock is not of the version this reads, or a
|
|
246
|
+
* required distribution is not a name with or without extras
|
|
247
|
+
* @example
|
|
248
|
+
* const leftOut = pythonLeftOut(await readFile('uv.lock', 'utf8'), ['elaraai-east-py-datascience[torch]']);
|
|
249
|
+
* // uv sync --frozen --inexact --all-packages ... --no-install-package <each>
|
|
250
|
+
*/
|
|
251
|
+
export declare function pythonLeftOut(lockText: string, requires: readonly string[]): string[];
|
|
252
|
+
/**
|
|
253
|
+
* How the sync of a python environment takes its lock: a project that is its
|
|
254
|
+
* own root (a `python` spec) takes every one of its packages with their
|
|
255
|
+
* default development groups (`uv sync --all-packages`), which its
|
|
256
|
+
* `pyproject.toml` says; members of a workspace (a `workspace_python` spec)
|
|
257
|
+
* take theirs alone (`--no-default-groups --package <member>`), and the
|
|
258
|
+
* distributions required beside them.
|
|
259
|
+
*/
|
|
260
|
+
export type PythonSync = {
|
|
261
|
+
readonly kind: 'project';
|
|
262
|
+
readonly pyproject: string;
|
|
263
|
+
} | {
|
|
264
|
+
readonly kind: 'members';
|
|
265
|
+
readonly subjects: readonly string[];
|
|
266
|
+
readonly requires: readonly string[];
|
|
267
|
+
};
|
|
268
|
+
/**
|
|
269
|
+
* The distributions a python environment installs, by PEP 503 name: what its
|
|
270
|
+
* sync takes of its lock ({@link PythonSync}), and the workspace's own
|
|
271
|
+
* packages it builds from their sdists (#1654).
|
|
272
|
+
*
|
|
273
|
+
* @remarks
|
|
274
|
+
* A package is taken as an install takes it ({@link lockWalk}): through its
|
|
275
|
+
* dependencies and the extras asked of it, so no extra nothing asks for, a
|
|
276
|
+
* workspace's own extras among them. No development group is installed for
|
|
277
|
+
* members, and a project that is its own root installs its packages' default
|
|
278
|
+
* groups. A name counts whatever the source an install takes it from: an
|
|
279
|
+
* index, a repository, a URL, or the workspace, a local checkout of a
|
|
280
|
+
* registry's package among them. A virtual package installs nothing of its
|
|
281
|
+
* own.
|
|
282
|
+
*
|
|
283
|
+
* What it names decides where the environment's work runs: on a rack, an
|
|
284
|
+
* `east-py` task whose environment installs what only the datascience image
|
|
285
|
+
* holds runs over that image.
|
|
286
|
+
*
|
|
287
|
+
* @param lockText - The lock, as `uv.lock` holds it
|
|
288
|
+
* @param sync - How the environment's sync takes it: a project's with its
|
|
289
|
+
* `pyproject.toml`, or members' with what is required beside them, each a
|
|
290
|
+
* name or a name with its extras, as {@link pythonRequires} names them
|
|
291
|
+
* @returns The names, sorted
|
|
292
|
+
* @throws {Error} When the lock is not of the version this reads, a required
|
|
293
|
+
* distribution is not a name with or without extras, or a project's
|
|
294
|
+
* default groups are neither `"all"` nor a list of names
|
|
295
|
+
* @example
|
|
296
|
+
* pythonInstalls(lockText, { kind: 'members', subjects: ['trainer'], requires: ['elaraai-east-py'] }).includes('torch');
|
|
297
|
+
*/
|
|
298
|
+
export declare function pythonInstalls(lockText: string, sync: PythonSync): string[];
|
|
299
|
+
/**
|
|
300
|
+
* A required distribution, as {@link pythonRequires} names one, as a walk of
|
|
301
|
+
* the lock starts from it.
|
|
302
|
+
*
|
|
303
|
+
* @internal
|
|
304
|
+
* @param required - A name, or a name with its extras
|
|
305
|
+
* @returns The distribution, with its extras
|
|
306
|
+
* @throws {Error} When it is neither
|
|
307
|
+
*/
|
|
308
|
+
export declare function requiredStart(required: string): LockStart;
|
|
309
|
+
/**
|
|
310
|
+
* The settings a workspace's lock was resolved under that resolve a
|
|
311
|
+
* distribution otherwise than a package depending on it asks: what its
|
|
312
|
+
* `override-dependencies` name, whose version may be one a dependent's
|
|
313
|
+
* requirement does not allow, and what its `exclude-dependencies` name, which
|
|
314
|
+
* nothing installs though a dependent requires it.
|
|
315
|
+
*
|
|
316
|
+
* @remarks
|
|
317
|
+
* The lock records both in its manifest, and a sync of it installs as they
|
|
318
|
+
* say. A check of what is installed against each distribution's own
|
|
319
|
+
* requirements, as `uv pip check` makes, knows neither, so an environment
|
|
320
|
+
* materialized from the lock is checked with them.
|
|
321
|
+
*
|
|
322
|
+
* @internal
|
|
323
|
+
* @param lockText - The lock, as `uv.lock` holds it
|
|
324
|
+
* @returns The distributions overridden, and those excluded, each by PEP 503
|
|
325
|
+
* name, sorted
|
|
326
|
+
* @throws {Error} When the lock is not of the version this reads
|
|
327
|
+
* @example
|
|
328
|
+
* // Under `override-dependencies = ["shap>=0.51.0"]`
|
|
329
|
+
* pythonLockSettings(await readFile('uv.lock', 'utf8')); // { overrides: ['shap'], excludes: [] }
|
|
330
|
+
*/
|
|
331
|
+
export declare function pythonLockSettings(lockText: string): {
|
|
332
|
+
overrides: string[];
|
|
333
|
+
excludes: string[];
|
|
334
|
+
};
|
|
335
|
+
/**
|
|
336
|
+
* The local uv-workspace member a name refers to — the package a `{ custom }`
|
|
337
|
+
* platform or an `East.importFunction(pkg, …)` names (#652) — resolved the
|
|
338
|
+
* way `captureAutoEnvironment` resolves it: the governing `uv.lock`
|
|
339
|
+
* above `anchorDir`, matched by PEP 503 canonical name, local sources only.
|
|
340
|
+
*
|
|
341
|
+
* @param name - The package name as referenced (import-style or canonical)
|
|
342
|
+
* @param anchorDir - Directory the workspace is resolved from (the export cwd)
|
|
343
|
+
* @param owner - The referencing task/function name, for error messages
|
|
344
|
+
* @returns The member's directory and its `pyproject.toml` version, or null
|
|
345
|
+
* when there is no uv workspace above `anchorDir` or the name is not a
|
|
346
|
+
* local member (a registry package, a typo)
|
|
347
|
+
*/
|
|
348
|
+
export declare function pythonWorkspaceMember(name: string, anchorDir: string, owner: string): {
|
|
349
|
+
dir: string;
|
|
350
|
+
version: string | null;
|
|
351
|
+
} | null;
|
|
352
|
+
/**
|
|
353
|
+
* Where a python workspace member's code can come from (#1459): the governing
|
|
354
|
+
* workspace's root — whose `uv.lock` and `pyproject.toml` pin everything else
|
|
355
|
+
* — and the directories of the member and of every local package it depends
|
|
356
|
+
* on, transitively, as `captureAutoEnvironment` walks them ({@link lockWalk}).
|
|
357
|
+
* What the export cache keys a member's manifests on.
|
|
358
|
+
*
|
|
359
|
+
* Unlike the environment's walk this refuses nothing: a virtual package's
|
|
360
|
+
* directory counts, and a registry or archive package is pinned by the lock.
|
|
361
|
+
*
|
|
362
|
+
* @param name - The package name as referenced (import-style or canonical)
|
|
363
|
+
* @param anchorDir - Directory the workspace is resolved from (the export cwd)
|
|
364
|
+
* @param owner - The referencing task/function name, for error messages
|
|
365
|
+
* @returns The workspace root and the closure's directories, sorted, or null
|
|
366
|
+
* when there is no uv workspace above `anchorDir` or the name is not a
|
|
367
|
+
* local member
|
|
368
|
+
*/
|
|
369
|
+
export declare function pythonMemberSources(name: string, anchorDir: string, owner: string): {
|
|
370
|
+
root: string;
|
|
371
|
+
dirs: string[];
|
|
372
|
+
} | null;
|
|
373
|
+
//# sourceMappingURL=environment-uv-lock.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"environment-uv-lock.d.ts","sourceRoot":"","sources":["../../src/environment-uv-lock.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAyCH,gCAAgC;AAChC,MAAM,WAAW,aAAa;IAC5B,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAChC,YAAY,CAAC,EAAE,KAAK,CAAC;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,KAAK,CAAC,EAAE,MAAM,EAAE,CAAA;KAAE,CAAC,CAAC;IACzD,uBAAuB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,KAAK,CAAC,EAAE,MAAM,EAAE,CAAA;KAAE,CAAC,CAAC,CAAC;IACpF,kBAAkB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,KAAK,CAAC,EAAE,MAAM,EAAE,CAAA;KAAE,CAAC,CAAC,CAAC;CAChF;AACD,iDAAiD;AACjD,MAAM,WAAW,MAAM;IACrB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;+EAC2E;IAC3E,QAAQ,CAAC,EAAE;QAAE,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;QAAC,SAAS,CAAC,EAAE,KAAK,CAAC;YAAE,IAAI,EAAE,MAAM,CAAC;YAAC,SAAS,CAAC,EAAE,MAAM,CAAA;SAAE,CAAC,CAAC;QAAC,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAA;KAAE,CAAC;IAChH,OAAO,CAAC,EAAE,aAAa,EA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