Reorganize paperspec commands and pin dependency versions (#2)
check / check (push) Successful in 52s
site / site (push) Successful in 1m45s

Reviewed-on: #2
This commit was merged in pull request #2.
This commit is contained in:
alexm committed 2026-10-15 09:53:05 -04:00
1 parent 4fa326dc76
commit 78101dc0db
65 files changed
+2360 -298

No files matched your search

+27 -7
View File
@@ -20,14 +20,34 @@ markdownlint-cli2 = ">=0.23.3"
nodejs = ">=22"
cryptography = ">=46"
# The reference implementation in src/paperspec, installed editable so that `import paperspec` and the
# `paperspec` command work in every pixi environment; without pixi, `pip install -e ".[tools]"` does the same.
[pypi-dependencies]
paperspec = { path = ".", editable = true }
# What building and publishing the package needs: pixi run -e dev dist; see deploy/README.md.
# twine 6.1 is the first that reads the license metadata (Metadata-Version 2.4) setuptools writes.
[feature.dev.dependencies]
setuptools = ">=80"
setuptools-scm = ">=8"
python-build = ">=1.2"
twine = ">=6.1"
[feature.dev.tasks]
dist = { cmd = "python -m build --sdist --wheel --no-isolation --outdir dist", description = "Build the paperspec sdist and wheel into dist/" }
[environments]
default = { solve-group = "default" }
dev = { features = ["dev"], solve-group = "default" }
[tasks]
check = { cmd = "python tools/check.py", depends-on = [
check = { cmd = "paperspec check", depends-on = [
"lint",
], description = "Check schemas, records, packages, vectors, a byte-for-byte rebuild, the SQL round trip, prose and links" }
quick = { cmd = "python tools/check.py --quick", description = "Check everything except the byte-for-byte rebuild" }
build = { cmd = "python tools/build.py", description = "Rebuild fixtures/ and vectors/ from fixtures/src/ and the oracle" }
quick = { cmd = "paperspec check --quick", description = "Check everything except the byte-for-byte rebuild" }
build = { cmd = "paperspec build", description = "Rebuild fixtures/ and vectors/ from fixtures/src/ and the oracle" }
lint = { cmd = "markdownlint-cli2", description = "Lint every Markdown file with markdownlint" }
load = { cmd = "python tools/load.py", description = "Load packages into SQLite: pixi run load --sqlite lab.db PACKAGE..." }
validate = { cmd = "python tools/validate.py", description = "Validate packages, or run proposed corrections through the gate" }
stress = { cmd = "python tools/stress.py", description = "Stress the oracle with random inputs: pixi run stress -- --seed N" }
site = { cmd = "python tools/site.py", description = "Build the website into _site/" }
load = { cmd = "paperspec load", description = "Load packages into SQLite: pixi run load --sqlite lab.db PACKAGE..." }
validate = { cmd = "paperspec validate", description = "Validate packages, or run proposed corrections through the gate" }
stress = { cmd = "paperspec stress", description = "Stress the oracle with random inputs: pixi run stress --seed N" }
site = { cmd = "paperspec site", description = "Build the website into _site/" }