diff --git a/0003-remove-tox-temp.patch b/0003-remove-tox-temp.patch index 2ed514a..9044849 100644 --- a/0003-remove-tox-temp.patch +++ b/0003-remove-tox-temp.patch @@ -7,3 +7,61 @@ index 65529de..ebe9f1f 100644 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