Closed tmpayton closed 1 year ago
This ticket fixes the snyk vulnerbilities in requirements-parsing.txt and upgrades django in requirements.txt.
packages upgraded:
General components of the application that this PR will affect:
Before:
requirements.txt:
requirements-parsing.txt:
After:
Related PRs against other branches:
reg-core PR reg-parser PR reg-site PR
-e git+https://github.com/fecgov/regulations-parser.git@update-requirements-parsing#egg=regparser
-e git+https://github.com/fecgov/regulations-site@update-requirements-parsing#egg=regulations
-e git+https://github.com/fecgov/regulations-core@update-requirements-parsing#egg=regcore
Terminal One:
pyenv virtualenv (your virtual environment)
pip install -r requirements.txt
snyk test --file=requirements.txt --package-manager=pip
rm -rf node_modules
npm i
npm run build
dropdb eregs_local
createdb eregs_local
python manage.py migrate
python manage.py compile_frontend
python manage.py runserver
Terminal Two:
pip install -r requirements-parsing.txt
snyk test --file=requirements-parsing.txt --package-manager=pip
python load_regs/load_fec_regs.py local
For more detailed instructions follow the wiki on how to setup/parse regulations on local environment
This will not pass circle build until other PRs are merged first.
Summary (required)
This ticket fixes the snyk vulnerbilities in requirements-parsing.txt and upgrades django in requirements.txt.
packages upgraded:
Required reviewers 2 developers
Impacted areas of the application
General components of the application that this PR will affect:
Screenshots
Before:
requirements.txt:
requirements-parsing.txt:
After:
requirements.txt:
requirements-parsing.txt:
Related PRs
Related PRs against other branches:
reg-core PR reg-parser PR reg-site PR
How to test
-e git+https://github.com/fecgov/regulations-parser.git@update-requirements-parsing#egg=regparser
-e git+https://github.com/fecgov/regulations-site@update-requirements-parsing#egg=regulations
-e git+https://github.com/fecgov/regulations-core@update-requirements-parsing#egg=regcore
Terminal One:
pyenv virtualenv (your virtual environment)
pip install -r requirements.txt
snyk test --file=requirements.txt --package-manager=pip
rm -rf node_modules
npm i
npm run build
dropdb eregs_local
createdb eregs_local
python manage.py migrate
python manage.py compile_frontend
python manage.py runserver
Terminal Two:
pyenv virtualenv (your virtual environment)
pip install -r requirements-parsing.txt
snyk test --file=requirements-parsing.txt --package-manager=pip
python load_regs/load_fec_regs.py local
For more detailed instructions follow the wiki on how to setup/parse regulations on local environment
This will not pass circle build until other PRs are merged first.