Upgrades to Python 3.7+ and ManyLinux 2014+

pull/175/head
Tpt 3 years ago
parent 3c297e5ef7
commit e66daa6f59
  1. 3
      .github/workflows/build.yml
  2. 3
      .github/workflows/release.yml
  3. 2
      python/Cargo.toml
  4. 3
      python/pyproject.toml

@ -92,7 +92,8 @@ jobs:
submodules: true submodules: true
- uses: messense/maturin-action@v1 - uses: messense/maturin-action@v1
with: with:
manylinux: auto manylinux: 2014
container: messense/manylinux2014-cross:x86_64
command: build command: build
args: -m python/Cargo.toml --cargo-extra-args="--no-default-features --features vendored" args: -m python/Cargo.toml --cargo-extra-args="--no-default-features --features vendored"

@ -99,7 +99,8 @@ jobs:
- run: sed -i 's/path="..\/lib", //g' python/Cargo.toml - run: sed -i 's/path="..\/lib", //g' python/Cargo.toml
- uses: messense/maturin-action@v1 - uses: messense/maturin-action@v1
with: with:
manylinux: auto manylinux: 2014
container: messense/manylinux2014-cross:x86_64
command: publish command: publish
args: -m python/Cargo.toml --cargo-extra-args="--no-default-features --features vendored" -u __token__ -p ${{ secrets.PYPI_PASSWORD }} args: -m python/Cargo.toml --cargo-extra-args="--no-default-features --features vendored" -u __token__ -p ${{ secrets.PYPI_PASSWORD }}
publish_pypi_mac: publish_pypi_mac:

@ -17,7 +17,7 @@ doctest = false
[dependencies] [dependencies]
oxigraph = { version = "0.3.0-dev", path="../lib", features = ["http_client"] } 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" oxhttp = "0.1"
[features] [features]

@ -11,7 +11,6 @@ classifiers = [
"License :: OSI Approved :: Apache Software License", "License :: OSI Approved :: Apache Software License",
"License :: OSI Approved :: MIT License", "License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3 :: Only", "Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.9",
@ -20,7 +19,7 @@ classifiers = [
"Topic :: Database :: Database Engines/Servers", "Topic :: Database :: Database Engines/Servers",
"Topic :: Software Development :: Libraries :: Python Modules", "Topic :: Software Development :: Libraries :: Python Modules",
] ]
requires-python = ">=3.6" requires-python = ">=3.7"
[project.urls] [project.urls]
Changelog = "https://github.com/oxigraph/oxigraph/blob/master/CHANGELOG.md" Changelog = "https://github.com/oxigraph/oxigraph/blob/master/CHANGELOG.md"

Loading…
Cancel
Save