Commit e909e43
committed
Rollback to
In order to avoid `ImportError: PyO3 modules compiled for CPython 3.8 or
older may only be initialized once per interpreter process` introduced
since pyo3 >= 0.17.0, which only allow each `#[pymodule]` to be
initialized once, this PR temporarily rollback to pyo3 = 0.16.6.
It also remove the use of `PyUserWarning` which introduced since pyo3 >
0.18.0.
See PyO3/pyo3@78ba70d
See PyO3/pyo3@1d20f2a
Fixes #694
Signed-off-by: Wong Hoi Sing Edison <[email protected]>pyo3 = { version = "0.16.6", features = ["abi3"] }
1 parent accb0ba commit e909e43
3 files changed
+17
-46
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
151 | 151 | | |
152 | 152 | | |
153 | 153 | | |
154 | | - | |
155 | | - | |
156 | | - | |
157 | | - | |
158 | | - | |
159 | | - | |
160 | | - | |
161 | | - | |
162 | | - | |
163 | | - | |
164 | | - | |
165 | | - | |
166 | 154 | | |
167 | 155 | | |
168 | 156 | | |
| |||
0 commit comments