From c0bdecedaa535942da33ea8028d83741dedbad07 Mon Sep 17 00:00:00 2001 From: Bo Bayles Date: Wed, 16 Oct 2024 13:42:40 -0500 Subject: [PATCH] Drop 3.8-specific items (#100) --- .github/workflows/lint.yml | 2 +- .github/workflows/unit-tests.yml | 5 +++-- pyproject.toml | 11 ++--------- 3 files changed, 6 insertions(+), 12 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index c09aeda..baae291 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -25,7 +25,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v5 with: - python-version: "3.8" + python-version: "3.9" - name: Install dependencies run: | make requirements diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.yml index 246ccba..72bf915 100644 --- a/.github/workflows/unit-tests.yml +++ b/.github/workflows/unit-tests.yml @@ -1,4 +1,5 @@ name: Unit tests +name: Unit tests on: pull_request: @@ -28,10 +29,10 @@ jobs: steps: - uses: actions/checkout@v4 - - name: Set up Python 3.8 + - name: Set up Python 3.9 uses: actions/setup-python@v5 with: - python-version: "3.8" + python-version: "3.9" - name: Install dependencies run: | make requirements diff --git a/pyproject.toml b/pyproject.toml index d6344b6..a3cd39e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -10,7 +10,7 @@ authors = [ ] description = 'URL parser and manipulator based on the WHAT WG URL standard' readme = "README.rst" -requires-python = ">=3.8" +requires-python = ">=3.9" license = {text = "Apache 2.0"} classifiers = [ "License :: OSI Approved :: Apache Software License", @@ -35,14 +35,9 @@ include-package-data = true [tool.setuptools.package-data] ada_url = ["*.c", "*.h", "*.o"] -[tool.black] -line-length = 88 -target-version = ['py38'] -skip-string-normalization = true - [tool.ruff] line-length = 88 -target-version = "py38" +target-version = "py39" exclude = [ ".git", ".ruff_cache", @@ -62,13 +57,11 @@ include = [ [tool.cibuildwheel] build = [ - "cp38-*", "cp39-*", "cp310-*", "cp311-*", "cp312-*", "cp313-*", - "pp38-*", "pp39-*", "pp310-*", ]