File: tox.ini

package info (click to toggle)
patsy 1.0.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,448 kB
  • sloc: python: 9,536; javascript: 204; makefile: 110
file content (37 lines) | stat: -rw-r--r-- 1,286 bytes parent folder | download
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
[tox]
envlist = {py36,py37,py38,py39,py310,py311,py312,py313,py314}-{with_pandas,without_pandas}

[gh-actions]
python =
  3.6: py36
  3.7: py37
  3.8: py38
  3.9: py39
  3.10: py310
  3.11: py311
  3.12: py312
  3.13: py313
  3.14: py314

[testenv]
deps=
  .[test]
  with_pandas: pandas
# Display all warnings, and error out on any warnings attributed to
# code in the patsy namespace (but not ones triggered by pytest, etc.):
setenv=
  PYTHONWARNINGS=default
  PATSY_FORCE_NO_WARNINGS=1
  # Work around terrible pathological behaviour in OpenBLAS/MKL/VML multithreading, that causes
  # execution time to blow up from 3 minutes to 18 minutes, apparently in SVD on smallish matrices
  OMP_NUM_THREADS=1
  MKL_NUM_THREADS=1
  VML_NUM_THREADS=1
allowlist_externals=
  env
commands=
  pytest -vv --cov=patsy --cov-config={toxinidir}/.coveragerc --cov-report=term-missing --cov-report=xml --cov-report=html:{toxworkdir}/coverage/{envname} {posargs:}
  env PATSY_AVOID_OPTIONAL_DEPENDENCIES=1 pytest -vv --cov=patsy --cov-config={toxinidir}/.coveragerc --cov-report=term-missing --cov-report=xml --cov-report=html:{toxworkdir}/coverage/{envname} {posargs:}
  python {toxinidir}/tools/check-API-refs.py
  python -m pip uninstall pytest -y
  python -c "import patsy; print(patsy.__version__)"