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/22 17:41:50 UTC

(superset) 11/14: fix: unlock and bump werkzeug (#27164)

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 7b589878b73fb84a0563445a88bf1dda378517aa
Author: Daniel Vaz Gaspar <da...@gmail.com>
AuthorDate: Tue Feb 20 10:42:32 2024 +0000

    fix: unlock and bump werkzeug (#27164)
---
 requirements/base.txt                             | 22 ++++++----------------
 requirements/development.txt                      |  2 --
 requirements/integration.txt                      |  6 ------
 requirements/testing.txt                          |  4 ++--
 setup.py                                          |  1 -
 tests/integration_tests/async_events/api_tests.py |  4 +---
 tests/integration_tests/charts/data/api_tests.py  |  2 +-
 7 files changed, 10 insertions(+), 31 deletions(-)

diff --git a/requirements/base.txt b/requirements/base.txt
index c6c2c086da..edf8e5f931 100644
--- a/requirements/base.txt
+++ b/requirements/base.txt
@@ -88,8 +88,6 @@ dnspython==2.1.0
     # via email-validator
 email-validator==1.1.3
     # via flask-appbuilder
-exceptiongroup==1.2.0
-    # via cattrs
 flask==2.2.5
     # via
     #   apache-superset
@@ -116,7 +114,7 @@ flask-jwt-extended==4.3.1
     # via flask-appbuilder
 flask-limiter==3.3.1
     # via flask-appbuilder
-flask-login==0.6.0
+flask-login==0.6.3
     # via
     #   apache-superset
     #   flask-appbuilder
@@ -130,7 +128,7 @@ flask-sqlalchemy==2.5.1
     #   flask-migrate
 flask-talisman==1.0.0
     # via apache-superset
-flask-wtf==1.1.1
+flask-wtf==1.2.1
     # via
     #   apache-superset
     #   flask-appbuilder
@@ -140,7 +138,7 @@ geographiclib==1.52
     # via geopy
 geopy==2.2.0
     # via apache-superset
-greenlet==2.0.2
+greenlet==3.0.3
     # via shillelagh
 gunicorn==21.2.0
     # via apache-superset
@@ -155,10 +153,7 @@ idna==3.2
     #   email-validator
     #   requests
 importlib-metadata==6.6.0
-    # via
-    #   apache-superset
-    #   flask
-    #   shillelagh
+    # via apache-superset
 importlib-resources==5.12.0
     # via limits
 isodate==0.6.0
@@ -340,9 +335,7 @@ tabulate==0.8.9
 typing-extensions==4.4.0
     # via
     #   apache-superset
-    #   cattrs
     #   flask-limiter
-    #   kombu
     #   limits
     #   shillelagh
 tzdata==2023.3
@@ -361,9 +354,8 @@ vine==5.0.0
     #   kombu
 wcwidth==0.2.5
     # via prompt-toolkit
-werkzeug==2.3.3
+werkzeug==3.0.1
     # via
-    #   apache-superset
     #   flask
     #   flask-appbuilder
     #   flask-jwt-extended
@@ -381,9 +373,7 @@ wtforms-json==0.3.5
 xlsxwriter==3.0.7
     # via apache-superset
 zipp==3.15.0
-    # via
-    #   importlib-metadata
-    #   importlib-resources
+    # via importlib-metadata
 
 # The following packages are considered to be unsafe in a requirements file:
 # setuptools
diff --git a/requirements/development.txt b/requirements/development.txt
index ca80cd60ed..3831ae01f6 100644
--- a/requirements/development.txt
+++ b/requirements/development.txt
@@ -121,8 +121,6 @@ thrift==0.16.0
     #   thrift-sasl
 thrift-sasl==0.4.3
     # via pyhive
-tomli==2.0.1
-    # via pylint
 tomlkit==0.11.8
     # via pylint
 traitlets==5.9.0
diff --git a/requirements/integration.txt b/requirements/integration.txt
index 0defdfc659..cc533bfebc 100644
--- a/requirements/integration.txt
+++ b/requirements/integration.txt
@@ -52,12 +52,6 @@ pyproject-hooks==1.0.0
     # via build
 pyyaml==6.0.1
     # via pre-commit
-tomli==2.0.1
-    # via
-    #   build
-    #   pip-tools
-    #   pyproject-api
-    #   tox
 toposort==1.10
     # via pip-compile-multi
 tox==4.6.4
diff --git a/requirements/testing.txt b/requirements/testing.txt
index e7095b7f72..61082c4003 100644
--- a/requirements/testing.txt
+++ b/requirements/testing.txt
@@ -95,7 +95,7 @@ parameterized==0.9.0
     # via -r requirements/testing.in
 pathable==0.4.3
     # via jsonschema-spec
-playwright==1.37.0
+playwright==1.41.2
     # via apache-superset
 prophet==1.1.5
     # via apache-superset
@@ -113,7 +113,7 @@ protobuf==4.23.0
     #   proto-plus
 pydata-google-auth==1.7.0
     # via pandas-gbq
-pyee==9.0.4
+pyee==11.0.1
     # via playwright
 pyfakefs==5.2.2
     # via -r requirements/testing.in
diff --git a/setup.py b/setup.py
index 25c547f246..9f0f34e683 100644
--- a/setup.py
+++ b/setup.py
@@ -131,7 +131,6 @@ setup(
         "tabulate>=0.8.9, <0.9",
         "typing-extensions>=4, <5",
         "waitress; sys_platform == 'win32'",
-        "werkzeug>=2.3.3, <3",
         "wtforms>=2.3.3, <4",
         "wtforms-json",
         "xlsxwriter>=3.0.7, <3.1",
diff --git a/tests/integration_tests/async_events/api_tests.py b/tests/integration_tests/async_events/api_tests.py
index 5c12b29af4..4c2f16a7d3 100644
--- a/tests/integration_tests/async_events/api_tests.py
+++ b/tests/integration_tests/async_events/api_tests.py
@@ -117,8 +117,6 @@ class TestAsyncEventApi(SupersetTestCase):
 
     def test_events_no_token(self):
         self.login(username="admin")
-        self.client.set_cookie(
-            "localhost", app.config["GLOBAL_ASYNC_QUERIES_JWT_COOKIE_NAME"], ""
-        )
+        self.client.set_cookie(app.config["GLOBAL_ASYNC_QUERIES_JWT_COOKIE_NAME"], "")
         rv = self.fetch_events()
         assert rv.status_code == 401
diff --git a/tests/integration_tests/charts/data/api_tests.py b/tests/integration_tests/charts/data/api_tests.py
index 4def03ff4e..fc32501a4e 100644
--- a/tests/integration_tests/charts/data/api_tests.py
+++ b/tests/integration_tests/charts/data/api_tests.py
@@ -688,7 +688,7 @@ class TestPostChartDataApi(BaseTestChartDataApi):
         app._got_first_request = False
         async_query_manager_factory.init_app(app)
         test_client.set_cookie(
-            "localhost", app.config["GLOBAL_ASYNC_QUERIES_JWT_COOKIE_NAME"], "foo"
+            app.config["GLOBAL_ASYNC_QUERIES_JWT_COOKIE_NAME"], "foo"
         )
         rv = test_client.post(CHART_DATA_URI, json=self.query_context_payload)
         self.assertEqual(rv.status_code, 401)