Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
92 lines (83 loc) · 2.98 KB
/
Copy pathpyproject.toml
File metadata and controls
92 lines (83 loc) · 2.98 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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
[project]
name = "pymediate"
dynamic = ["version"]
description = "Typed in-process request dispatch for Python 3.12+"
readme = "README.md"
authors = [
{ name = "sina-al", email = "27771210+sina-al@users.noreply.github.com" },
]
license = "MIT"
license-files = ["LICENSE"]
requires-python = ">=3.12"
dependencies = []
keywords = ["mediator", "cqrs", "dependency-injection", "typing", "request-dispatch"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Topic :: Software Development :: Libraries :: Python Modules",
"Typing :: Typed",
]
[project.urls]
Homepage = "https://github.com/sina-al/pymediate"
Documentation = "https://pymediate.sina-al.uk/"
Repository = "https://github.com/sina-al/pymediate"
Issues = "https://github.com/sina-al/pymediate/issues"
Changelog = "https://github.com/sina-al/pymediate/releases"
[project.optional-dependencies]
di = [
"dependency-injector>=4.41.0"
]
[dependency-groups]
dev = [
"ruff>=0.8.4",
"poethepoet>=0.31.1",
"mypy>=1.13.0",
"griffelib>=2.1.0",
"typer>=0.26.8",
"rich>=15.0.0",
]
test = [
"mypy>=1.13.0",
"pytest>=8.0.0",
"pytest-cov>=4.1.0",
"pytest-github-actions-annotate-failures>=0.2.0",
"pytest-asyncio>=1.2.0",
"pytest-xdist>=3.8.0",
"basedpyright>=1.39.9",
"hypothesis>=6.100",
]
[build-system]
requires = ["hatchling>=1.27", "hatch-vcs>=0.4"]
build-backend = "hatchling.build"
# The version is derived from git tags (vX.Y.Z) at build time — there is no version string
# in the repo. Untagged builds get a dev version (e.g. 0.1.5.dev3+g1a2b3c4). Release tags are
# created by tag-release.yml when a release PR merges into `stable`; see OPERATIONS.md.
[tool.hatch.version]
source = "vcs"
[tool.hatch.version.raw-options]
# Only for environments where git metadata is unavailable entirely (e.g. building from a
# bare source tree); CI checkouts fetch tags so releases never hit this.
fallback_version = "0.0.0+unknown"
[tool.hatch.build.targets.wheel]
packages = ["src/pymediate"]
[tool.uv]
# Single source of truth for the uv version: read locally by `uv` itself (errors on mismatch)
# and automatically by astral-sh/setup-uv in CI (falls back to pyproject.toml when no `version:`
# input is given). Bump with `uv run poe update-uv` — don't hand-edit.
required-version = "==0.11.26"
# TestPyPI staging index — release.yml publishes here (via pypa/gh-action-pypi-publish)
# before the real PyPI publish, as a dry run against the same Trusted Publishing mechanism.
# Kept for manual staging checks (`uv publish --index testpypi`).
[[tool.uv.index]]
name = "testpypi"
url = "https://test.pypi.org/simple/"
publish-url = "https://test.pypi.org/legacy/"
explicit = true
[tool.poe]
include = "tasks.toml"