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

NumbaPendingDeprecationWarning type 'reflected list' found for argument 'a' of function 'contemporary' #100

Open
peterjc opened this issue Jan 5, 2022 · 1 comment

Comments

@peterjc
Copy link

peterjc commented Jan 5, 2022

Using one of your example input files under Linux Python 3.7:

$ pip freeze | grep grapetree 
grapetree==2.2
$ pip freeze | grep numba
numba==0.54.1
$ grapetree -p Grapetree_Agona.profile > Grapetree_Agona.profile.tree
/mnt/.../conda/lib/python3.7/site-packages/numba/core/ir_utils.py:2139: NumbaPendingDeprecationWarning: 
Encountered the use of a type that is scheduled for deprecation: type 'reflected list' found for argument 'a' of function 'contemporary'.

For more information visit https://numba.pydata.org/numba-doc/latest/reference/deprecation.html#deprecation-of-reflection-for-list-and-set-types

File "/mnt/.../conda/lib/python3.7/site-packages/grapetree/module/MSTrees.py", line 35:
@jit(nopython=True)
def contemporary(a,b,c, n_loci) :
^

  warnings.warn(NumbaPendingDeprecationWarning(msg, loc=loc))
@kjolley
Copy link
Contributor

kjolley commented Dec 21, 2022

Just upgraded our job server for PubMLST to the latest version of Ubuntu and now also experiencing this issue. Would be good to get a fix for this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants