scientific-computing-system 2.2.12 → 2.2.14
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/CHANGELOG.md +36 -0
- package/README.md +18 -10
- package/SECURITY.md +4 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,42 @@ All notable changes to **scientific-computing-system** will be documented in thi
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## Release metadata note - 2026-10-21
|
|
9
|
+
|
|
10
|
+
The 2.2.6 and 2.2.7 sections below describe published releases, but neither version has
|
|
11
|
+
a git tag in this repository or on `origin` (checked with `git ls-remote --tags` on
|
|
12
|
+
2026-10-21). Their verified commit anchors are:
|
|
13
|
+
|
|
14
|
+
- **2.2.6** (2026-10-13): version metadata set in `d73f6fa`, merged as `a10cd8b`
|
|
15
|
+
(PR #167); PyPI lists a 2.2.6 release.
|
|
16
|
+
- **2.2.7** (2026-10-15): version metadata set in `af4e21e`, merged as `ad3bbb4`
|
|
17
|
+
(PR #169); PyPI lists a 2.2.7 release.
|
|
18
|
+
|
|
19
|
+
Any retroactive `v2.2.6` or `v2.2.7` tag should point at those commits. This note records
|
|
20
|
+
what the history supports; it does not claim that a tag exists.
|
|
21
|
+
|
|
22
|
+
## [v2.2.14] - 2026-10-23
|
|
23
|
+
|
|
24
|
+
### Input validation and supply-chain transparency
|
|
25
|
+
|
|
26
|
+
- Reject non-square and non-rectangular matrices in `determinant` with a normalised `ValueError` instead of leaking an index error from the elimination loop.
|
|
27
|
+
- Report a vanishing Newton gradient as `converged=False` instead of silently returning success.
|
|
28
|
+
- Require every ODE right-hand-side derivative to match the initial-state length, and report the expected and actual lengths instead of letting an implicit broadcast hide the bug.
|
|
29
|
+
- Add Dependabot, OpenSSF Scorecard and dependency review workflows with SHA-pinned actions, and add a citation file so tooling can resolve package metadata.
|
|
30
|
+
- Bump synchronized package metadata to 2.2.14 as required by the version-discipline gate for `src/cds/` changes.
|
|
31
|
+
|
|
32
|
+
## [v2.2.13] - 2026-10-21
|
|
33
|
+
|
|
34
|
+
### Release packaging, CI and documentation accuracy
|
|
35
|
+
|
|
36
|
+
- Ship `cds/dashboard/app.py` inside the wheel through the hatch force-include table and resolve the dashboard from the installed package first, so `cds dashboard` works from a wheel install.
|
|
37
|
+
- Stop cancelling in-progress CI runs on `main`; deploy documentation only after the aggregate CI job succeeds.
|
|
38
|
+
- Default npm publishing to OIDC trusted publishing with provenance; keep `NPM_TOKEN` as an explicit `workflow_dispatch` break-glass fallback only.
|
|
39
|
+
- Document the real release topology in `docs/maintenance.md` (`workflow_run` from main CI, tag created after upload) and scope `scripts/publish.py` to a local preflight that pushes nothing.
|
|
40
|
+
- Correct the README version example and the fast-jit/Numba docstrings that claimed acceleration the pure-Python core does not provide.
|
|
41
|
+
- Harden the missing-dashboard-extra CLI test so it no longer depends on whether Streamlit is installed on the test machine.
|
|
42
|
+
- Bump synchronized package metadata to 2.2.13 as required by the version-discipline gate for `src/cds/` changes.
|
|
43
|
+
|
|
8
44
|
## [v2.2.12] - 2026-10-20
|
|
9
45
|
|
|
10
46
|
### Tooling reproducibility
|
package/README.md
CHANGED
|
@@ -49,19 +49,23 @@ The import name is **`cds`** (the distribution is `scientific-computing-system`)
|
|
|
49
49
|
| **PyPI** (the library) | `pip install scientific-computing-system` | The actual Python package. Zero runtime dependencies. This is what you want. |
|
|
50
50
|
| **npm** (a launcher shim) | `npm i -g scientific-computing-system` | A thin Node wrapper that runs `python -m cds`. It ships no Python and needs the Python distribution installed so that `python -m cds` resolves. |
|
|
51
51
|
|
|
52
|
-
|
|
53
|
-
verifiable:
|
|
52
|
+
At the time of writing (2026-10-22), both registries' latest versions are 2.2.13,
|
|
53
|
+
but they are not published in lockstep and are **not** equally verifiable:
|
|
54
54
|
|
|
55
55
|
- **PyPI** — carries a **PEP 740 provenance attestation** (Sigstore-signed,
|
|
56
|
-
binding the file digest to the publishing workflow). Verified on 2.2.3,
|
|
57
|
-
|
|
56
|
+
binding the file digest to the publishing workflow). Verified on 2.2.3,
|
|
57
|
+
2.2.4, 2.2.5, 2.2.6, 2.2.8, 2.2.11, 2.2.12 and 2.2.13. The 2.2.7 wheel and
|
|
58
|
+
sdist return 404 from the per-file provenance endpoint, so "every release
|
|
59
|
+
since attestations were enabled" would be false.
|
|
58
60
|
- **npm** — carries a **Sigstore attestation as of 2.2.3**, minted by npm's
|
|
59
61
|
OIDC trusted publisher (the registry serves both an npm publish attestation
|
|
60
62
|
and a SLSA provenance v1 bundle for that tarball). 1.0.0 through 2.2.2
|
|
61
63
|
predate the publisher registration and have none, so pin 2.2.3 or newer. npm
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
not
|
|
64
|
+
has no 2.2.7, 2.2.8 or 2.2.11 at all: its 2.2.x line is 2.2.0 through 2.2.6
|
|
65
|
+
plus 2.2.12 and 2.2.13, which is how the latest versions can match while the
|
|
66
|
+
histories do not. npm also exposes `dist.integrity` (sha512), which is a content pin,
|
|
67
|
+
not proof of origin, and `dist.signatures`, which is npm's registry transport
|
|
68
|
+
signature, not build provenance.
|
|
65
69
|
|
|
66
70
|
Prefer PyPI if you need an attestation for a version older than 2.2.3.
|
|
67
71
|
[SECURITY.md](SECURITY.md#distribution-channels-and-provenance) has the
|
|
@@ -111,7 +115,7 @@ The authoritative per-module list is the [API reference](https://furox-art.githu
|
|
|
111
115
|
|
|
112
116
|
### Runnable examples and the dashboard
|
|
113
117
|
|
|
114
|
-
- **[`examples/`](examples/)** —
|
|
118
|
+
- **[`examples/`](examples/)** — 34 runnable scripts and notebooks (32 `.py`, 2
|
|
115
119
|
`.ipynb`), each self-contained and dependency-free unless noted. Every tutorial
|
|
116
120
|
page in the docs has a matching example.
|
|
117
121
|
- **[`dashboard/app.py`](dashboard/app.py)** — a Streamlit dashboard:
|
|
@@ -177,7 +181,7 @@ The package installs a `cds` command with 13 subcommands:
|
|
|
177
181
|
|
|
178
182
|
```console
|
|
179
183
|
$ cds --version
|
|
180
|
-
System version 2.2.
|
|
184
|
+
System version 2.2.14
|
|
181
185
|
$ cds constants # physical constants table
|
|
182
186
|
```
|
|
183
187
|
|
|
@@ -207,11 +211,15 @@ NumPy or the 2.0 build instead.
|
|
|
207
211
|
## Contributing
|
|
208
212
|
|
|
209
213
|
```bash
|
|
210
|
-
pip install -e ".[dev]"
|
|
214
|
+
pip install -e ".[dev,test,docs]" # lint/type, test, and docs tooling
|
|
211
215
|
pytest # CI also enforces 100% blended coverage (statement + branch)
|
|
212
216
|
mkdocs serve # docs at http://127.0.0.1:8000/
|
|
213
217
|
```
|
|
214
218
|
|
|
219
|
+
`.[dev,test,docs]` is the smallest environment for the default test suite and the docs.
|
|
220
|
+
Add `.[property]` for the Hypothesis invariants, or `.[all]` for the dashboard,
|
|
221
|
+
HDF5/NetCDF, plotting and scientific backends together.
|
|
222
|
+
|
|
215
223
|
Issues and PRs welcome; see [CONTRIBUTING.md](CONTRIBUTING.md) and
|
|
216
224
|
[CODE_OF_CONDUCT.md](CODE_OF_CONDUCT.md).
|
|
217
225
|
|
package/SECURITY.md
CHANGED
|
@@ -127,7 +127,9 @@ repository's publish workflows mints an attestation on each channel:
|
|
|
127
127
|
|
|
128
128
|
- **PyPI** — Trusted Publisher: owner `Furox-Art`, repository
|
|
129
129
|
`scientific-computing-system`, workflow `release.yml`, environment `pypi`.
|
|
130
|
-
Exercised since 2.2.1
|
|
130
|
+
Exercised since 2.2.1. The per-file provenance endpoint returned 200 for the
|
|
131
|
+
published files of 2.2.1–2.2.6, 2.2.8, 2.2.11, 2.2.12 and 2.2.13 on 2026-10-22;
|
|
132
|
+
2.2.7 returns 404 for both its wheel and sdist.
|
|
131
133
|
- **npm** — Trusted Publisher: owner `Furox-Art`, repository
|
|
132
134
|
`scientific-computing-system`, workflow `npm-publish.yml`, environment `npm`.
|
|
133
135
|
Registered before 2.2.3, which is the first npm release published through it
|
|
@@ -189,7 +191,7 @@ In particular, `sympy_verify_identity()` passes caller-provided symbolic strings
|
|
|
189
191
|
|
|
190
192
|
1. **Pin the package version** in reproducible environments, for example `pip install "scientific-computing-system==X.Y.Z"` with the exact release you have evaluated, rather than an unconstrained range. Deliberately no concrete version is written here: a pinned example goes stale at the next release and readers copy it regardless, so take the number from the [release notes](https://github.com/Furox-Art/scientific-computing-system/releases) for the release you are deploying, and record it in your own lockfile or constraints file.
|
|
191
193
|
2. **Install only the optional extras you need.** Fewer third-party packages reduce supply-chain and compatibility surface.
|
|
192
|
-
3. **Verify provenance for high-assurance use.** For PyPI, fetch the PEP 740 bundle from `/integrity/<project>/<version>/<filename>/provenance` and confirm its `subject` digest equals the `sha256` PyPI publishes for that file.
|
|
194
|
+
3. **Verify provenance for high-assurance use.** For PyPI, fetch the PEP 740 bundle from `/integrity/<project>/<version>/<filename>/provenance` and confirm its `subject` digest equals the `sha256` PyPI publishes for that file. npm publishes are attested from `2.2.3` onward; for versions without an attestation, `dist.integrity` is an integrity pin, not provenance. See [Distribution channels and provenance](#distribution-channels-and-provenance).
|
|
193
195
|
4. **Treat optional backend inputs as backend inputs.** Do not pass hostile symbolic expressions or untrusted scientific files without the validation/sandboxing appropriate to SymPy, HDF5, NetCDF, or the relevant backend.
|
|
194
196
|
5. **Keep the environment current.** Review dependency updates and run vulnerability auditing against the exact environment deployed.
|
|
195
197
|
6. **Do not use the library as the sole validation layer for safety-critical conclusions.** Independent domain validation remains necessary.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "scientific-computing-system",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.14",
|
|
4
4
|
"description": "Scientific Computing System launcher - a thin Node wrapper that forwards to the pure-Python `cds` CLI. This npm package ships NO Python code: it requires the Python distribution to be installed (`pip install scientific-computing-system`), otherwise `scs` exits non-zero with an actionable message.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"bin": {
|