Repository navigation
Commit add97fc
authored
Boilerplate, CI (#10)
* chore(python): establish canonical .sis/ project identity files
Add .sis/project_name.txt and .sis/script_info_lines.txt across all 10 Python
repositories to define canonical short project names and script information
headers:
- asynkio;
- CLASP.Python;
- Diagnosticism.Python;
- libCLImate.Python;
- libpath.Python;
- p99.Python;
- py2be;
- Quench.Python;
- recls.Python;
- woad.Python;
* docs: complete AUTHORS.md and NEWS.md for all Python projects
* docs(python): align README Dependencies, taglines, and version narratives
Polish active Python library docs for standardisation:
- move py2be tagline before badge row;
- normalise Dependencies to Efferent / Development Dependencies / Afferent;
- populate CLASP.Python Dependencies and Diagnosticism afferent consumers;
- sync libCLImate.Python package version to 0.0.1 with CHANGES/NEWS;
- remove CHANGES previous-versions placeholders and asynkio TODO T.B.C.
* chore(python): standardise editor and VCS boilerplate across projects
Align .gitattributes, .gitignore, .editorconfig, .vimrc, and
.vscode/settings.json across all 10 Python projects:
- Linguist attributes for Python / shell / vimrc;
- Synesis Python ignore set including .venv and tool caches;
- EditorConfig matching .vscode indent/EOL/newline rules (no
trailing-blank-line policy);
- Vim and VS Code python rulers unified at [ 50, 60, 76, 120 ].
* chore(python): adopt PEP 621 hybrid packaging for Dual-tier libraries
Add pyproject.toml alongside setup.py/setup.cfg so Dual-tier Python
libraries keep Python 2.7 installability while modern tooling uses PEP 621:
- migrate CLASP.Python, Diagnosticism.Python, and py2be to hybrid form;
- add universal wheel setup.cfg; sync classifiers through 3.14;
- fix CLASP.Python project URL casing; verify libCLImate and woad hybrids.
* chore(python): complete MANIFEST.in for active library sdists
Ensure active Python libraries package AUTHORS, NEWS, and other standard
docs in sdists:
- refresh MANIFEST.in for asynkio, CLASP.Python, Diagnosticism.Python, py2be;
- add MANIFEST.in for libCLImate.Python and woad.Python;
- fix missing final newline on CLASP.Python MANIFEST.in.
* chore(python): sync dist helper scripts across active libraries
Align packaging helper scripts for active Python libraries:
- fix CLASP.Python egg-info cleanup to pyclasp.egg-info;
- add build_dist.sh and build_dist_uv.sh for woad.Python;
- remove obsolete asynkio/build_egg.sh and empty py2be/requirements.txt.
* ci(python): standardise python-package.yml push and PR triggers
Align active Python libraries to the Synesis canonical CI branch set:
- on.push.branches: master, dev, boilerplate, idiomatic, rc1, rc2, rc3;
- unfiltered pull_request:;
- drop ad-hoc branches and path globs from asynkio and Dual workflows.
* ci(python): modernise python-package.yml jobs and wheel smoke
Bring active Python CI jobs in line with the libCLImate/woad gold form:
- setup-python@v5, editable install, pytest on 3.x;
- wheel build/install smoke asserting package __version__;
- retain Dual build-py27 container jobs with legacy unittest paths;
- add asynkio wheel smoke on the 3.11+ matrix.
* test(python): standardise run_all_unit_tests.sh with .sis identity
Align active Python libraries on the misc-dev-scripts unit-test helper:
- refresh or add run_all_unit_tests.sh in all six active projects;
- load .sis/project_name.txt and show script_info_lines.txt on --help;
- use unittest discover -s tests (pytest preference for asynkio);
- update the misc-dev-scripts Python template to match.
* chore(python): prefer project .venv in run_all_unit_tests.sh discovery
Discover `$Dir/.venv/bin/python` before PATH so bare helper runs avoid
Apple/Xcode python3 (too old for asynkio; unsuitable for local install/test).
* ci(clasp): add failing ruff lint job for Dual-tier CI
Introduce ruff as the Dual lint gate for CLASP.Python:
- add [tool.ruff] (py38, E/F; E501 ignored pending wrap pass) and an
optional extra;
- add a Lint (ruff) job on python-package.yml before the build matrix;
- apply low-churn E/F fixes (re-exports, type/`is`, None checks, unused
imports, semicolons) so ruff check . exits 0;
* chore(python): bump active library versions past last published tags
Raise asynkio, CLASP.Python, Diagnosticism.Python, libCLImate.Python,
py2be, and woad.Python one patch above the latest published tag (or
prior local floor) so packaging/CI modernisation is releasable; sync
package metadata, smoke asserts, CHANGES.md, and NEWS.md.1 parent e843bbe commit add97fc
39 files changed
Lines changed: 655 additions & 109 deletions
File tree
- .github/workflows
- .sis
- .vscode
- examples
- pyclasp
- tests
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
4 | 5 | | |
| 6 | + | |
5 | 7 | | |
6 | 8 | | |
| 9 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
3 | 7 | | |
4 | 8 | | |
5 | 9 | | |
| |||
9 | 13 | | |
10 | 14 | | |
11 | 15 | | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
12 | 20 | | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
17 | 28 | | |
18 | 29 | | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
19 | 52 | | |
20 | 53 | | |
21 | 54 | | |
| |||
32 | 65 | | |
33 | 66 | | |
34 | 67 | | |
35 | | - | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
36 | 71 | | |
37 | | - | |
| 72 | + | |
38 | 73 | | |
39 | 74 | | |
| 75 | + | |
40 | 76 | | |
41 | 77 | | |
42 | 78 | | |
43 | | - | |
44 | | - | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
45 | 83 | | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
51 | 87 | | |
52 | | - | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
53 | 92 | | |
54 | 93 | | |
55 | 94 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
5 | 8 | | |
6 | 9 | | |
7 | 10 | | |
8 | 11 | | |
9 | 12 | | |
10 | 13 | | |
11 | 14 | | |
12 | | - | |
| 15 | + | |
13 | 16 | | |
14 | 17 | | |
15 | 18 | | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
16 | 22 | | |
17 | 23 | | |
18 | 24 | | |
19 | 25 | | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
20 | 29 | | |
21 | 30 | | |
22 | 31 | | |
| |||
26 | 35 | | |
27 | 36 | | |
28 | 37 | | |
29 | | - | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
1 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
2 | 22 | | |
3 | 23 | | |
4 | 24 | | |
5 | 25 | | |
6 | | - | |
7 | 26 | | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
5 | 9 | | |
6 | 10 | | |
7 | 11 | | |
8 | | - | |
| 12 | + | |
9 | 13 | | |
10 | 14 | | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
11 | 20 | | |
12 | 21 | | |
13 | 22 | | |
14 | 23 | | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
15 | 28 | | |
16 | 29 | | |
17 | 30 | | |
18 | 31 | | |
19 | 32 | | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | 33 | | |
24 | | - | |
25 | 34 | | |
26 | 35 | | |
| 36 | + | |
27 | 37 | | |
28 | 38 | | |
29 | 39 | | |
| 40 | + | |
30 | 41 | | |
31 | 42 | | |
32 | 43 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
2 | 7 | | |
3 | 8 | | |
4 | 9 | | |
5 | 10 | | |
6 | | - | |
| 11 | + | |
7 | 12 | | |
8 | 13 | | |
9 | 14 | | |
| |||
164 | 169 | | |
165 | 170 | | |
166 | 171 | | |
167 | | - | |
168 | | - | |
169 | | - | |
170 | | - | |
171 | | - | |
172 | 172 | | |
173 | 173 | | |
0 commit comments