Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drop support for Python 3.8 #370

Merged
merged 2 commits into from
Jul 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
python-version: ["3.9", "3.10", "3.11", "3.12"]
include:
# - os: macos-latest
# python-version: "3.12"
Expand Down
7 changes: 4 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ classifiers = [
"Operating System :: MacOS",
"Operating System :: POSIX",
"Operating System :: Microsoft :: Windows",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
Expand All @@ -34,14 +33,15 @@ keywords = ["audio", "dsp", "music composition", "scsynth", "supercollider", "sy
license = {text = "MIT"}
name = "supriya"
readme = "README.md"
requires-python = ">= 3.8"
requires-python = ">= 3.9"

[project.optional-dependencies]
docs = [
"jupyter",
"librosa",
"matplotlib",
"mypy",
"soxr==0.4.0b1", # https://github.com/librosa/librosa/issues/1831#issuecomment-2176274560
"sphinx-immaterial",
"sphinxext-opengraph",
]
Expand All @@ -66,6 +66,7 @@ test = [
"pytest-mock",
"pytest-rerunfailures",
"setuptools; python_version >= '3.12'",
"soxr==0.4.0b1", # https://github.com/librosa/librosa/issues/1831#issuecomment-2176274560
"types-PyYAML",
"types-docutils",
]
Expand All @@ -79,7 +80,7 @@ repository = "https://github.com/supriya-project/supriya"
target-version = ["py312"]

[tool.cibuildwheel]
build = "cp38-* cp39-* cp310-* cp311-* cp312-*"
build = "cp39-* cp310-* cp311-* cp312-*"
test-command = [
"python -c 'from supriya.contexts import shm; print(shm.__file__)'",
"python -c 'from supriya.utils._intervals import IntervalTreeDriverEx'",
Expand Down
2 changes: 0 additions & 2 deletions tests/book/test_ext_book.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
import pathlib
import platform
import shutil
import sys

import pytest
import uqbar.io
Expand Down Expand Up @@ -63,7 +62,6 @@ def test_sphinx_book_html(caplog, app, status, warning, rm_dirs):
assert len(plot_svg_paths) == 1


@pytest.mark.skipif(sys.version_info < (3, 9), reason="Sphinx paths broken in 3.8")
@pytest.mark.sphinx("text", testroot="book")
def test_sphinx_book_text(app, status, warning, rm_dirs):
app.build()
Expand Down
Loading