-
Notifications
You must be signed in to change notification settings - Fork 8
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
Use Poetry for development #528
Comments
Are there any downsides / bugs. For example, conda environments can be built from requirements files which is no the worst thing to have the ability to do. I guess however, that poetry also interfaces somehow? Maybe we can all throw an opinion at it. Just to clarify my opinion, if there are no downsides or at least no unmanageable downsides and am pro. |
@laigner might have also some opinion on this topic. I don't excactly know how poetry and conda will interface but I'd assume it should work the same as with setuptools? Do you mean conda environments or conda packages? In my experience with ZnTrack there might be some open questions in the beginning just like there where when using setuptools the first time, but nothing that can not be resolved. Feel free to ask any question that comes to mind. |
I have never used poetry and did not have any problems with setuptools so far. So I do not have an opinion on which we should use |
Because I was mentioned, my opinion on Poetry. These are the two reasons why I still stick to the |
I think it is worthwhile for a few reasons:
But there are also a few downsides that I found:
|
Let's give it a week to decide as I'd like to do a bit of research to see if I can see any clear issues. |
One more benefit of poetry is that it automatically installs dev requirements when making a dev installation via |
@SamTov If you want to make yourself familiar check out https://github.com/zincware/MDSuite/tree/528-use-poetry-for-development It only took 15 mins and I wanted to test something out anyways. |
Using setuptools has many downsides described elsewhere in much detail. Many of them can be solved by using Poetry. Therefore, I propose changing MDSuite to use poetry as well.
This would only require some small changes in the setup and no code changes at all.
Some of the benefits would be:
Changes for the users:
pip install .
orpip install mdsuite
Changes for developers:
poetry install
instead ofpip install -e .
for development installationpoetry.lock
file so the excat version is always knownI can make the changes but we should decide on it first @SamTov
The text was updated successfully, but these errors were encountered: