Repository navigation
197 move from poetry to hatchling python packaging tools - #202
Merged
andped10 merged 12 commits intoMar 14, 2024
Merged
Conversation
rozyczko
requested changes
Mar 13, 2024
rozyczko
left a comment
Member
There was a problem hiding this comment.
Unfortunately, the two imports in __init__.py are required for the rest of EasyScience to function.
Borg is pretty transparent, but the reason to import numpy from easyCore is a bit more murky. I think the idea was that at some point, modifications to numpy were expected, hence we wanted our version of numpy used.
However, none of those extensions have yet been implemented and we seem to be pretty negligent, using both from easyCore import np and import numpy as np throughout the code base.
This begs for standardization.
andped10
deleted the
197-move-from-poetry-to-hatchling-python-packaging-tools
branch
March 14, 2024 07:44
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
pyproject.ymleasyCorenpare longer fromeasyCorebut instead:import numpy as nptest_corewhere easyCore.inf is replaced by np.inf