codeforboston / codeforboston/police-data-trust

Solve Deprecation Warnings

Open
#362 0 comments 0 reactions 0 assignees View on GitHub
backend bug
Dominant language
Python
Stars
64
Forks
102
PR merge metrics
No merged PRs in 30d

Description

**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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.