iterate-harness 1.12.6 → 1.12.7
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/lib/bootstrap.js +8 -0
- package/package.json +1 -1
package/lib/bootstrap.js
CHANGED
|
@@ -161,6 +161,14 @@ function artifactExtensionFor(url) {
|
|
|
161
161
|
|
|
162
162
|
function downloadCachePath(homeDir, version, extension) {
|
|
163
163
|
const ext = extension || DEFAULT_ARTIFACT_EXT;
|
|
164
|
+
if (ext === WHEEL_ARTIFACT_EXT) {
|
|
165
|
+
// A locally-cached wheel must keep a valid PEP 427 filename (e.g.
|
|
166
|
+
// `iterate_harness-1.12.6-py3-none-any.whl`). pip refuses any `*.whl`
|
|
167
|
+
// whose name lacks the `{python}-{abi}-{platform}` tags, so the fallback
|
|
168
|
+
// cache file reuses the real release asset name rather than a bare
|
|
169
|
+
// `iterate-harness-{version}.whl`.
|
|
170
|
+
return path.join(homeDir, TARBALL_CACHE_DIR_NAME, wheelAssetName(version));
|
|
171
|
+
}
|
|
164
172
|
return path.join(homeDir, TARBALL_CACHE_DIR_NAME, `iterate-harness-${version}${ext}`);
|
|
165
173
|
}
|
|
166
174
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "iterate-harness",
|
|
3
|
-
"version": "1.12.
|
|
3
|
+
"version": "1.12.7",
|
|
4
4
|
"description": "npm distribution wrapper for iterate-harness — installs the Python harness (ih CLI) into a managed venv on first run and exposes it as a global command",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "commonjs",
|