-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
okascore.c misuses Python C API, leading to odd failures #18
Comments
Note that the new test passes on Python3 < 3.10. |
tseaver
added a commit
that referenced
this issue
May 15, 2024
Fix 'setup.py' to prevent building 'okascore' module if 'PURE_PYTHON' is defined. Add 'py310-pure' environment to build / run tests with that env var set. Note that the new test fails under 'py310', but passes under 'py310-pure'
tseaver
added a commit
that referenced
this issue
May 16, 2024
Fix 'setup.py' to prevent building 'okascore' module if 'PURE_PYTHON' is defined. Add 'py310-pure' environment to build / run tests with that env var set. Note that the new test fails under 'py310', but passes under 'py310-pure'
tseaver
added a commit
that referenced
this issue
May 16, 2024
* tests: demonstrate #18 Fix 'setup.py' to prevent building 'okascore' module if 'PURE_PYTHON' is defined. Add 'py310-pure' environment to build / run tests with that env var set. Note that the new test fails under 'py310', but passes under 'py310-pure' * fix: use 'PyFloat_AsDouble' for upcasts - We know that the second element of each 'd2fitems' *should* be a float already (we store it, after all, in an IF BTree). - The upcast in the second change is safe, and more regular. * ci: bump checkout, setup-python action versions - Use released Python 3.12 * ci: work around GHA macos-latest messes: - actions/setup-python#850 - actions/setup-python#860 --------- Co-authored-by: Peter Wilkinson <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
E.g., see the following test:
When run with
PURE_PYTHON
set in the environment, this test passes, but without it, I see the following errors:The text was updated successfully, but these errors were encountered: