-
Notifications
You must be signed in to change notification settings - Fork 14
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
Bump cython, numpy #105
Bump cython, numpy #105
Conversation
Hello @nauaneed! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:
Comment last updated at 2024-09-25 15:52:21 UTC |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, thanks! Can you please bump the Python version to at least 3.11 or 3.12 so the tests run on latest Python.
f67e665
to
37868c5
Compare
@@ -188,6 +188,7 @@ def _inject_types_in_module(): | |||
NP_C_TYPE_MAP[np.dtype(np.uint64)] = 'unsigned long long' | |||
C_NP_TYPE_MAP['long long'] = np.int64 | |||
C_NP_TYPE_MAP['unsigned long long'] = np.uint64 | |||
TYPES['long long'] = KnownType('long long') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This fixes tests failing on windows but not sure if this is a good fix. All keys in the TYPES
dict do not contain spaces as they are meant to be used with @annotate
decorator?
One failing test on Windows remaining: |
37868c5
to
1b3c193
Compare
- bump python and other actions - update obtaining month for cache key - if one test fails, others will no longer be cancelled
1b3c193
to
99c91f1
Compare
As radix sort is stable, we need to enshure that that the argsort result it is compared with is also stable. Fixes pypr#104
tests/test_array.py::test_comparison was failing on windows without this
8b6df4c
to
bca0e31
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks! We should fix the multiple writes error by using a proper cross platform lock like fasteners. Will try to do that later.
No description provided.