Skip to content

Commit f7035e3

Browse files
committed
installation: upggrade pytest-invenio
1 parent 676cc4f commit f7035e3

File tree

3 files changed

+4
-12
lines changed

3 files changed

+4
-12
lines changed

pytest.ini

+1-2
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,4 @@
77
# under the terms of the MIT License; see LICENSE file for more details.
88

99
[pytest]
10-
addopts = --pep8 --ignore=docs --cov=invenio --cov-report=term-missing
11-
filterwarnings = ignore::pytest.PytestDeprecationWarning
10+
addopts = --isort --pydocstyle --pycodestyle --ignore=docs --cov=invenio --cov-report=term-missing

run-tests.sh

+1-3
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,7 @@
77
# Invenio is free software; you can redistribute it and/or modify it
88
# under the terms of the MIT License; see LICENSE file for more details.
99

10-
pydocstyle invenio && \
11-
isort invenio tests --check-only --diff && \
1210
check-manifest --ignore ".travis-*" && \
1311
sphinx-build -qnNW docs docs/_build/html && \
14-
python setup.py test && \
12+
pytest && \
1513
sphinx-build -qnNW -b doctest docs docs/_build/doctest

setup.py

+2-7
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
readme = open('README.rst').read()
1616

1717
tests_require = [
18-
'pytest-invenio>=1.3.2,<1.4.0',
18+
'pytest-invenio>=1.4.0,<1.5.0',
1919
]
2020

2121
db_version = '>=1.0.5,<1.1.0'
@@ -77,7 +77,7 @@
7777
],
7878
# Docs and test dependencies
7979
'docs': [
80-
'Sphinx>=1.5.1',
80+
'Sphinx>=3,<4',
8181
],
8282
'tests': tests_require,
8383
}
@@ -90,10 +90,6 @@
9090
extras_require['all'].extend(reqs)
9191

9292

93-
setup_requires = [
94-
'pytest-runner>=3.0.0,<5',
95-
]
96-
9793
install_requires = [
9894
'invenio-app>=1.3.0,<1.4.0',
9995
'invenio-base>=1.2.3,<1.3.0',
@@ -128,7 +124,6 @@
128124
entry_points={},
129125
extras_require=extras_require,
130126
install_requires=install_requires,
131-
setup_requires=setup_requires,
132127
tests_require=tests_require,
133128
classifiers=[
134129
'Environment :: Web Environment',

0 commit comments

Comments
 (0)