Skip to content

Commit

Permalink
BB2-3161: Update Cryptography Dependency (#1185)
Browse files Browse the repository at this point in the history
* Updated pinned versions and hashes to fix SNYK cryptography alert

* Pinned minimal packages

* Re-add trusted-host declarations (SSL fix, test to remove in the future)

* Typo

* make req-compile req-download to get vendor packages installed and dev requirements pip-compiled.

* Removed old cryptography vendor file.

* Updated pinned crypto version in Jenkinsfile

* Specify setuptools for Jenkins issue.

* Unpinned setuptools, localized to vendor for jenkins

* Explicit wheel in vendor files

* Added explicit Cython package

* Removed backports wheel, since dependency is dropped

* Resolve backports.zoneinfo issue

* importlib-resources in requirements.txt files

* Explicit add for pkgutil

* Unpin additional requirements declarations

* Update dockerfile pins

---------

Co-authored-by: Logan Bertram <[email protected]>
  • Loading branch information
loganbertram and Logan Bertram committed Apr 10, 2024
1 parent f906dd0 commit aefec0e
Show file tree
Hide file tree
Showing 20 changed files with 198 additions and 313 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ RUN pip install --upgrade pip-tools
RUN pip install --upgrade setuptools --trusted-host pypi.python.org --trusted-host=files.pythonhosted.org
RUN pip install backports.zoneinfo
RUN pip install charset-normalizer==3.1.0
RUN pip install cryptography==41.0.7
RUN pip install cryptography==42.0.4
RUN pip install debugpy==1.6.7 --trusted-host pypi.python.org --trusted-host=files.pythonhosted.org
RUN pip install newrelic==8.8.0
RUN pip install pillow==10.2.0
RUN pip install pyyaml==6.0
RUN pip install pyyaml==6.0.1
RUN pip install wrapt==1.15.0
RUN pip install -r requirements/requirements.dev.txt --no-index --find-links ./vendor/
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ pipeline {
python -m venv venv
. venv/bin/activate
pip install selenium pytest Flask Flask-WTF
pip install cryptography==39.0.1
pip install cryptography==42.0.4
make reqs-install-dev
"""
}
Expand Down
251 changes: 96 additions & 155 deletions requirements/requirements.dev.txt

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions requirements/requirements.in
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,13 @@ django-filter
django-axes

# support
backports.zoneinfo
django-waffle
django-storages
python-dotenv
jsonschema
importlib-resources
pkgutil-resolve-name
requests
urllib3
requests_oauthlib
Expand Down
251 changes: 96 additions & 155 deletions requirements/requirements.txt

Large diffs are not rendered by default.

Binary file added vendor/Cython-0.29.37-py2.py3-none-any.whl
Binary file not shown.
Binary file added vendor/PyYAML-6.0.1.tar.gz
Binary file not shown.
Binary file not shown.
Binary file added vendor/backports.zoneinfo-0.2.1.tar.gz
Binary file not shown.
Binary file added vendor/charset_normalizer-3.1.0-py3-none-any.whl
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added vendor/debugpy-1.6.7-py2.py3-none-any.whl
Binary file not shown.
Binary file added vendor/django_ses-3.5.0-py3-none-any.whl
Binary file not shown.
Binary file added vendor/jwcrypto-1.5.6-py3-none-any.whl
Binary file not shown.
Binary file added vendor/newrelic-8.8.0.tar.gz
Binary file not shown.
Binary file added vendor/pillow-10.2.0.tar.gz
Binary file not shown.
Binary file added vendor/setuptools-69.2.0-py3-none-any.whl
Binary file not shown.
Binary file added vendor/wheel-0.43.0-py3-none-any.whl
Binary file not shown.
Binary file added vendor/wrapt-1.15.0-py3-none-any.whl
Binary file not shown.

0 comments on commit aefec0e

Please sign in to comment.