-
-
Notifications
You must be signed in to change notification settings - Fork 240
Expand file tree
/
Copy pathpyproject.toml
More file actions
35 lines (32 loc) · 1.42 KB
/
pyproject.toml
File metadata and controls
35 lines (32 loc) · 1.42 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
[build-system]
requires = [
"setuptools>=45",
"setuptools_scm[simple]>=8.0.4,<11",
"mypy==1.20.1", # also update mypy-requirements.txt
"types-requests",
"types-psutil>=7.1.3.20251210",
"ruamel.yaml>=0.16.0,<0.20",
"schema-salad>=8.9,<9",
"cwl-utils>=0.41",
"toml",
"argcomplete>=1.12.0",
"rich-argparse",
"pygments>=2.20.0", # fix for CVE-2026-4539
"pydot >= 1.4.1"
]
build-backend = "setuptools.build_meta"
[tool.cibuildwheel]
test-command = "python -m pytest --ignore cwltool/schemas -n logical --dist worksteal --junitxml={project}/test-results/junit_$(python -V | awk '{print $2}')_${AUDITWHEEL_PLAT}.xml -k 'not (test_bioconda or test_env_filtering or test_udocker)' --pyargs cwltool"
test-requires = "-r test-requirements.txt"
build-verbosity = 1
environment = { CWLTOOL_USE_MYPYC="1", MYPYPATH="$(pwd)/mypy-stubs" }
# Disable building PyPy wheels on all platforms
# Skip free-threaded builds, as mypyc does not support them yet
# https://mypy.readthedocs.io/en/stable/changelog.html#mypyc-partial-unsafe-support-for-free-threading
skip = ["pp*", "cp31?t-*"]
# Install system library
[tool.cibuildwheel.linux]
before-all = "apk add libxml2-dev libxslt-dev nodejs || yum install -y libxml2-devel libxslt-devel nodejs environment-modules || apt-get install -y --no-install-recommends libxml2-dev libxslt-dev nodejs environment-modules"
[tool.black]
line-length = 100
target-version = [ "py310" ]