From e66daa6f590f94dcab442321b424998f269e7312 Mon Sep 17 00:00:00 2001 From: Tpt Date: Sun, 5 Dec 2021 13:41:53 +0100 Subject: [PATCH] Upgrades to Python 3.7+ and ManyLinux 2014+ --- .github/workflows/build.yml | 3 ++- .github/workflows/release.yml | 3 ++- python/Cargo.toml | 2 +- python/pyproject.toml | 3 +-- 4 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 66ee0e75..8b24153b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -92,7 +92,8 @@ jobs: submodules: true - uses: messense/maturin-action@v1 with: - manylinux: auto + manylinux: 2014 + container: messense/manylinux2014-cross:x86_64 command: build args: -m python/Cargo.toml --cargo-extra-args="--no-default-features --features vendored" diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 27568d82..ef0b3eff 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -99,7 +99,8 @@ jobs: - run: sed -i 's/path="..\/lib", //g' python/Cargo.toml - uses: messense/maturin-action@v1 with: - manylinux: auto + manylinux: 2014 + container: messense/manylinux2014-cross:x86_64 command: publish args: -m python/Cargo.toml --cargo-extra-args="--no-default-features --features vendored" -u __token__ -p ${{ secrets.PYPI_PASSWORD }} publish_pypi_mac: diff --git a/python/Cargo.toml b/python/Cargo.toml index 6e48e47e..1a0b1a29 100644 --- a/python/Cargo.toml +++ b/python/Cargo.toml @@ -17,7 +17,7 @@ doctest = false [dependencies] oxigraph = { version = "0.3.0-dev", path="../lib", features = ["http_client"] } -pyo3 = { version = "0.15", features = ["extension-module", "abi3-py36"] } +pyo3 = { version = "0.15", features = ["extension-module", "abi3-py37"] } oxhttp = "0.1" [features] diff --git a/python/pyproject.toml b/python/pyproject.toml index 232f2788..5e8eb011 100644 --- a/python/pyproject.toml +++ b/python/pyproject.toml @@ -11,7 +11,6 @@ classifiers = [ "License :: OSI Approved :: Apache Software License", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", @@ -20,7 +19,7 @@ classifiers = [ "Topic :: Database :: Database Engines/Servers", "Topic :: Software Development :: Libraries :: Python Modules", ] -requires-python = ">=3.6" +requires-python = ">=3.7" [project.urls] Changelog = "https://github.com/oxigraph/oxigraph/blob/master/CHANGELOG.md"