protocol-governed-computing 6.0.0__tar.gz → 6.0.1__tar.gz

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.4
2
2
  Name: protocol-governed-computing
3
- Version: 6.0.0
3
+ Version: 6.0.1
4
4
  Summary: Protocol-Governed Computing — installs the full toolchain and reports whether an environment is ready to compile, seal, and execute
5
5
  Author-email: Bhash Ganti <bachipeachy@gmail.com>
6
6
  License-Expression: Apache-2.0
@@ -48,7 +48,7 @@ declares, refuses everything else, and records a trace of every run.
48
48
  ## This package
49
49
 
50
50
  This repository publishes `protocol-governed-computing`, the whole toolchain in one install. It
51
- brings in the eight component packages, pinned to one composition, and puts the `pgc` command on your
51
+ brings in the nine component packages, pinned to one composition, and puts the `pgc` command on your
52
52
  path.
53
53
 
54
54
  ```bash
@@ -19,7 +19,7 @@ declares, refuses everything else, and records a trace of every run.
19
19
  ## This package
20
20
 
21
21
  This repository publishes `protocol-governed-computing`, the whole toolchain in one install. It
22
- brings in the eight component packages, pinned to one composition, and puts the `pgc` command on your
22
+ brings in the nine component packages, pinned to one composition, and puts the `pgc` command on your
23
23
  path.
24
24
 
25
25
  ```bash
@@ -43,6 +43,14 @@ def _composition() -> tuple[str, str, dict[str, str]] | None:
43
43
  return composition.PUBLIC, composition.SNAPSHOT_ID, composition.PINS
44
44
 
45
45
 
46
+ def _own_version() -> str:
47
+ """This distribution's version. It moves on its own; the composition is named by `PUBLIC`."""
48
+ try:
49
+ return md.version("protocol-governed-computing")
50
+ except md.PackageNotFoundError:
51
+ return "-"
52
+
53
+
46
54
  def _installed() -> list[tuple[str, str, str]]:
47
55
  rows = []
48
56
  for dist, role in FAMILY:
@@ -81,7 +89,8 @@ def main(argv: list[str] | None = None) -> int:
81
89
  print("Protocol-Governed Computing\n")
82
90
  composed = _composition()
83
91
  if composed:
84
- print(f" composition {composed[0]}, snapshot {composed[1][:16]}…\n")
92
+ print(f" composition {composed[0]}, snapshot {composed[1][:16]}…")
93
+ print(f" installed as protocol-governed-computing {_own_version()}\n")
85
94
  else:
86
95
  print(" composition: none recorded — this is a source install\n")
87
96
  pins = composed[2] if composed else {}
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: protocol-governed-computing
3
- Version: 6.0.0
3
+ Version: 6.0.1
4
4
  Summary: Protocol-Governed Computing — installs the full toolchain and reports whether an environment is ready to compile, seal, and execute
5
5
  Author-email: Bhash Ganti <bachipeachy@gmail.com>
6
6
  License-Expression: Apache-2.0
@@ -48,7 +48,7 @@ declares, refuses everything else, and records a trace of every run.
48
48
  ## This package
49
49
 
50
50
  This repository publishes `protocol-governed-computing`, the whole toolchain in one install. It
51
- brings in the eight component packages, pinned to one composition, and puts the `pgc` command on your
51
+ brings in the nine component packages, pinned to one composition, and puts the `pgc` command on your
52
52
  path.
53
53
 
54
54
  ```bash
@@ -7,7 +7,7 @@ build-backend = "setuptools.build_meta"
7
7
  # composition takes the full project name. The import package and the console script are unaffected:
8
8
  # a user still runs `pgc`.
9
9
  name = "protocol-governed-computing"
10
- version = "6.0.0"
10
+ version = "6.0.1"
11
11
  description = "Protocol-Governed Computing — installs the full toolchain and reports whether an environment is ready to compile, seal, and execute"
12
12
  readme = "README.md"
13
13
  requires-python = ">=3.10"