Skip to content

Commit

Permalink
Remove quotes from dependency versions
Browse files Browse the repository at this point in the history
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 <kevin@kevinlocke.name>
  • Loading branch information
kevinoid committed Feb 9, 2023
1 parent 7e6a562 commit 6209c86
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions requirements/dev.in
@@ -1,7 +1,7 @@
# Abstract top-level development dependencies (e.g. linters and other tools)
# Support for pyproject.toml added in 1.7.1
# https://github.com/PyCQA/bandit/pull/401
bandit[toml] >= '1.7.1'
bandit[toml] >= 1.7.1
black
blacken-docs
flake8
Expand All @@ -11,12 +11,12 @@ flake8-docstrings
# Disabled pending
# https://github.com/globality-corp/flake8-logging-format/pull/33
#flake8-logging-format
flake8-rst-docstrings >= '0.0.11'
flake8-rst-docstrings >= 0.0.11
isort
mypy
# Support for pyproject.toml added in 6.1.0
# https://github.com/PyCQA/pydocstyle/pull/534
pydocstyle >= '6.1.0'
pydocstyle >= 6.1.0
# Required for `setup.py check --restructuredtext --strict`. Otherwise:
# warning: check: Cannot analyze code. Pygments package not found.
pygments
Expand Down
2 changes: 1 addition & 1 deletion requirements/test.in
Expand Up @@ -3,4 +3,4 @@ coverage[toml]
pytest
# Support for pyproject.toml added in 2.12.0
# https://github.com/pytest-dev/pytest-cov/pull/410
pytest-cov >= '2.12.0'
pytest-cov >= 2.12.0

0 comments on commit 6209c86

Please sign in to comment.