-
Notifications
You must be signed in to change notification settings - Fork 16
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
numpy 1.24.1 and plastid 0.6.1 appear to have an issue due to dropping of support for numpy.int by numpy. #55
Comments
Hello, this is actually an issue with the bioconda recipe not restricting the np version like requirements.txt does, if I figure out how to submit a change to their setup I will make sure that it restricts to under 1.24. |
This should be fixed in bioconda now |
Thanks very much!
[UMass Chan Medical School]
Chris Hull
System Admin Sr. Eng.
Information Technology
774-455-4352| Have a question?<https://umassmed.service-now.com/navpage.do>
[cid:36c35630-c541-456c-abd9-0bf7aec18ad3] Learn More About Two Factor Authentication Here<https://umassmed.sharepoint.com/sites/information-technology/data-security/SitePages/Multifactor-Authentication.aspx>
This e-mail message, including any attachments, is for the sole use of the intended recipient (s) and may contain confidential, proprietary, and privileged information. Any unauthorized review, use, disclosure, or distribution is prohibited. If you are not the intended recipient, please contact the sender immediately and destroy or permanently delete all copies of the original message.
…________________________________
From: mnapolitano89 ***@***.***>
Sent: Friday, January 6, 2023 10:20 AM
To: joshuagryphon/plastid ***@***.***>
Cc: Hull, Christopher ***@***.***>; Author ***@***.***>
Subject: Re: [joshuagryphon/plastid] numpy 1.24.1 and plastid 0.6.1 appear to have an issue due to dropping of support for numpy.int by numpy. (Issue #55)
This should be fixed in bioconda now
—
Reply to this email directly, view it on GitHub<https://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fjoshuagryphon%2Fplastid%2Fissues%2F55%23issuecomment-1373761863&data=05%7C01%7Cchris.hull%40umassmed.edu%7C3da24df539d94f94e9c608daeff980bd%7Cee9155fe2da34378a6c44405faf57b2e%7C0%7C0%7C638086152173332988%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=PxauKQoVvcQGJNiE5VubWPq5DBkGHb6lrC%2FagVOoeqM%3D&reserved=0>, or unsubscribe<https://nam10.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAMTEAUF2TELRLJQMP52A6BLWRAZ2VANCNFSM6AAAAAATNLT5N4&data=05%7C01%7Cchris.hull%40umassmed.edu%7C3da24df539d94f94e9c608daeff980bd%7Cee9155fe2da34378a6c44405faf57b2e%7C0%7C0%7C638086152173332988%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=RWL8bObTXsXlgRg6n8sjFmKkW%2FS1oi2GtaH4DkVVzRo%3D&reserved=0>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Thank you @mnapolitano89 for the bioconda fix! Keeping this issue open because we'll need to adjust here for future proofing |
I'm not sure if this is related but seems to concern numpy dropping support for some numeric types. Building plastid fails with numpy-1.26.0 (previously OK with 1.24.4) with error:
The discussion above points to limiting numpy to 1.24.x - is that the only possibility? |
This package is incompatible with later version of numpy. See upstream ticket: joshuagryphon/plastid#55 Signed-off-by: Andrew Clemons <[email protected]> Signed-off-by: Willy Sudiarto Raharjo <[email protected]>
Hello,
In installing a conda environment with plastid for a customer (python 3.9.15, plastid 0.6.1, numpy 1.24.1) my customer found that their test "metagene generate -h" failed with "AttributeError: module 'numpy' has no attribute 'int'".
From searching online copycode.org indicates that as of numpy 1.24 support for numpy.float and numpy.int were removed. I've downgraded the conda numpy to 1.23.5 and am waiting to hear back from my customer whether their test is successful with the downgraded version.
I'm not a developer, but I'm guessing it might warrant setting a requirement for plastid/0.6.1 for numpy to be <= 1.23.5.
Thank you.
The text was updated successfully, but these errors were encountered: