tools, instructions: Abhängigkeiten festgeschrieben - Lock-Dateien mit Hashes und 7 Tagen Abkühlzeit, Preflight-Stempel über das Lock, pip-audit und frische Auflösung im Nightly; Python 3.13-3.14 als zugelassene Spanne, CI auf beiden Enden (#245); 11.0.0-beta.1
CI / verify (push) Successful in 8m47s
CI / pwsh (push) Successful in 3m13s
CI / python314 (push) Successful in 5m35s
Converters / converters (push) Successful in 9m49s
Release / converters (push) Successful in 26s
Release / release (push) Successful in 39s
Release / wiki-mirror (push) Skipped
CI / verify (push) Successful in 8m47s
CI / pwsh (push) Successful in 3m13s
CI / python314 (push) Successful in 5m35s
Converters / converters (push) Successful in 9m49s
Release / converters (push) Successful in 26s
Release / release (push) Successful in 39s
Release / wiki-mirror (push) Skipped
Files changed: - .gitea/workflows/ci.yml - .gitea/workflows/converters.yml - .gitea/workflows/nightly.yml - .gitea/workflows/release.yml - .gitea/workflows/tracker-live.yml - CHANGES.md - INSTALL.md - VERSION - docs/dev/development.md - docs/how-to/set-up-the-mcp-server.md - instructions/dev/dependency-locks.md - instructions/dev/publish-and-ci.md - instructions/dev/stack-mode.md - instructions/dev/tracker-testing.md - instructions/mcp-read-server.md - instructions/preflight.md - tools/CONTRACT.md - tools/README.md - tools/chemenu/commands/dist_cmd.py - tools/chemenu/commands/doctor.py - tools/chemenu/install_doc.py - tools/chemenu/prerequisites.py - tools/chemenu/tests/test_dependency_locks.py - tools/chemenu/tests/test_dist_cmd.py - tools/chemenu/tests/test_doctor.py - tools/chemenu/tests/test_install_doc.py - tools/chemenu/tests/test_preflight.py - tools/chemenu/tests/test_preflight_pwsh.py - tools/lock_requirements.py - tools/preflight.ps1 - tools/preflight.sh - tools/prerequisites.txt - tools/requirements-browser.lock - tools/requirements-browser.txt - tools/requirements-dev.lock - tools/requirements-dev.txt - tools/requirements-mcp.lock - tools/requirements-mcp.txt - tools/requirements.lock - tools/requirements.txt Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015uxGFdBAmyA23g1isCtGEY
This commit is contained in:
1 parent
0fce67e6b9
commit
37070ffae2
40 files changed
+3472
-159
No files matched your search
@@ -14,20 +14,25 @@ known to exist: `tools/preflight.sh` for POSIX shells, `tools/preflight.ps1` for
|
||||
Windows. The two answer the same questions from the same list and write the same
|
||||
`.wikitool-tools.json`. It does three things, all inside the install folder:
|
||||
|
||||
- checks the tools listed in `tools/prerequisites.txt` - Python 3.11 or newer, git, ripgrep
|
||||
(`rg`) - and, on Windows, that the install folder is short enough for Windows' path limit and
|
||||
- checks the tools listed in `tools/prerequisites.txt` - Python 3.13 to 3.14 (both checked in
|
||||
CI; an older or newer one is refused with exit 42, and a `python3.14`/`python3.13`, or `py -3.14`
|
||||
on Windows, is taken where the plain `python` lies outside), git, ripgrep (`rg`) - and, on Windows, that the install folder is short enough for Windows' path limit and
|
||||
(PowerShell only) that the execution policy and the files' Mark of the Web let
|
||||
`tools/wikitool.ps1` start;
|
||||
- records the absolute path of each tool in `.wikitool-tools.json`, which `wikitool` then starts
|
||||
them from instead of trusting whatever `PATH` a session inherited - and of an optional tool,
|
||||
such as the 1Password CLI `op`, when it finds one: an optional tool missing is reported as
|
||||
`ABSENT` and is never a reason to stop, nor to install anything;
|
||||
- creates `tools/.venv` from the recorded Python and installs `tools/requirements.txt` into it.
|
||||
- creates `tools/.venv` from the recorded Python and installs `tools/requirements.lock` into it:
|
||||
exact versions with their SHA-256 hashes (`pip install --require-hashes`), so every instance
|
||||
of one stack version runs the same packages. When an update brings a changed lock, the next
|
||||
run moves the venv to it, a version up or down; a venv built on a Python outside the span is
|
||||
built again on the one found.
|
||||
|
||||
One more thing it does only when the user asks for it: `--with browser` installs the optional
|
||||
browser component - `tools/requirements-browser.txt` and the Chromium it drives - into
|
||||
browser component - `tools/requirements-browser.lock` and the Chromium it drives - into
|
||||
`tools/.venv`. Only `raw login` and a page a site handler fetches through a browser need it. Once
|
||||
installed, every later run keeps it up to date; nothing else ever installs it.
|
||||
installed, every later run keeps it at its lock; nothing else ever installs it.
|
||||
|
||||
<!-- wikitool:toc -->
|
||||
## Contents
|
||||
|
||||
Reference in new issue
Block a user