diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 04ed7736..f97e7028 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -25,10 +25,10 @@ jobs: - name: Install dependencies run: npm ci - - name: Set up Python 3.10 + - name: Set up Python 3.12 uses: actions/setup-python@v1 with: - python-version: '3.10' + python-version: '3.12' - name: Install Python dependencies run: python -m pip install -r requirements-dev.txt @@ -100,10 +100,10 @@ jobs: - name: Install dependencies run: npm ci - - name: Set up Python 3.10 + - name: Set up Python 3.12 uses: actions/setup-python@v1 with: - python-version: '3.10' + python-version: '3.12' - name: Install Python dependencies run: python -m pip install -r requirements-dev.txt diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index a8f902f5..ee364e6f 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -31,10 +31,10 @@ jobs: node-version: 16 - name: Install dependencies run: npm ci - - name: Set up Python 3.10 + - name: Set up Python 3.12 uses: actions/setup-python@v1 with: - python-version: '3.10' + python-version: '3.12' - name: Install Dash run: python -m pip install -r requirements-dev.txt - name: Build dash-bootstrap-components @@ -51,7 +51,7 @@ jobs: strategy: max-parallel: 6 matrix: - python-version: ['3.7', '3.8', '3.9', '3.10', '3.11'] + python-version: ['3.8', '3.9', '3.10', '3.11', '3.12'] services: hub: image: selenium/hub:3.141.59-gold @@ -62,19 +62,19 @@ jobs: HUB_PORT: 4444 steps: - uses: actions/checkout@v1 - - name: Set up Python 3.10 + - name: Set up Python 3.12 uses: actions/setup-python@v1 with: - python-version: '3.10' + python-version: '3.12' - name: Set up Python ${{ matrix.python-version }} - if: matrix.python-version != '3.10' + if: matrix.python-version != '3.12' uses: actions/setup-python@v1 with: python-version: ${{ matrix.python-version }} - name: Install nox - run: python3.10 -m pip install -U nox + run: python3.12 -m pip install -U nox - name: Lint Python source - if: matrix.python-version == '3.10' + if: matrix.python-version == '3.12' run: nox -s lint - uses: actions/download-artifact@v2 with: diff --git a/noxfile.py b/noxfile.py index dba41291..97f84467 100644 --- a/noxfile.py +++ b/noxfile.py @@ -27,7 +27,7 @@ def format_(session): session.run("isort", *SOURCES) -@nox.session(python=["3.7", "3.8", "3.9", "3.10", "3.11"]) +@nox.session(python=["3.8", "3.9", "3.10", "3.11", "3.12"]) def test(session): session.install("pytest") session.install("dash[testing]>=2.0.0") diff --git a/setup.py b/setup.py index 0397c525..79e76a6b 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.7", "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", ], extras_require={"pandas": ["numpy", "pandas"]}, - python_requires=">=3.7, <4", + python_requires=">=3.8, <4", )