police-data-trust
police-data-trust copied to clipboard
Solve Deprecation Warnings
Describe the Issue We have a number of deprecation warnings showing up for python package that have passed their prime. We'll need to tackle these and move to processes that are still supported.
- passlib.context.CryptContext.encrypt()
- werkzeug.urls.url_parse
- werkzeug.urls.URL
- CovPlugin.pytest_configure_node (uses old-style configuration)
- CovPlugin.pytest_testnodedown (uses old-style configuration)
To Reproduce Steps to reproduce the behavior:
- Spin up the application using docker (or locally on your machine).
- Connect to the API container. (
docker exec -it "police-data-trust-api-1" /bin/bash) - Run
python -m pytest - Review the warnings that are produced.