From 34199437cb854af581549e85fd454d90a8e9c125 Mon Sep 17 00:00:00 2001 From: Isotr0py <2037008807@qq.com> Date: Wed, 27 Sep 2023 08:17:27 +0800 Subject: [PATCH] add PIL and change CI --- .github/workflows/CI.yml | 4 +++- pyproject.toml | 6 ++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index b822d6c..77f82a3 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -9,10 +9,12 @@ on: push: branches: - main - - master + - dev tags: - '*' pull_request: + branches: + - main workflow_dispatch: permissions: diff --git a/pyproject.toml b/pyproject.toml index 46def23..dcbbccb 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,13 +4,15 @@ build-backend = "maturin" [project] name = "pillow_jxl_plugin" -requires-python = ">=3.7" +requires-python = ">=3.8" classifiers = [ "Programming Language :: Rust", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy", ] - +dependencies = [ + "Pillow >= 10.1", +] [tool.maturin] features = ["pyo3/extension-module"]