Skip to content

Commit df39601

Browse files
mstrathmanclaude
andcommitted
fix: scrub stale branding and receipts from package distro metadata
What alpha.5 shipped to the registries predates two pivots: the PyPI page is titled everpure-sqlite-predict with a wrong import (from everpure import sqlite_predict; the module is plain sqlite_predict), and all three package descriptions still promise "replayable receipts." This fixes the sources so alpha.6 publishes correctly: pyproject/package.json/Cargo.toml descriptions rewritten to the current product, the rust crate's docs.rs front page loses its receipts claim, and the python module docstring drops the everpure prefix. Also closes a release-plumbing hole: sqlite_predict.__version__ was hardcoded at 0.0.1a1 and sync-version never touched it, so installed packages misreported their version. It now reads 0.0.1a6 and sync-version rewrites it alongside pyproject, so it cannot drift again. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1 parent 220fa96 commit df39601

6 files changed

Lines changed: 8 additions & 7 deletions

File tree

‎bindings/node/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "sqlite-predict",
33
"version": "0.0.1-alpha.6",
4-
"description": "Prediction as a SQL primitive for SQLite: forecast, detect_anomalies, predict, with replayable receipts.",
4+
"description": "Prediction as a SQL primitive for SQLite: forecast, detect_anomalies, and predict, in a zero-dependency loadable extension.",
55
"main": "index.cjs",
66
"types": "index.d.ts",
77
"files": [

‎bindings/python/pyproject.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ build-backend = "setuptools.build_meta"
55
[project]
66
name = "sqlite-predict"
77
version = "0.0.1a6"
8-
description = "Prediction as a SQL primitive for SQLite: forecast, detect_anomalies, predict, with replayable receipts."
8+
description = "Prediction as a SQL primitive for SQLite: forecast, detect_anomalies, and predict, in a zero-dependency loadable extension."
99
readme = "README.md"
1010
requires-python = ">=3.8"
1111
license = { text = "MIT OR Apache-2.0" }

‎bindings/python/sqlite_predict/__init__.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
"""everpure.sqlite_predict: prediction as a SQL primitive.
1+
"""sqlite_predict: prediction as a SQL primitive for SQLite.
22
33
import sqlite3
44
import sqlite_predict
@@ -11,7 +11,7 @@
1111
"""
1212
import os
1313

14-
__version__ = "0.0.1a1"
14+
__version__ = "0.0.1a6"
1515

1616

1717
def loadable_path() -> str:

‎bindings/rust/Cargo.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name = "sqlite-predict"
33
version = "0.0.1-alpha.6"
44
edition = "2021"
55
license = "MIT OR Apache-2.0"
6-
description = "Prediction as a SQL primitive for SQLite: forecast, detect_anomalies, predict, with replayable receipts."
6+
description = "Prediction as a SQL primitive for SQLite: forecast, detect_anomalies, and predict. The zero-dependency C core compiles into this crate."
77
repository = "https://github.com/PureStorage-OpenConnect/sqlite-predict"
88
keywords = ["sqlite", "forecasting", "anomaly-detection", "time-series"]
99
categories = ["database", "science"]

‎bindings/rust/src/lib.rs‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
//! Prediction as a SQL primitive for SQLite: `forecast()`, `detect_anomalies()`,
2-
//! and `predict()`, with replayable receipts. The zero-dependency C core is
3-
//! compiled into this crate.
2+
//! and `predict()`. The zero-dependency C core is compiled into this crate.
43
//!
54
//! Register it as an auto-extension once at startup, then every connection your
65
//! process opens (e.g. via `rusqlite`) has the functions available:

‎scripts/sync-version.mjs‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,8 @@ rewriteLine("bindings/rust/Cargo.toml", /^version = "[^"]*"/m,
5454
const pv = pep440(version);
5555
rewriteLine("bindings/python/pyproject.toml", /^version = "[^"]*"/m,
5656
`version = "${pv}"`, pv);
57+
rewriteLine("bindings/python/sqlite_predict/__init__.py",
58+
/^__version__ = "[^"]*"/m, `__version__ = "${pv}"`, pv);
5759

5860
const pkgPath = path.join(root, "bindings", "node", "package.json");
5961
const pkg = JSON.parse(fs.readFileSync(pkgPath, "utf8"));

0 commit comments

Comments
 (0)