Skip to content

Commit 6209c86

Browse files
committed
Remove quotes from dependency versions
Single-quoted version numbers in requirements files causes the following error in recent packaging versions: pkg_resources.extern.packaging.requirements.InvalidRequirement: Expected end or semicolon (after name and no valid version specifier) pytest-cov>='2.12.0' Remove the quotes to avoid the error (and better comply with PEP 508?). Signed-off-by: Kevin Locke <[email protected]>
1 parent 7e6a562 commit 6209c86

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

requirements/dev.in

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Abstract top-level development dependencies (e.g. linters and other tools)
22
# Support for pyproject.toml added in 1.7.1
33
# https://github.com/PyCQA/bandit/pull/401
4-
bandit[toml] >= '1.7.1'
4+
bandit[toml] >= 1.7.1
55
black
66
blacken-docs
77
flake8
@@ -11,12 +11,12 @@ flake8-docstrings
1111
# Disabled pending
1212
# https://github.com/globality-corp/flake8-logging-format/pull/33
1313
#flake8-logging-format
14-
flake8-rst-docstrings >= '0.0.11'
14+
flake8-rst-docstrings >= 0.0.11
1515
isort
1616
mypy
1717
# Support for pyproject.toml added in 6.1.0
1818
# https://github.com/PyCQA/pydocstyle/pull/534
19-
pydocstyle >= '6.1.0'
19+
pydocstyle >= 6.1.0
2020
# Required for `setup.py check --restructuredtext --strict`. Otherwise:
2121
# warning: check: Cannot analyze code. Pygments package not found.
2222
pygments

requirements/test.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ coverage[toml]
33
pytest
44
# Support for pyproject.toml added in 2.12.0
55
# https://github.com/pytest-dev/pytest-cov/pull/410
6-
pytest-cov >= '2.12.0'
6+
pytest-cov >= 2.12.0

0 commit comments

Comments
 (0)