Skip to content

Commit

Permalink
Merge pull request #12983 from RasaHQ/ATO-1959-patch-security-vulnera…
Browse files Browse the repository at this point in the history
…bility-3.6.x

[ATO-1959] Fix Improper Certificate Validation 3.6.X
  • Loading branch information
Tawakalt authored Jan 2, 2024
2 parents ff52994 + 559aa39 commit b1199ca
Show file tree
Hide file tree
Showing 5 changed files with 34 additions and 26 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/continous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -287,6 +287,12 @@ jobs:
run: |
poetry self add setuptools
- name: Prevent race condition in poetry build
# More context about race condition during poetry build can be found here:
# https://github.com/python-poetry/poetry/issues/7611#issuecomment-1747836233
run: |
poetry config installer.max-workers 1
- name: Load Poetry Cached Libraries ⬇
id: cache-poetry
if: needs.changes.outputs.backend == 'true'
Expand Down
1 change: 1 addition & 0 deletions changelog/12983.bugfix.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Upgrade Cryptography to fix improper certificate validation.
1 change: 1 addition & 0 deletions changelog/712.misc.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Prevent race condition in poetry build to fix dependency install failures on windows.
50 changes: 25 additions & 25 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ structlog-sentry = "^2.0.2"
dnspython = "2.3.0"
wheel = ">=0.38.1"
certifi = ">=2023.7.22"
cryptography = ">=41.0.2"
cryptography = ">=41.0.7"
[[tool.poetry.dependencies.tensorflow-io-gcs-filesystem]]
version = "==0.31"
markers = "sys_platform == 'win32'"
Expand Down

0 comments on commit b1199ca

Please sign in to comment.