insightfactory-cli 1.1.0.dev22__py3-none-any.whl → 1.1.1.dev25__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: insightfactory-cli
3
- Version: 1.1.0.dev22
3
+ Version: 1.1.1.dev25
4
4
  Summary: Profile-based authentication CLI for the InsightFactory Interfaces API
5
5
  Project-URL: Homepage, https://insightfactory.ai
6
6
  Author-email: "insightfactory.ai Support" <support@insightfactory.ai>
@@ -340,6 +340,35 @@ and publishes nothing.
340
340
  git tag v1.0.1 && git push origin v1.0.1
341
341
  ```
342
342
 
343
+ The tag drafts the GitHub Release, uploads to PyPI, then publishes the Release.
344
+ Everything comes from one build, so the wheel and sdist attached to the Release
345
+ are the files that went to PyPI, and the draft means nobody sees `pip install
346
+ insightfactory-cli==1.1.1` on a Release page before that version exists on PyPI.
347
+ A failed upload leaves a draft rather than a published page pointing at a 404.
348
+
349
+ The body comes from [`CHANGELOG.md`](CHANGELOG.md) via `tools/release_notes.py`.
350
+ It covers the tagged version and any version opened since the last tag, because
351
+ one version per PR means unreleased versions pile up between tags: if 1.1.1 and
352
+ 1.1.2 both merge and only `v1.1.2` is tagged, 1.1.1's code ships inside that
353
+ artifact, so its notes belong on that Release. A checkout with no tags falls back
354
+ to the tagged version's section alone.
355
+
356
+ `develop` therefore carries the version the next release will use, and the
357
+ `release-guard` job holds it there. A PR into `develop` must raise `version` in
358
+ `pyproject.toml` above what `develop` already has, and must add that version's
359
+ `CHANGELOG.md` section. `tools/check_release.py` runs both checks and is what
360
+ fails the PR:
361
+
362
+ ```bash
363
+ BASE=origin/develop python3 tools/check_release.py
364
+ ```
365
+
366
+ One version per PR, then. The instinct is to let a second change join the
367
+ section the first one opened, and the guard refuses that: the version would be
368
+ tagged with notes that do not describe everything in it, and nothing stops the
369
+ tag going out between the two merges. Bump the patch number again, or fold the
370
+ second change into the first PR.
371
+
343
372
  Verify and build live in the reusable workflow
344
373
  [`if_s_insightfactory_cli.yml`](https://github.com/insightfactory-ai/if_sre_github_actions/blob/main/.github/workflows/if_s_insightfactory_cli.yml)
345
374
  in `insightfactory-ai/if_sre_github_actions`. This repository's
@@ -354,7 +383,7 @@ reusable workflow and uploads it with `pypa/gh-action-pypi-publish`.
354
383
  | Trigger | Published version | PyPI role |
355
384
  |---|---|---|
356
385
  | Push / merge to `develop` | `1.0.1.dev{N}` | pre-release (`pip install --pre`) |
357
- | Push of a `v*` tag | the version in `pyproject.toml`, which the tag must match | latest |
386
+ | Push of a `v*` tag | the version in `pyproject.toml`, which the tag must match | latest, plus a GitHub Release |
358
387
  | Merge to `main` | nothing, CI only | none |
359
388
 
360
389
  `N` is `github.run_number` of the reusable workflow. It is a per-workflow
@@ -27,8 +27,8 @@ if_cli/router/log.py,sha256=YLWeHUb05HUnS3XHubCwy7oLZAUEGAiHcZysz_YMAAo,412
27
27
  if_cli/router/policy.py,sha256=CclbjuOA5mwwoQiNDa17iQeN9eXRbfy11bS9JFd8gL4,2840
28
28
  if_cli/router/server.py,sha256=RkS6Ddann-vAU0ZQAe2QaEB9dLBvEC33V9O-G4WSIy8,12116
29
29
  if_cli/router/upstream.py,sha256=dmwS7qSLnHiY7dEYpVENkfYIHs3DxkhhMB1SV66lE2Y,13104
30
- insightfactory_cli-1.1.0.dev22.dist-info/METADATA,sha256=hZEYaHdEPNTWstSehIgS5b9xGiF8vIEfPhCGDBKcHVQ,17904
31
- insightfactory_cli-1.1.0.dev22.dist-info/WHEEL,sha256=zOwg4jB6zX2kU910N-cMawjivD6tO8NEWvE12je1bVk,87
32
- insightfactory_cli-1.1.0.dev22.dist-info/entry_points.txt,sha256=UlX854D7f-7dBj5F0wGdakVy6vopvP9hA1BN-gv739w,44
33
- insightfactory_cli-1.1.0.dev22.dist-info/licenses/LICENSE,sha256=8eZ1YAABL398qESVJc_FlK1voYQ0GAh-R_rNBQK6QH8,234
34
- insightfactory_cli-1.1.0.dev22.dist-info/RECORD,,
30
+ insightfactory_cli-1.1.1.dev25.dist-info/METADATA,sha256=MhOT9TEnUHIqQLtN7W1dgVT0KJrHc7H3CHbLBV_XE9g,19502
31
+ insightfactory_cli-1.1.1.dev25.dist-info/WHEEL,sha256=zOwg4jB6zX2kU910N-cMawjivD6tO8NEWvE12je1bVk,87
32
+ insightfactory_cli-1.1.1.dev25.dist-info/entry_points.txt,sha256=UlX854D7f-7dBj5F0wGdakVy6vopvP9hA1BN-gv739w,44
33
+ insightfactory_cli-1.1.1.dev25.dist-info/licenses/LICENSE,sha256=8eZ1YAABL398qESVJc_FlK1voYQ0GAh-R_rNBQK6QH8,234
34
+ insightfactory_cli-1.1.1.dev25.dist-info/RECORD,,