Skip to content

Commit e058a6d

Browse files
Fix Tox (#1143)
* tox new * update * update * update * update * update * update * update * update tox.ini * update * update * remove docs * empty retrigger
1 parent a909a00 commit e058a6d

3 files changed

Lines changed: 12 additions & 6 deletions

File tree

requirements-dev.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ black>=24.3.0
33
isort==5.12.0
44
pre-commit==2.19.0
55
tox==3.25.1
6+
tox-conda==0.10.2
67
types-setuptools==67.7.0.1
78
types-python-dateutil==2.8.19.12
89
types-requests==2.30.0.0

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ python-dateutil>=2.7.5
66
pytz>=2020.1
77
pyarrow>=1.0.1
88
chardet>=3.0.4
9-
fastavro>=1.0.0.post1
9+
fastavro>=1.1.0
1010
python-snappy>=0.5.4
1111
charset-normalizer>=1.3.6
1212
psutil>=4.0.0

tox.ini

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tox]
2-
envlist = py37, py38, py39, py310, docs, pypi-description, manifest, precom
2+
envlist = py38, py39, py310, pypi-description, manifest, precom
33

44

55
[testenv]
@@ -18,30 +18,35 @@ deps =
1818
commands =
1919
python3 -m pytest dataprofiler/tests/ --cov=dataprofiler --cov-fail-under=80 --cov-report=xml:dist/coverage.xml --forked
2020

21+
# add "docs" to `envlist` to run the docs build
2122
#[testenv:docs]
2223
#extras = docs
2324
#changedir = docs
2425
#commands = sphinx-build -b html source _build
2526

2627
[testenv:pypi-description]
27-
skip_install = true
2828
deps =
29+
{[testenv]deps}
2930
twine
3031
wheel
31-
pip >= 19.0.0
32+
skip_install = true
3233
commands =
3334
python setup.py sdist bdist_wheel
3435
twine check dist/*
3536

3637
[testenv:manifest]
37-
deps = check-manifest
38+
deps =
39+
{[testenv]deps}
40+
check-manifest
3841
skip_install = true
3942
commands = check-manifest
4043

4144
# skip isort for infinite loop issues between tox and top level settings
4245
[testenv:precom]
4346
skip_install = true
44-
deps = pre-commit
47+
deps =
48+
{[testenv]deps}
49+
pre-commit
4550
commands =
4651
pre-commit run black --all-files --verbose
4752
# if you use the walrus operator on Python 3.8 disable the flake8 check

0 commit comments

Comments
 (0)