-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpixi.toml
More file actions
82 lines (68 loc) · 2.03 KB
/
pixi.toml
File metadata and controls
82 lines (68 loc) · 2.03 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
[workspace]
authors = ["softwareentrepreneer <softwareentrepreneer+afterpython@gmail.com>"]
channels = ["conda-forge"]
name = "afterpython"
platforms = ["win-64", "linux-64", "osx-arm64", "osx-64"]
# NOTE: this depends on the lock version used in setup-pixi in ci.yml
# currently the max lock-version supported is 6
requires-pixi = "<=0.67.2" # command: pixi workspace requires-pixi set "<=0.67.2"
[tasks]
[tasks.test-all]
depends-on = [
{ task = "test", environment = "py311" },
{ task = "test", environment = "py312" },
{ task = "test", environment = "py313" },
# { task = "test", environment = "py314" },
]
[dependencies]
python = ">=3.11.14"
uv = ">=0.11.14"
gh = ">=2.92.0"
# `pixi config set pinning-strategy latest-up` removes the upper bound on the versions of the dependencies
[pypi-dependencies]
click = ">=8.2.1"
trogon = ">=0.6.0"
httpx = ">=0.28.1"
tomlkit = ">=0.15.0"
ruamel-yaml = ">=0.19.1"
gitpython = ">=3.1.50"
# pygithub = ">=2.8.1"
python-dotenv = ">=1.2.2"
pyproject-metadata = ">=0.11.0"
jupytext = ">=1.19.2"
# jinja2 = ">=3.1.6"
mystmd = ">=1.9.0"
pdoc = ">=16.0.0"
ruff = ">=0.15.12"
pre-commit = ">=4.6.0"
commitizen = ">=4.16.0"
# python-semantic-release = ">=10.5.2"
# [pypi-options.dependency-overrides]
# platformdirs = ">=4.5.0"
# nodeenv = ">=1.9.1"
[environments]
default = ["py311", "dev", "optional"]
py311 = ["py311", "test", "optional"]
py312 = ["py312", "test", "optional"]
py313 = ["py313", "test", "optional"]
py314 = ["py314", "test", "optional"]
[feature.optional.pypi-dependencies]
[feature.dev.pypi-dependencies]
afterpython = { path = ".", editable = true }
notebook = ">=7.5.6"
marimo = { version = ">=0.23.6", extras = ["recommended", "lsp"] }
[feature.test.pypi-dependencies]
pytest = ">=9.0.3"
pytest-cov = ">=7.1.0"
pytest-mock = ">=3.15.1"
pytest-xdist = ">=3.8.0"
[feature.test.tasks]
test = "pytest -v -n auto"
[feature.py311.dependencies]
python = "3.11.*"
[feature.py312.dependencies]
python = "3.12.*"
[feature.py313.dependencies]
python = "3.13.*"
[feature.py314.dependencies]
python = "3.14.*"