File tree Expand file tree Collapse file tree 5 files changed +25
-17
lines changed
Expand file tree Collapse file tree 5 files changed +25
-17
lines changed Original file line number Diff line number Diff line change @@ -3,3 +3,9 @@ rustflags = [
33 "-C", "link-arg=-undefined",
44 "-C", "link-arg=dynamic_lookup",
55]
6+
7+ [target.aarch64-apple-darwin]
8+ rustflags = [
9+ "-C", "link-arg=-undefined",
10+ "-C", "link-arg=dynamic_lookup",
11+ ]
Original file line number Diff line number Diff line change @@ -11,13 +11,13 @@ jobs:
1111 - uses : actions/checkout@v4
1212 - uses : actions/setup-python@v4
1313 with :
14- python-version : 3.9
15- architecture : x64
14+ python-version : 3.13
15+ architecture : arm64
1616 - uses : dtolnay/rust-toolchain@stable
17- - name : Build wheels - x86_64
17+ - name : Build wheels - aarch64
1818 uses : PyO3/maturin-action@v1
1919 with :
20- target : x86_64
20+ target : aarch64
2121 args : --release --out dist --sdist -m Cargo.toml -b pyo3
2222 # - name: Install built wheel - x86_64
2323 # run: |
6161 runs-on : ubuntu-latest
6262 strategy :
6363 matrix :
64- target : [x86_64, i686 ]
64+ target : [x86_64]
6565 steps :
6666 - uses : actions/checkout@v4
6767 - uses : actions/setup-python@v4
Original file line number Diff line number Diff line change 3838 - name : List releases
3939 run : ls target/release
4040
41- - uses : marvinpinto/action-automatic-releases@latest
42- with :
43- repo_token : ${{ secrets.GITHUB_TOKEN }}
44- prerelease : true
45- automatic_release_tag : nightly
46- title : Nightly Build ${{ steps.date.outputs.date }}
47- files : |
48- target/release/reasonable
49- reasonable-static
5041 python :
5142 runs-on : ${{ matrix.os }}
5243 strategy :
5546 # - stable
5647 - nightly
5748 os : [ubuntu-latest, macos-latest]
58- python-version : ["3.9", "3.10", "3.11 "]
49+ python-version : ["3.11", "3.12", "3.13 "]
5950 steps :
6051 - uses : actions/checkout@v4
6152 - uses : actions-rs/toolchain@v1
Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ license-file = "LICENSE"
88readme = " README.md"
99description = " An OWL 2 RL reasoner with reasonable performance"
1010edition = " 2018"
11+ build = " build.rs"
1112
1213[lib ]
1314name = " reasonable"
@@ -23,7 +24,7 @@ bench = false
2324rdf = " 0.1.4"
2425rio_turtle = " 0.7.1"
2526rio_api = " 0.7.1"
26- oxrdf = " 0.1.0 "
27+ oxrdf = " 0.2.4 "
2728farmhash = " 1.1.5"
2829datafrog = " 2.0.1"
2930roaring = " 0.5.2"
@@ -37,9 +38,15 @@ serde_json = "1.0"
3738serde_derive = " 1.0"
3839tinytemplate = " 1.2.1"
3940anyhow = " 1.0.60"
40- pyo3 = { version = " 0.17 " , features = [" extension-module" , " abi3-py37 " ]}
41+ pyo3 = { version = " 0.23 " , features = [" extension-module" ]}
4142clap = { version = " 4.3.10" , features = [" derive" ] }
4243
44+ [build-dependencies ]
45+ pyo3-build-config = " 0.23"
46+
47+ [features ]
48+ abi3 = [" pyo3/abi3-py39" ]
49+
4350[profile .release ]
4451debug = true
4552
Original file line number Diff line number Diff line change 1+ fn main ( ) {
2+ pyo3_build_config:: add_extension_module_link_args ( ) ;
3+ }
4+
You can’t perform that action at this time.
0 commit comments