Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
74 lines (68 loc) · 3.22 KB
/
Copy pathpyproject.toml
File metadata and controls
74 lines (68 loc) · 3.22 KB
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
[tool.poetry]
name = "documentation-eccenca-com"
version = "0.0.0"
description = "Documentation repository for eccenca Corporate Memory"
authors = ["Sebastian Tramp <sebastian.tramp@eccenca.com>"]
homepage = "https://github.com/eccenca/documentation.eccenca.com"
readme = "README.md"
packages = [{include = "tools"}]
[tool.poetry.urls]
"Issue Tracker" = "https://github.com/eccenca/documentation.eccenca.com/issues"
[tool.poetry.scripts]
dec-tool = 'tools:cli'
[tool.poetry.dependencies]
python = "^3.11"
# Squidfunk's mike fork, the only mike that works under Zensical: released mike
# validates mkdocs.yml with the MkDocs config loader (which aborts here on the
# uninstalled awesome-pages plugin) and shells out to `mkdocs`/`properdocs build`.
# The fork swaps that layer for `zensical.config` plus `zensical build`. Upstream
# calls it transitional, until Zensical ships native versioning:
# https://zensical.org/docs/compatibility/mkdocs/mike/
# Pinned to a revision, not the 2.2.0+zensical-0.1.0 tag: two later commits fix
# missing config defaults (`canonical_version`), and this is the revision that
# `task public:deploy` was verified against.
mike = { git = "https://github.com/squidfunk/mike.git", rev = "2d4ad799442f4592db8ad53b179bfb33db8c69ac" }
# Public Material for MkDocs (no longer the private Insiders fork). Zensical does
# NOT depend on it, but mkdocs.yml resolves `!!python/name:material.*` handles for
# the twemoji index and the tags plugin, so the package must stay installed.
mkdocs-material = "^9.7.6"
# tools/build_pdf.py parses the built HTML to splice pages together.
beautifulsoup4 = "^4.12"
# tools/build_pdf.py reads nav.yml and mkdocs.yml directly.
pyyaml = "^6.0"
cmem-cmempy = "^25.3.0"
pydantic = "^2.11.7"
jinja2 = "^3.1.6"
# Zensical is pre-1.0: the exact pin allows a single release. A caret no longer
# does from 0.1 on (^0.1.1 resolves to >=0.1.1,<0.2.0). This narrowness is
# intentional -- bump it manually and re-run `task build` plus
# `tools/check_zensical_output.py` when doing so.
zensical = "0.1.1"
pillow = "^11.3.0"
# tools/pdf_normalize.py and tools/pdf_preflight.py read the PDFs the print
# edition writes: the PDF/X-4 marker, the output intent, page sizes and annotations.
pypdf = "^6.18"
# Every dec-tool subcommand is a click command (tools/__init__.py). click, markdown
# and requests used to arrive as dependencies of other packages; a tool that imports
# them directly declares them, or an upstream bump takes them away.
click = "^8.5"
# tools/build_pdf.py renders the Markdown fields of data/plugins.json for the
# operator reference of the print edition.
markdown = "^3.10"
# tools/update_icons.py fetches the eccenca icon set from the gui-elements repository.
requests = "^2.32"
# tools/update_try_results.py runs the "Try it" SPARQL boxes of the training pages.
# Exact pin: it must be the release of the WebAssembly build in docs/assets/oxigraph/,
# so the written results are what the browser returns. Bump both together.
pyoxigraph = "0.5.13"
[tool.poetry.group.dev.dependencies]
rumdl = "^0.0.194"
pytest = "^9.1.1"
yamllint = "^1.38.0"
[tool.pytest.ini_options]
markers = [
"integration: needs a live DI/CMEM instance to run",
]
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"