argon2-cffi-bindings/tox.ini
Hynek Schlawack 1aad4747f9
Add support for free-threaded builds (#70)
* Build free-threaded wheels, disable limited API there

Co-authored-by: Min RK <151929+minrk@users.noreply.github.com>

* Try installing libffi-dev on Linux

It's faling due to lack of includes. Presumably because the lack of cffi
wheels.

* Revert "Try installing libffi-dev on Linux"

Does not work.

* Merge

* Actually build FT

* support the free-threaded build of Python 3.14 (#93)

* support the free-threaded build of Python 3.14

* attempt to get 3.14t CI to run

* Add trove classifier

* Add changelog

* Add 3.14 trove classifier, too

---------

Co-authored-by: Hynek Schlawack <hs@ox.cx>

---------

Co-authored-by: Min RK <151929+minrk@users.noreply.github.com>
Co-authored-by: Nathan Goldbaum <nathan.goldbaum@gmail.com>
2025-07-30 08:53:31 +02:00

57 lines
1.2 KiB
INI

[flake8]
exclude = src/_argon2_cffi_bindings/_ffi.py
ignore =
# Black vs flake8 conflict
E203
[tox]
min_version = 4
env_list =
pre-commit,
cog-{check,render},
py3{9,10,11,12,13,14,14t},
pypy3{9,10},
system-argon2
[testenv:pre-commit]
description = Run all pre-commit hooks.
skip_install = true
deps = pre-commit
commands = pre-commit run --all-files
[testenv:cog-render]
description = Update README and CHANGELOG
skip_install = true
deps = cogapp>=3.3.0
commands = cog -rP README.md CHANGELOG.md
[testenv:cog-check]
description = Ensure README and CHANGELOG are up-to-date
skip_install = true
deps = {[testenv:cog-render]deps}
commands = cog --check -P README.md CHANGELOG.md
[testenv]
description = Run tests.
extras = tests
commands = pytest {posargs}
[testenv:system-argon2]
description = Run tests against bindings that use a system installation of Argon2.
set_env = ARGON2_CFFI_USE_SYSTEM=1
extras = tests
install_command = pip install {opts} --no-binary=argon2-cffi-bindings {packages}
[testenv:clean]
description = Remove build artifacts.
allowlist_externals = rm
skip_install = true
commands = rm -rf .tox build src/argon2_cffi_bindings.egg-info