Skip to content

Commit

Permalink
Remove unused packages: jinja2, deprecated (#969)
Browse files Browse the repository at this point in the history
### Feature or Bugfix
- Bugfix

### Detail
- Remove unused jinja2 ---> it was used in an old version of data
pipelines
- Remove unused deprecated --> it was used during development of v2

### Relates

### Security
Please answer the questions below briefly where applicable, or write
`N/A`. Based on
[OWASP 10](https://owasp.org/Top10/en/).

- Does this PR introduce or modify any input fields or queries - this
includes
fetching data from storage outside the application (e.g. a database, an
S3 bucket)?
  - Is the input sanitized?
- What precautions are you taking before deserializing the data you
consume?
  - Is injection prevented by parametrizing queries?
  - Have you ensured no `eval` or similar functions are used?
- Does this PR introduce any functionality or component that requires
authorization?
- How have you ensured it respects the existing AuthN/AuthZ mechanisms?
  - Are you logging failed auth attempts?
- Are you using or adding any cryptographic features?
  - Do you use a standard proven implementations?
  - Are the used keys controlled by the customer? Where are they stored?
- Are you introducing any new policies/roles/users?
  - Have you used the least-privilege principle? How?


By submitting this pull request, I confirm that my contribution is made
under the terms of the Apache 2.0 license.

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
dlpzx and dependabot[bot] authored Jan 12, 2024
1 parent d673bd4 commit d6cac34
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 deletions.
4 changes: 1 addition & 3 deletions backend/dataall/base/cdkproxy/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,7 @@ PyYAML==6.0
requests==2.31.0
tabulate==0.8.9
uvicorn==0.15.0
jinja2==3.1.2
werkzeug==3.0.1
constructs>=10.0.0,<11.0.0
git-remote-codecommit==1.16
aws-ddk-core==1.3.0
deprecated==1.2.13
aws-ddk-core==1.3.0
3 changes: 1 addition & 2 deletions backend/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,4 @@ PyYAML==6.0
requests==2.31.0
requests_aws4auth==1.1.1
sqlalchemy==1.3.24
starlette==0.27.0
deprecated==1.2.13
starlette==0.27.0
3 changes: 1 addition & 2 deletions tests/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,4 @@ pytest==7.3.1
pytest-cov==3.0.0
pytest-mock==3.6.1
pytest-dependency==0.5.1
werkzeug==3.0.1
deprecated==1.2.13
werkzeug==3.0.1

0 comments on commit d6cac34

Please sign in to comment.