Skip to content

Commit

Permalink
fix: python workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
dirvine committed Nov 28, 2024
1 parent 45faae8 commit c26abfd
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@ jobs:

linux:
runs-on: ubuntu-latest
# Add permissions to job
permissions:
id-token: write
contents: read
Expand All @@ -91,7 +90,8 @@ jobs:
with:
target: ${{ matrix.target }}
manylinux: "2014"
args: --release --out dist --compatibility manylinux2014
args: --release --out dist --compatibility manylinux2014 --skip-auditwheel
container: quay.io/pypa/manylinux2014_x86_64
sccache: 'true'
- name: Upload wheels
uses: actions/upload-artifact@v3
Expand Down
9 changes: 8 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,14 @@ build-backend = "maturin"

[project]
name = "self_encryption"
requires-python = ">=3.7"
requires-python = ">=3.8"
classifiers = [
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Rust",
"Operating System :: OS Independent",
]
Expand All @@ -24,6 +29,8 @@ features = ["python"]
module-name = "self_encryption._self_encryption"
bindings = "pyo3"
develop = true
python-source = "python"
compatibility = "manylinux2014"

[tool.pytest.ini_options]
testpaths = ["tests"]
Expand Down

0 comments on commit c26abfd

Please sign in to comment.