Skip to content
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

Numba type reflected set deprecation warnings #90

Open
acwooding opened this issue Feb 24, 2025 · 1 comment
Open

Numba type reflected set deprecation warnings #90

acwooding opened this issue Feb 24, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@acwooding
Copy link
Collaborator

Filing this deprecation warning log as an eventual issue for easy reference. It looks like the replacement functionality may not exist yet. https://numba.readthedocs.io/en/stable/reference/deprecation.html#deprecation-of-reflection-for-list-and-set-types

2025-02-23T00:08:34.0619920Z Encountered the use of a type that is scheduled for deprecation: type 'reflected set' found for argument 's' of function 'ol_set_copy.<locals>.<lambda>'.
2025-02-23T00:08:34.0620980Z 
2025-02-23T00:08:34.0622060Z For more information visit https://numba.readthedocs.io/en/stable/reference/deprecation.html#deprecation-of-reflection-for-list-and-set-types
2025-02-23T00:08:34.0622550Z 
2025-02-23T00:08:34.0623000Z File "../../../hostedtoolcache/Python/3.10.16/x64/lib/python3.10/site-packages/numba/cpython/setobj.py", line 1409:
2025-02-23T00:08:34.0623890Z 
2025-02-23T00:08:34.0624450Z def set_difference_update(context, builder, sig, args):
2025-02-23T00:08:34.0625120Z ^
2025-02-23T00:08:34.0625390Z 
2025-02-23T00:08:34.0627640Z Encountered the use of a type that is scheduled for deprecation: type 'reflected set' found for argument 's' of function 'ol_set_pop.<locals>.<lambda>'.
2025-02-23T00:08:34.0628120Z 
2025-02-23T00:08:34.0628600Z For more information visit https://numba.readthedocs.io/en/stable/reference/deprecation.html#deprecation-of-reflection-for-list-and-set-types
2025-02-23T00:08:34.0628990Z 
2025-02-23T00:08:34.0629430Z File "../../../hostedtoolcache/Python/3.10.16/x64/lib/python3.10/site-packages/numba/cpython/setobj.py", line 1351:
2025-02-23T00:08:34.0629990Z @intrinsic
2025-02-23T00:08:34.0630310Z def _set_remove(typingctx, s, item):
2025-02-23T00:08:34.0630590Z ^
2025-02-23T00:08:34.0630820Z 
2025-02-23T00:08:34.0632270Z Encountered the use of a type that is scheduled for deprecation: type 'reflected set' found for argument 's' of function 'ol_set_remove.<locals>.<lambda>'.
2025-02-23T00:08:34.0632680Z 
2025-02-23T00:08:34.0633170Z For more information visit https://numba.readthedocs.io/en/stable/reference/deprecation.html#deprecation-of-reflection-for-list-and-set-types
2025-02-23T00:08:34.0633580Z 
2025-02-23T00:08:34.0634010Z File "../../../hostedtoolcache/Python/3.10.16/x64/lib/python3.10/site-packages/numba/cpython/setobj.py", line 1376:
2025-02-23T00:08:34.0634560Z @intrinsic
2025-02-23T00:08:34.0634870Z def _set_clear(typingctx, s):
2025-02-23T00:08:34.0636010Z ^
2025-02-23T00:08:34.0636140Z 
2025-02-23T00:08:34.0637510Z Encountered the use of a type that is scheduled for deprecation: type 'reflected set' found for argument 'boundary' of function 'build_polygons'.
2025-02-23T00:08:34.0637910Z 
2025-02-23T00:08:34.0638400Z For more information visit https://numba.readthedocs.io/en/stable/reference/deprecation.html#deprecation-of-reflection-for-list-and-set-types
2025-02-23T00:08:34.0639710Z 
2025-02-23T00:08:34.0640070Z File "datamapplot/alpha_shapes.py", line 45:
2025-02-23T00:08:34.0640370Z @numba.njit()
2025-02-23T00:08:34.0640780Z def build_polygons(boundary):
2025-02-23T00:08:34.0641240Z ^
@acwooding acwooding added the bug Something isn't working label Feb 24, 2025
@lmcinnes
Copy link
Contributor

Thanks, I think that's probably something that can be patched around.

@acwooding acwooding changed the title Numbe type reflected set deprecation warnings Numba type reflected set deprecation warnings Feb 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants