requirements: Updated to pass 'safety' checks

* We do need to specify `wheel` version.
* We need to specify `webtest`, as at least one test uses it.
* Bumped the version of some modules as per `safety` report.
This commit is contained in:
Athanasius 2022-11-14 11:51:05 +00:00
parent ff05f1978a
commit 59d5e2676a
No known key found for this signature in database
GPG Key ID: 8C392035DD80FD62
3 changed files with 7 additions and 5 deletions

View File

@ -73,9 +73,11 @@ repos:
rev: 'v1.2.4'
hooks:
- id: python-safety-dependencies-check
name: safety
entry: safety
args: [check, --bare, -r]
args: [check, --bare, --file ]
language: system
files: requirements-dev.txt
default_language_version:
python: python3.9

View File

@ -1,6 +1,6 @@
# So that you don't get warnings like:
# Using legacy 'setup.py install' for flake8-annotations-coverage, since package 'wheel' is not installed.
wheel
wheel==0.38.0
# Code formatting
black==22.1.0
@ -16,7 +16,7 @@ flake8-noqa==1.2.0
flake8-use-fstring==1.3
mypy==0.910
pep8-naming==0.12.1
safety==1.10.3
safety==2.2.0
types-pkg_resources==0.1.3
types-requests==2.25.11
types-simplejson==3.17.1
@ -27,6 +27,7 @@ autopep8==1.6.0
# Testing
pytest-cov==3.0.0 # Pytest code coverage support
# coverage[toml]==6.1.1 # pytest-cov dep. This is here to ensure that it includes TOML support for pyproject.toml configs
webtest==3.0.0
# All of the normal requirements
-r requirements.txt

View File

@ -1,7 +1,6 @@
# Versions known to work under Python 3.9.2 on Debian bullseye
# Fri 18 Mar 12:01:52 GMT 2022
argparse # Just take the 'system' version
bottle==0.12.19
bottle==0.12.20
enum34==1.1.10
gevent==21.12.0
jsonschema==4.4.0