From d5446ef1e208fa1ed0669fe3ad0338dfb5a9d496 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Achard?= Date: Sat, 14 Oct 2023 18:40:06 +0100 Subject: [PATCH] Remove python 3.7 support --- .github/workflows/test-package.yml | 6 +++--- README.rst | 2 +- pyproject.toml | 6 +++--- setup.py | 3 +-- 4 files changed, 8 insertions(+), 9 deletions(-) diff --git a/.github/workflows/test-package.yml b/.github/workflows/test-package.yml index c8fcf5d..d98823e 100644 --- a/.github/workflows/test-package.yml +++ b/.github/workflows/test-package.yml @@ -7,7 +7,7 @@ jobs: runs-on: ubuntu-22.04 strategy: matrix: - python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"] + python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] steps: - name: Clone repository uses: actions/checkout@v4 @@ -37,7 +37,7 @@ jobs: runs-on: macos-12 strategy: matrix: - python-version: ["3.7", "3.12"] + python-version: ["3.8", "3.12"] steps: - name: Clone repository uses: actions/checkout@v4 @@ -67,7 +67,7 @@ jobs: runs-on: windows-2022 strategy: matrix: - python-version: ["3.7", "3.12"] + python-version: ["3.8", "3.12"] steps: - name: Clone repository uses: actions/checkout@v4 diff --git a/README.rst b/README.rst index fc49504..4f41c91 100644 --- a/README.rst +++ b/README.rst @@ -32,7 +32,7 @@ Installation Requirements: -- Python: 3.7 or later +- Python: 3.8 or later - Platform: Windows (with limitations), macOS, Linux - External (non-python) dependencies: - asdcplib diff --git a/pyproject.toml b/pyproject.toml index aa3d030..e4d8004 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -7,7 +7,7 @@ license = "BSD-3-Clause" readme = "README.rst" [tool.poetry.dependencies] -python = "^3.7" +python = "^3.8" lxml = "^4.9.3" dicttoxml = "^1.7.16" xmltodict = "^0.13.0" @@ -23,8 +23,8 @@ freetype-py = "^2.4.0" [tool.poetry.group.dev.dependencies] coverage = "^7.3.2" pytest = "^7.4.2" -ruff = { version = "^0.0.292", python = "^3.8" } -black = { version = "^23.9.1", python = "^3.8" } +ruff = "^0.0.292" +black = "^23.9.1" [build-system] requires = ["poetry-core"] diff --git a/setup.py b/setup.py index fe0807d..7657fa7 100644 --- a/setup.py +++ b/setup.py @@ -31,7 +31,6 @@ "Topic :: Software Development :: Libraries :: Python Modules", "License :: OSI Approved :: BSD License", "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", @@ -51,7 +50,7 @@ "shutilwhich", "freetype-py", ], - python_requires=">=3.7", + python_requires=">=3.8", package_data={ "clairmeta": ["xsd/*"], },