Files
python-lz4/0003-remove-tox-temp.patch
2026-02-02 10:42:59 +08:00

68 lines
1.5 KiB
Diff

diff --git a/requirements.txt b/requirements.txt
index 65529de..ebe9f1f 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -1,4 +1,3 @@
-tox
pytest
pytest-runner
setuptools_scm
diff --git a/tox.ini b/tox.ini
deleted file mode 100644
index 6c52f84..0000000
--- a/tox.ini
+++ /dev/null
@@ -1,52 +0,0 @@
-[tox]
-envlist = py, flake8, docs
-minversion = 2.4.0
-
-[testenv]
-extras = tests
-passenv = *
-# setenv = PYTHONMALLOC = pymalloc
-# PYTHONMALLOCSTATS = 'yes'
-usedevelop = True
-commands =
- pytest --cov=lz4/block --cov=lz4/frame --tb=long {posargs} tests/block tests/frame
-
-[pytest]
-addopts = -x --tb=long --showlocals
-
-
-[testenv:flake8]
-extras = flake8
-passenv = *
-commands =
- flake8 lz4 setup.py tests
-
-[flake8]
-ignore = E501
-
-[testenv:docs]
-package_env = .pkg-experimental
-passenv = *
-usedevelop = True
-allowlist_externals = make
-extras = docs
-commands =
- make -C docs doctest html
-
-[testenv:.pkg-experimental]
-# This environment is used when building the lz4 package (wheel) that
-# is subsequently installed into the tox environment for any
-# environment referencing this one via package_env.
-# https://tox.wiki/en/latest/config.html#package_env-env
-setenv =
- PYLZ4_EXPERIMENTAL = 1
-
-[testenv:experimental]
-extras = tests
-passenv = *
-package_env = .pkg-experimental
-# PYTHONMALLOC = pymalloc
-# PYTHONMALLOCSTATS = 'yes'
-usedevelop = True
-commands =
- pytest --cov=lz4/stream --tb=long {posargs} tests/stream