Skip to content

Commit

Permalink
[Snyk] Fix for 6 vulnerabilities + Dependency Management Fixes (#1195)
Browse files Browse the repository at this point in the history
* fix: requirements/requirements.dev.txt to reduce vulnerabilities


The following vulnerabilities are fixed by pinning transitive dependencies:
- https://snyk.io/vuln/SNYK-PYTHON-CRYPTOGRAPHY-6592767
- https://snyk.io/vuln/SNYK-PYTHON-DJANGO-6230369
- https://snyk.io/vuln/SNYK-PYTHON-DJANGO-6370660
- https://snyk.io/vuln/SNYK-PYTHON-IDNA-6597975
- https://snyk.io/vuln/SNYK-PYTHON-PILLOW-6514866
- https://snyk.io/vuln/SNYK-PYTHON-SQLPARSE-6615674

* fix snyk issues

* Match Dev and Prod

* Django 4.2.11

* Fix hard coded deps

* fix jenkinsfile make install

* fix flake8

* revert to previous requirements.txt

* try simple update process

---------

Co-authored-by: snyk-bot <[email protected]>
Co-authored-by: jimmyfagan <[email protected]>
  • Loading branch information
3 people committed May 9, 2024
1 parent b198516 commit f2feaaf
Show file tree
Hide file tree
Showing 6 changed files with 332 additions and 151 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -93,3 +93,5 @@ docker-compose/certstore/
# dev tools dir for placing scripts you don't want checked in
dev-tools/

#dont upload packages
vendor/
3 changes: 1 addition & 2 deletions Jenkinsfiles/Jenkinsfile.cbc-run-multi-pr-checks-w-selenium
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,7 @@ pipeline {
sh """
python -m venv venv
. venv/bin/activate
pip install selenium pytest Flask Flask-WTF
pip install cryptography==42.0.4
make reqs-download
make reqs-install-dev
"""
}
Expand Down
6 changes: 5 additions & 1 deletion requirements/requirements.dev.in
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,13 @@
# test and development
# coverage
# python-coveralls
flake8
flake8 == 6.0.*
django-debug-toolbar
httmock
beautifulsoup4
debugpy
selenium
pytest
Flask
Flask-WTF

Loading

0 comments on commit f2feaaf

Please sign in to comment.