You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by mi...@apache.org on 2024/02/29 19:18:06 UTC
(superset) 01/01: chore: bump cryptography minimum to 42.0.4 (#27281)
This is an automated email from the ASF dual-hosted git repository.
michaelsmolina pushed a commit to branch 3.1
in repository https://gitbox.apache.org/repos/asf/superset.git
commit 039afe8c9913271d22fbf2c39ec7c1fb61df5355
Author: Joe Li <jo...@preset.io>
AuthorDate: Thu Feb 29 10:28:57 2024 -0800
chore: bump cryptography minimum to 42.0.4 (#27281)
(cherry picked from commit 371f2ab851eee46cd4ab3c5428c8061430a288ad)
---
requirements/base.txt | 2 +-
setup.py | 3 +--
superset-frontend/src/SqlLab/components/SqlEditor/SqlEditor.test.tsx | 2 +-
3 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/requirements/base.txt b/requirements/base.txt
index 09b81ec61a..2df0f87695 100644
--- a/requirements/base.txt
+++ b/requirements/base.txt
@@ -76,7 +76,7 @@ cron-descriptor==1.2.24
# via apache-superset
croniter==1.0.15
# via apache-superset
-cryptography==42.0.2
+cryptography==42.0.4
# via
# apache-superset
# paramiko
diff --git a/setup.py b/setup.py
index cb6be9ec12..7050d7b497 100644
--- a/setup.py
+++ b/setup.py
@@ -80,8 +80,7 @@ setup(
"colorama",
"croniter>=0.3.28",
"cron-descriptor",
- # snowflake-connector-python as of 3.7.0 doesn't support >=42.* therefore lowering the min to 41.0.2
- "cryptography>=41.0.2, <43.0.0",
+ "cryptography>=42.0.4, <43.0.0",
"deprecation>=2.1.0, <2.2.0",
"flask>=2.2.5, <3.0.0",
"flask-appbuilder>=4.4.1, <5.0.0",
diff --git a/superset-frontend/src/SqlLab/components/SqlEditor/SqlEditor.test.tsx b/superset-frontend/src/SqlLab/components/SqlEditor/SqlEditor.test.tsx
index d491330443..152a306ecf 100644
--- a/superset-frontend/src/SqlLab/components/SqlEditor/SqlEditor.test.tsx
+++ b/superset-frontend/src/SqlLab/components/SqlEditor/SqlEditor.test.tsx
@@ -303,7 +303,7 @@ describe('SqlEditor', () => {
.spyOn(uiCore, 'isFeatureEnabled')
.mockImplementation(
featureFlag =>
- featureFlag === uiCore.FeatureFlag.SqllabBackendPersistence,
+ featureFlag === uiCore.FeatureFlag.SQLLAB_BACKEND_PERSISTENCE,
);
});
afterEach(() => {