From cfa1c5d45eae8cb2376cae45efb31497710f6094 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 31 Aug 2026 16:49:00 +0000 Subject: [PATCH 1/4] Bump the pip-dependencies group across 1 directory with 12 updates Updates the requirements on [redis](https://github.com/redis/redis-py), [kombu](https://github.com/celery/kombu), [celery](https://github.com/celery/celery), [black](https://github.com/psf/black), [flake8](https://github.com/pycqa/flake8), [flask-talisman](https://github.com/wntrblm/flask-talisman), [mimesis](https://github.com/lk-geimfari/mimesis), [mock](https://github.com/testing-cabal/mock), [numpy](https://github.com/numpy/numpy), [pylint](https://github.com/pylint-dev/pylint), [pyright](https://github.com/RobertCraigie/pyright-python) and [selenium](https://github.com/SeleniumHQ/Selenium) to permit the latest version. Updates `redis` to 8.1.0 - [Release notes](https://github.com/redis/redis-py/releases) - [Changelog](https://github.com/redis/redis-py/blob/master/CHANGES) - [Commits](https://github.com/redis/redis-py/compare/3.5.3...v8.1.0) Updates `kombu` to 5.6.2 - [Release notes](https://github.com/celery/kombu/releases) - [Changelog](https://github.com/celery/kombu/blob/main/Changelog.rst) - [Commits](https://github.com/celery/kombu/compare/v0.1.0...v5.6.2) Updates `celery` to 5.6.3 - [Release notes](https://github.com/celery/celery/releases) - [Changelog](https://github.com/celery/celery/blob/v5.6.3/Changelog.rst) - [Commits](https://github.com/celery/celery/compare/v5.1.2...v5.6.3) Updates `black` from 22.3.0 to 26.5.1 - [Release notes](https://github.com/psf/black/releases) - [Changelog](https://github.com/psf/black/blob/main/CHANGES.md) - [Commits](https://github.com/psf/black/compare/22.3.0...26.5.1) Updates `flake8` from 7.0.0 to 7.3.0 - [Commits](https://github.com/pycqa/flake8/compare/7.0.0...7.3.0) Updates `flask-talisman` from 1.0.0 to 1.1.0 - [Release notes](https://github.com/wntrblm/flask-talisman/releases) - [Commits](https://github.com/wntrblm/flask-talisman/compare/v1.0.0...v1.1.0) Updates `mimesis` to 21.0.0 - [Release notes](https://github.com/lk-geimfari/mimesis/releases) - [Changelog](https://github.com/lk-geimfari/mimesis/blob/master/CHANGELOG.rst) - [Commits](https://github.com/lk-geimfari/mimesis/compare/0.0.4b...v21.0.0) Updates `mock` from 4.0.3 to 5.2.0 - [Changelog](https://github.com/testing-cabal/mock/blob/master/CHANGELOG.rst) - [Commits](https://github.com/testing-cabal/mock/compare/4.0.3...5.2.0) Updates `numpy` to 2.2.6 - [Release notes](https://github.com/numpy/numpy/releases) - [Changelog](https://github.com/numpy/numpy/blob/main/doc/RELEASE_WALKTHROUGH.rst) - [Commits](https://github.com/numpy/numpy/compare/v0.2.0...v2.2.6) Updates `pylint` from 3.0.3 to 4.0.7 - [Release notes](https://github.com/pylint-dev/pylint/releases) - [Commits](https://github.com/pylint-dev/pylint/compare/v3.0.3...v4.0.7) Updates `pyright` from 1.1.398 to 1.1.411 - [Release notes](https://github.com/RobertCraigie/pyright-python/releases) - [Commits](https://github.com/RobertCraigie/pyright-python/compare/v1.1.398...v1.1.411) Updates `selenium` to 4.47.0 - [Release notes](https://github.com/SeleniumHQ/Selenium/releases) - [Commits](https://github.com/SeleniumHQ/Selenium/compare/selenium-4.11.0...selenium-4.47.0) --- updated-dependencies: - dependency-name: redis dependency-version: 8.1.0 dependency-type: direct:production dependency-group: pip-dependencies - dependency-name: kombu dependency-version: 5.6.2 dependency-type: direct:production dependency-group: pip-dependencies - dependency-name: celery dependency-version: 5.6.3 dependency-type: direct:production dependency-group: pip-dependencies - dependency-name: black dependency-version: 26.5.1 dependency-type: direct:production update-type: version-update:semver-major dependency-group: pip-dependencies - dependency-name: flake8 dependency-version: 7.3.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: pip-dependencies - dependency-name: flask-talisman dependency-version: 1.1.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: pip-dependencies - dependency-name: mimesis dependency-version: 21.0.0 dependency-type: direct:production dependency-group: pip-dependencies - dependency-name: mock dependency-version: 5.2.0 dependency-type: direct:production update-type: version-update:semver-major dependency-group: pip-dependencies - dependency-name: numpy dependency-version: 2.2.6 dependency-type: direct:production dependency-group: pip-dependencies - dependency-name: pylint dependency-version: 4.0.7 dependency-type: direct:production update-type: version-update:semver-major dependency-group: pip-dependencies - dependency-name: pyright dependency-version: 1.1.411 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: pip-dependencies - dependency-name: selenium dependency-version: 4.47.0 dependency-type: direct:production dependency-group: pip-dependencies ... Signed-off-by: dependabot[bot] --- requirements/celery.txt | 6 +++--- requirements/ci.txt | 16 ++++++++-------- requirements/testing.txt | 2 +- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/requirements/celery.txt b/requirements/celery.txt index cd97a92bad..5c0980067d 100644 --- a/requirements/celery.txt +++ b/requirements/celery.txt @@ -1,4 +1,4 @@ # Dependencies used by the CeleryLongCallbackManager -redis>=3.5.3,<=5.0.4 -kombu<5.4.0 -celery[redis]>=5.1.2,<5.4.0 +redis>=3.5.3,<=8.1.0 +kombu<5.7.0 +celery[redis]>=5.1.2,<5.7.0 diff --git a/requirements/ci.txt b/requirements/ci.txt index be523339fc..bcd530dfbe 100644 --- a/requirements/ci.txt +++ b/requirements/ci.txt @@ -1,17 +1,17 @@ # Dependencies used by CI on github.com/plotly/dash -black==22.3.0 -flake8==7.0.0 +black==26.5.1 +flake8==7.3.0 flaky==3.8.1 -flask-talisman==1.0.0 +flask-talisman==1.1.0 ipython<9.0.0 -mimesis<=11.1.0 -mock==4.0.3 -numpy<=1.26.3 +mimesis<=21.0.0 +mock==5.2.0 +numpy<=2.2.6 orjson>=3.10.11 openpyxl pandas>=1.4.0 pyarrow -pylint==3.0.3 +pylint==4.0.7 pytest-mock pytest-split pytest-sugar==1.1.1 @@ -20,5 +20,5 @@ xlrd>=2.0.1 pytest-rerunfailures pytest-timeout jupyterlab<4.0.0 -pyright==1.1.398;python_version>="3.7" +pyright==1.1.411;python_version>="3.7" mypy==1.15.0;python_version>="3.12" diff --git a/requirements/testing.txt b/requirements/testing.txt index 37fd92ceec..c4ad6bf401 100644 --- a/requirements/testing.txt +++ b/requirements/testing.txt @@ -5,7 +5,7 @@ lxml>=4.6.2 percy-python-selenium>=1.0.0 pytest>=6.0.2 requests[security]>=2.21.0 -selenium>=4.11.0,<=4.46.0 +selenium>=4.11.0,<=4.47.0 waitress>=1.4.4 multiprocess>=0.70.12 psutil>=5.8.0 From 8bb72af8f3566c9bc4e16bec5f2cb4fa5ac7e875 Mon Sep 17 00:00:00 2001 From: philippe Date: Mon, 31 Aug 2026 18:18:07 -0400 Subject: [PATCH 2/4] Pin black and pylint to last Python 3.9-compatible versions black 26.x and pylint 4.x require Python >=3.10, but Dash still supports 3.9. Downgrade to black==25.11.0 and pylint==3.3.7. --- requirements/ci.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/requirements/ci.txt b/requirements/ci.txt index bcd530dfbe..8192b7cd90 100644 --- a/requirements/ci.txt +++ b/requirements/ci.txt @@ -1,5 +1,5 @@ # Dependencies used by CI on github.com/plotly/dash -black==26.5.1 +black==25.11.0 flake8==7.3.0 flaky==3.8.1 flask-talisman==1.1.0 @@ -11,7 +11,7 @@ orjson>=3.10.11 openpyxl pandas>=1.4.0 pyarrow -pylint==4.0.7 +pylint==3.3.7 pytest-mock pytest-split pytest-sugar==1.1.1 From f4d47ac810fc77454e72bcb1ba35bc981e69b76d Mon Sep 17 00:00:00 2001 From: philippe Date: Mon, 31 Aug 2026 18:50:17 -0400 Subject: [PATCH 3/4] Revert black and pylint to dev versions black 25.x reformats existing code and pylint 3.3.x introduces new rules (R0917, R1737, E0606) the codebase doesn't comply with. Keep these at their dev-branch pins so the rest of the dependency bumps can land without code changes. --- requirements/ci.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/requirements/ci.txt b/requirements/ci.txt index 8192b7cd90..f2919da534 100644 --- a/requirements/ci.txt +++ b/requirements/ci.txt @@ -1,5 +1,5 @@ # Dependencies used by CI on github.com/plotly/dash -black==25.11.0 +black==22.3.0 flake8==7.3.0 flaky==3.8.1 flask-talisman==1.1.0 @@ -11,7 +11,7 @@ orjson>=3.10.11 openpyxl pandas>=1.4.0 pyarrow -pylint==3.3.7 +pylint==3.0.3 pytest-mock pytest-split pytest-sugar==1.1.1 From fb9a6da6528462c6e28a4bb596c7064754e08cb6 Mon Sep 17 00:00:00 2001 From: philippe Date: Tue, 1 Sep 2026 10:42:11 -0400 Subject: [PATCH 4/4] Remove unused global statements flagged by flake8 F824 The global keyword is only needed for assignment, not reads. These two declarations in test_cbwc005 only read the module-level vars, so the global statements were unnecessary. --- tests/integration/callbacks/test_wildcards.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/tests/integration/callbacks/test_wildcards.py b/tests/integration/callbacks/test_wildcards.py index 66d4502e04..704a4f418f 100644 --- a/tests/integration/callbacks/test_wildcards.py +++ b/tests/integration/callbacks/test_wildcards.py @@ -375,9 +375,6 @@ def update_output_on_page_pattern(value): def test_cbwc005_callbacks_count(dash_duo): - global fibonacci_count - global fibonacci_sum_count - app = fibonacci_app(False) dash_duo.start_server(app)