police-data-trust icon indicating copy to clipboard operation
police-data-trust copied to clipboard

Solve Deprecation Warnings

Open DMalone87 opened this issue 1 year ago • 0 comments

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:

  1. Spin up the application using docker (or locally on your machine).
  2. Connect to the API container. (docker exec -it "police-data-trust-api-1" /bin/bash)
  3. Run python -m pytest
  4. Review the warnings that are produced.

DMalone87 avatar Mar 15 '24 21:03 DMalone87