-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathpyproject.toml
More file actions
62 lines (52 loc) · 2.28 KB
/
Copy pathpyproject.toml
File metadata and controls
62 lines (52 loc) · 2.28 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
[tool.black]
# Flake8 default compliance with specification PEP8
line-length = 79
exclude = '\.git|\.hg|\.mypy_cache|\.tox|\.venv|venv|_build|buck-out|build|dist'
skip-string-normalization = true
[tool.cibuildwheel]
build = "*"
# cibuildwheel 3.x makes PyPy wheels opt-in; re-enable the ones modern
# toolchains can still build (currently pp311). The pp38-pp310 wheels
# shipped by 0.2.13 target EOL PyPy releases cibuildwheel no longer
# supports — those interpreters install from the sdist instead.
enable = ["pypy"]
skip = ""
test-skip = ""
archs = ["auto64"]
build-frontend = "default"
config-settings = {}
dependency-versions = "pinned"
environment = {}
environment-pass = []
build-verbosity = 0
before-all = ""
before-build = ""
repair-wheel-command = ""
# Smoke-test each built wheel by installing it into a clean env and running
# the shared block-import script. The script artificially blocks zlib / bz2 /
# compression.zstd / lzma on sys.meta_path and then imports every compiled
# extension — that's the invariant CYTHON_COMPRESS_STRINGS=0 in setup.py
# exists to guarantee. A plain `python -c "import proton_driver"` on a stock
# runner would trivially pass even if a future Cython regen brought the
# compressed branches back, because those stdlib modules exist there.
test-command = "python {project}/tests/smoke_no_compression.py"
before-test = ""
test-requires = []
test-extras = []
container-engine = "docker"
# No image pins: cibuildwheel 3.x rejects the musllinux_1_1 alias outright,
# and the manylinux2014 images froze at CentOS 7 EOL without Python 3.14 —
# neither can build cp314/cp314t. The 3.4.1 defaults (manylinux_2_28 /
# musllinux_1_2) carry every interpreter we target; older-glibc systems
# install from the sdist.
[tool.cibuildwheel.linux]
repair-wheel-command = "auditwheel repair -w {dest_dir} {wheel}"
# auto64 = the runner's native 64-bit arch (x86_64 on ubuntu-22.04, aarch64
# on ubuntu-22.04-arm). Each native runner builds only its own arch, so no
# QEMU emulation is needed. (Was ["aarch64","x86_64"], which forced both on
# one x86_64 runner and required emulating aarch64.)
archs = ["auto64"]
[tool.cibuildwheel.macos]
repair-wheel-command = "delocate-wheel --require-archs {delocate_archs} -w {dest_dir} -v {wheel}"
archs = [ "arm64", "x86_64" ]
[tool.cibuildwheel.windows]