From 98499fecbdbe94cacbefd15a69cd062003af85c0 Mon Sep 17 00:00:00 2001 From: renaud gaudin Date: Wed, 4 Sep 2024 14:19:06 +0000 Subject: [PATCH] Removed support for Python 3.8 (EOL) --- .github/workflows/Tests.yaml | 2 +- CHANGELOG.md | 10 +++++++++- pyproject.toml | 6 ++---- 3 files changed, 12 insertions(+), 6 deletions(-) diff --git a/.github/workflows/Tests.yaml b/.github/workflows/Tests.yaml index 0307ced..be20710 100644 --- a/.github/workflows/Tests.yaml +++ b/.github/workflows/Tests.yaml @@ -13,7 +13,7 @@ jobs: strategy: matrix: os: [macos-13, windows-2022, ubuntu-22.04] - python: ["3.8", "3.9", "3.10", "3.11", "3.12"] + python: ["3.9", "3.10", "3.11", "3.12"] steps: - uses: actions/checkout@v4 diff --git a/CHANGELOG.md b/CHANGELOG.md index 6c18aa3..e29ef17 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,12 +5,20 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). -## Unreleazed +## [Unreleased] ### Added - Windows (x64) support (#91) +### Changed + +- Using C++ libzim 9.2.3-2 + +### Removed + +- Support for Python 3.8 (EOL) + ## [3.4.0] - 2023-12-16 ### Added diff --git a/pyproject.toml b/pyproject.toml index 826c667..61a5034 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -10,7 +10,7 @@ build-backend = "setuptools.build_meta" [project] name = "libzim" version = "3.4.0" -requires-python = ">=3.8,<3.13" +requires-python = ">=3.9,<3.13" description = "A python-facing API for creating and interacting with ZIM files" authors = [ {name = "openZIM", email = "dev@kiwix.org"}, @@ -29,7 +29,6 @@ classifiers = [ "Intended Audience :: Developers", "Programming Language :: Cython", "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", @@ -128,7 +127,7 @@ archs = ["x86_64", "arm64"] # skipping tests on cp <=3.9 as the wheels we produce are on unexpected combinations # because those python versions were released before our building host version # > requires changing wheel names -test-skip = "*_arm64 cp39* cp38*" +test-skip = "*_arm64 cp39*" [tool.hatch.build] exclude = [ @@ -153,7 +152,6 @@ features = ["scripts", "test"] [tool.hatch.envs.test.env-vars] PROFILE = "1" -# not testing on 3.8 as setuptools cannot produce editable wheel [[tool.hatch.envs.test.matrix]] python = ["3.9", "3.10", "3.11", "3.12"]