insightfactory-cli 1.0.0.dev4__py3-none-any.whl → 1.0.1.dev6__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.
- {insightfactory_cli-1.0.0.dev4.dist-info → insightfactory_cli-1.0.1.dev6.dist-info}/METADATA +33 -15
- {insightfactory_cli-1.0.0.dev4.dist-info → insightfactory_cli-1.0.1.dev6.dist-info}/RECORD +4 -4
- {insightfactory_cli-1.0.0.dev4.dist-info → insightfactory_cli-1.0.1.dev6.dist-info}/WHEEL +0 -0
- {insightfactory_cli-1.0.0.dev4.dist-info → insightfactory_cli-1.0.1.dev6.dist-info}/entry_points.txt +0 -0
{insightfactory_cli-1.0.0.dev4.dist-info → insightfactory_cli-1.0.1.dev6.dist-info}/METADATA
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: insightfactory-cli
|
|
3
|
-
Version: 1.0.
|
|
3
|
+
Version: 1.0.1.dev6
|
|
4
4
|
Summary: Profile-based authentication CLI for the InsightFactory Interfaces API
|
|
5
5
|
Project-URL: Homepage, https://github.com/insightfactory-ai/insightfactory-cli
|
|
6
6
|
Project-URL: Repository, https://github.com/insightfactory-ai/insightfactory-cli
|
|
@@ -212,12 +212,16 @@ Python 3.10 or newer is required. Runtime code is stdlib-only.
|
|
|
212
212
|
|
|
213
213
|
## Release
|
|
214
214
|
|
|
215
|
-
|
|
216
|
-
|
|
215
|
+
**A release is cut by pushing a tag, not by merging.** Merging to `main` runs CI and
|
|
216
|
+
publishes nothing.
|
|
217
|
+
|
|
218
|
+
```bash
|
|
219
|
+
git tag v1.0.1 && git push origin v1.0.1
|
|
220
|
+
```
|
|
221
|
+
|
|
222
|
+
Verify and build live in the reusable workflow
|
|
217
223
|
[`if_s_insightfactory_cli.yml`](https://github.com/insightfactory-ai/if_sre_github_actions/blob/main/.github/workflows/if_s_insightfactory_cli.yml)
|
|
218
|
-
in `insightfactory-ai/if_sre_github_actions
|
|
219
|
-
([PR #300](https://github.com/insightfactory-ai/if_sre_github_actions/pull/300)
|
|
220
|
-
must merge before these stubs go green). This repository's
|
|
224
|
+
in `insightfactory-ai/if_sre_github_actions`. This repository's
|
|
221
225
|
`.github/workflows/release.yml` keeps only the OIDC publish job, because PyPI
|
|
222
226
|
Trusted Publishing is registered for **this** repo, workflow `release.yml`, and
|
|
223
227
|
environment `pypi` — a reusable workflow cannot be registered.
|
|
@@ -228,24 +232,38 @@ the reusable workflow and uploads it with `pypa/gh-action-pypi-publish`.
|
|
|
228
232
|
|
|
229
233
|
| Trigger | Published version | PyPI role |
|
|
230
234
|
|---|---|---|
|
|
231
|
-
| Push / merge to `develop` | `1.0.
|
|
232
|
-
| Push
|
|
233
|
-
|
|
|
235
|
+
| Push / merge to `develop` | `1.0.1.dev{N}` | pre-release (`pip install --pre`) |
|
|
236
|
+
| Push of a `v*` tag | the version in `pyproject.toml`, which the tag must match | latest |
|
|
237
|
+
| Merge to `main` | nothing — CI only | — |
|
|
234
238
|
|
|
235
239
|
`N` is `github.run_number` of the reusable workflow: a per-workflow integer
|
|
236
240
|
that goes up on every run and stays the same across re-runs of that run (so a
|
|
237
241
|
failed publish can be retried under the same version). It does not depend on
|
|
238
|
-
git history or clone depth. After a successful
|
|
239
|
-
|
|
240
|
-
landed; PEP 440 puts `1.0.
|
|
242
|
+
git history or clone depth. After a successful release, bump `version` in
|
|
243
|
+
`pyproject.toml` on `develop` so later `.devN` builds sort *after* what just
|
|
244
|
+
landed; PEP 440 puts `1.0.1.devN` before `1.0.1`. Because of that ordering, a
|
|
241
245
|
dependency spec of `insightfactory-cli>=1.0.0` does not match develop-channel
|
|
242
246
|
`.devN` builds; an in-process consumer that wants them must specify a
|
|
243
247
|
pre-release-bearing spec such as `insightfactory-cli>=1.0.0.dev0` (which also
|
|
244
248
|
matches the final `1.0.0` release).
|
|
245
249
|
|
|
246
|
-
A
|
|
247
|
-
|
|
248
|
-
|
|
250
|
+
A `v*` tag whose name does not match `pyproject.toml` fails before publishing.
|
|
251
|
+
|
|
252
|
+
The two channels treat an already-published version differently, on purpose:
|
|
253
|
+
|
|
254
|
+
- **Release channel (a tag):** publishing fails, naming the fix. A tag is a request to
|
|
255
|
+
release that version; if it cannot be honoured, the run must say so rather than report
|
|
256
|
+
success having published nothing. (git also refuses to push a tag that already exists,
|
|
257
|
+
so this is hard to reach.)
|
|
258
|
+
- **Dev channel (`develop`):** publishing is skipped quietly. `.dev{N}` uses
|
|
259
|
+
`github.run_number`, which is stable across re-runs of one run, so an already-present
|
|
260
|
+
version there can only mean a re-run of a run that already published — real idempotency,
|
|
261
|
+
not a swallowed mistake.
|
|
262
|
+
|
|
263
|
+
This split is why releasing moved off `main`. While a merge was the trigger, an
|
|
264
|
+
already-published version *had* to be tolerated as a no-op for merges to stay green — so a
|
|
265
|
+
merge that released nothing looked exactly like one that released, and a forgotten version
|
|
266
|
+
bump shipped nothing silently.
|
|
249
267
|
|
|
250
268
|
## Differences from the Node CLI
|
|
251
269
|
|
|
@@ -17,7 +17,7 @@ if_cli/commands/logout.py,sha256=TW0P4_tXcTtiHHR73xVPHyhlbOWD1jBnkZsMImCiCBw,668
|
|
|
17
17
|
if_cli/commands/profiles.py,sha256=JNBrYWdHQ9MHauwZxH33IAOYgRYRniX7bwd7KBT6Vyk,3869
|
|
18
18
|
if_cli/commands/set_token.py,sha256=BVyv_QmByvllr04pE2sz8JFEscHbIgOC-7ZPg61PRoc,1886
|
|
19
19
|
if_cli/commands/token.py,sha256=CyiXkyH7vxgH91-n-XJzeHnLI6mZJwO9Js5AHvfHaeM,1120
|
|
20
|
-
insightfactory_cli-1.0.
|
|
21
|
-
insightfactory_cli-1.0.
|
|
22
|
-
insightfactory_cli-1.0.
|
|
23
|
-
insightfactory_cli-1.0.
|
|
20
|
+
insightfactory_cli-1.0.1.dev6.dist-info/METADATA,sha256=Bk1mnRW48Ac7z7Ir5pTTKS6QC-TOEQpyuvcUcC0h9Iw,11651
|
|
21
|
+
insightfactory_cli-1.0.1.dev6.dist-info/WHEEL,sha256=zOwg4jB6zX2kU910N-cMawjivD6tO8NEWvE12je1bVk,87
|
|
22
|
+
insightfactory_cli-1.0.1.dev6.dist-info/entry_points.txt,sha256=UlX854D7f-7dBj5F0wGdakVy6vopvP9hA1BN-gv739w,44
|
|
23
|
+
insightfactory_cli-1.0.1.dev6.dist-info/RECORD,,
|
|
File without changes
|
{insightfactory_cli-1.0.0.dev4.dist-info → insightfactory_cli-1.0.1.dev6.dist-info}/entry_points.txt
RENAMED
|
File without changes
|