This repository has been archived by the owner on May 22, 2024. It is now read-only.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary (required)
This ticket fixes the snyk vulnerbilities in requirements-parsing.txt and requirements.txt. The following packages are upgraded:
- django==3.2.20
- django==3.2.20
- cryptography==41.0.2
- pygments==2.15.1
Required reviewers 1 developers
Impacted areas of the application
General components of the application that this PR will affect:
Related PRs
How to test
regparser
-e git+https://github.com/fecgov/regulations-parser.git@773-upgrade-django-parser#egg=regparser
regsite
-e git+https://github.com/fecgov/regulations-site@773-upgrade-django-site#egg=regulations
regcore
-e git+https://github.com/fecgov/regulations-core@773-upgrade-django-core#egg=regcore
Terminal One:
3.
pyenv virtualenv (your virtual environment)
4.
pip install -r requirements.txt
5.
snyk test --file=requirements.txt --package-manager=pip
6.
rm -rf node_modules
7.
npm i
8.
npm run build
9.
dropdb eregs_local
10.
createdb eregs_local
11.
python manage.py migrate
12.
python manage.py compile_frontend
13.
python manage.py runserver
(leave running)Terminal Two:
14.
pyenv virtualenv (your virtual environment)
15.
pip install -r requirements-parsing.txt
16.
snyk test --file=requirements-parsing.txt --package-manager=pip
17.
python load_regs/load_fec_regs.py local
18. Go to http://127.0.0.1:8000/ to view 45 regulations
For more detailed instructions follow the wiki on how to setup/parse regulations on local environment
NOTE: Merge other repo PRs first