From 521814979a0a6d029dabb6ee5fc1b1a55f95b564 Mon Sep 17 00:00:00 2001 From: Adam Johnson Date: Tue, 25 Oct 2022 21:27:23 +0100 Subject: [PATCH] Add Python 3.11 support (#117) --- .github/workflows/python.yml | 2 +- CHANGELOG.md | 4 ++++ python/main/Cargo.toml | 2 +- python/onepass/Cargo.toml | 2 +- 4 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index c2befb0..0b9f53f 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -13,7 +13,7 @@ jobs: matrix: variant: [main, onepass] os: [macos-11.0, ubuntu-18.04, windows-2019, self-hosted-linux-arm64] - python: [3.8, 3.9, '3.10'] + python: [3.8, 3.9, '3.10', '3.11'] steps: - uses: actions/checkout@v1 diff --git a/CHANGELOG.md b/CHANGELOG.md index e989534..dfb24a5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # minify-html changelog +## Pending + +- [Python] Add Python 3.11 support. + ## 0.10.2 - Bump [minify-js](https://github.com/wilsonzlin/minify-js) to 0.2.6. diff --git a/python/main/Cargo.toml b/python/main/Cargo.toml index d1b9da4..3c103a7 100644 --- a/python/main/Cargo.toml +++ b/python/main/Cargo.toml @@ -17,5 +17,5 @@ crate-type = ["cdylib"] [dependencies] minify-html = { path = "../../rust/main" } [dependencies.pyo3] -version = "0.13.0" +version = "0.17.2" features = ["extension-module"] diff --git a/python/onepass/Cargo.toml b/python/onepass/Cargo.toml index b1f0f57..4ecc8d7 100644 --- a/python/onepass/Cargo.toml +++ b/python/onepass/Cargo.toml @@ -17,5 +17,5 @@ crate-type = ["cdylib"] [dependencies] minify-html-onepass = { path = "../../rust/onepass" } [dependencies.pyo3] -version = "0.13.0" +version = "0.17.2" features = ["extension-module"]