-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpixi.toml
More file actions
80 lines (66 loc) · 1.96 KB
/
pixi.toml
File metadata and controls
80 lines (66 loc) · 1.96 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
[workspace]
authors = ["softwareentrepreneer <softwareentrepreneer+afterpython@gmail.com>"]
channels = ["conda-forge"]
name = "afterpython"
platforms = ["win-64", "linux-64", "osx-arm64", "osx-64"]
# updating this needs to also update the version in the ci.yml and templates/ci-workflow-template.yml files
requires-pixi = ">=0.63.2" # command: pixi workspace requires-pixi set ">=0.63.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.9.26"
gh = ">=2.83.1"
# `pixi config set pinning-strategy latest-up` removes the upper bound on the versions of the dependencies
[pypi-dependencies]
afterpython = { path = ".", editable = true }
click = ">=8.2.1"
trogon = ">=0.6.0"
httpx = ">=0.28.1"
tomlkit = ">=0.13.3"
ruamel-yaml = ">=0.18.16"
gitpython = ">=3.1.45"
# pygithub = ">=2.8.1"
python-dotenv = ">=1.2.1"
pyproject-metadata = ">=0.10.0"
# jupytext = ">=1.18.1"
# jinja2 = ">=3.1.6"
mystmd = ">=1.8.0"
pdoc = ">=16.0.0"
ruff = ">=0.14.14"
pre-commit = ">=4.5.1"
commitizen = ">=4.12.1"
# 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]
notebook = ">=7.5.0"
[feature.test.pypi-dependencies]
pytest = ">=9.0.2"
pytest-cov = ">=7.0.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.*"