From 7131eafc32b0c505bdccea757fc6ae24a08858aa Mon Sep 17 00:00:00 2001 From: tcbegley Date: Thu, 2 Jan 2025 10:28:39 +0000 Subject: [PATCH 1/4] Update deprecated download / upload artifact action --- .github/workflows/tests.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index ee364e6f..d0e25cd1 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -40,7 +40,7 @@ jobs: - name: Build dash-bootstrap-components run: npm run build - name: Upload generated files - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: dash-bootstrap-components path: dash_bootstrap_components/_components @@ -76,7 +76,7 @@ jobs: - name: Lint Python source if: matrix.python-version == '3.12' run: nox -s lint - - uses: actions/download-artifact@v2 + - uses: actions/download-artifact@v4 with: name: dash-bootstrap-components path: dash_bootstrap_components/_components From c901531ba350766b9a535b444c2d402f24c772d7 Mon Sep 17 00:00:00 2001 From: tcbegley Date: Thu, 2 Jan 2025 10:32:31 +0000 Subject: [PATCH 2/4] Remove Python 3.8 --- .github/workflows/tests.yml | 2 +- noxfile.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index d0e25cd1..499e82dd 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -51,7 +51,7 @@ jobs: strategy: max-parallel: 6 matrix: - python-version: ['3.8', '3.9', '3.10', '3.11', '3.12'] + python-version: ['3.9', '3.10', '3.11', '3.12', '3.13'] services: hub: image: selenium/hub:3.141.59-gold diff --git a/noxfile.py b/noxfile.py index 97f84467..a718e405 100644 --- a/noxfile.py +++ b/noxfile.py @@ -27,7 +27,7 @@ def format_(session): session.run("isort", *SOURCES) -@nox.session(python=["3.8", "3.9", "3.10", "3.11", "3.12"]) +@nox.session(python=["3.9", "3.10", "3.11", "3.12", "3.13"]) def test(session): session.install("pytest") session.install("dash[testing]>=2.0.0") From da23c4db155fc9953e5f70176cec0d6da8ca6e8c Mon Sep 17 00:00:00 2001 From: tcbegley Date: Thu, 2 Jan 2025 10:33:07 +0000 Subject: [PATCH 3/4] Update Python requirements --- setup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index 79e76a6b..2af958c2 100644 --- a/setup.py +++ b/setup.py @@ -44,12 +44,12 @@ def _get_long_description(): classifiers=[ "Framework :: Dash", "License :: OSI Approved :: Apache Software License", - "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", ], extras_require={"pandas": ["numpy", "pandas"]}, - python_requires=">=3.8, <4", + python_requires=">=3.9, <4", ) From 11c1a621646f5896f630a2df5e9c2ee4f7b29d5b Mon Sep 17 00:00:00 2001 From: tcbegley Date: Thu, 2 Jan 2025 10:42:47 +0000 Subject: [PATCH 4/4] Update setup-python version --- .github/workflows/release.yml | 4 ++-- .github/workflows/tests.yml | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6e723db0..3b59f766 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -26,7 +26,7 @@ jobs: - name: Install dependencies run: npm ci - name: Set up Python 3.12 - uses: actions/setup-python@v1 + uses: actions/setup-python@v5 with: python-version: '3.12' @@ -101,7 +101,7 @@ jobs: run: npm ci - name: Set up Python 3.12 - uses: actions/setup-python@v1 + uses: actions/setup-python@v5 with: python-version: '3.12' diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 499e82dd..40fcc223 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -32,7 +32,7 @@ jobs: - name: Install dependencies run: npm ci - name: Set up Python 3.12 - uses: actions/setup-python@v1 + uses: actions/setup-python@v5 with: python-version: '3.12' - name: Install Dash @@ -63,12 +63,12 @@ jobs: steps: - uses: actions/checkout@v1 - name: Set up Python 3.12 - uses: actions/setup-python@v1 + uses: actions/setup-python@v5 with: python-version: '3.12' - name: Set up Python ${{ matrix.python-version }} if: matrix.python-version != '3.12' - uses: actions/setup-python@v1 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} - name: Install nox