-
-
Notifications
You must be signed in to change notification settings - Fork 118
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
Poetry as the only package manager? #105
Comments
The |
I think we only use Poetry in this project. For example, Javascript/Node has three package manager at least, but project will not maintain Pip is good and has built-in in Python, but it can't control dependencies exactly (This is a disaster when you have many projects use different dependency version in same environment/computer). |
Understood and agree that CI shouldn't make changes. But I would like to separate into two topics here
Considering the discussion above and the phase of the project right now, supporting only one package manager is the consensus between @bluet, @hms5232, and me. On the other hand, the built-in package manager always catches my eye on it. I believe the support of
Actually, the meaning of |
This is one of downside of pip. The
That show the package name and version but not include/point out their dependency graph. So I think The PEP 582 is still in draft, so we should consider that how to keep dependency fit those package but not effect other package in environment (or in reverse, the environment effect project dependencies). In conclusion, Poetry or Pipenv is good to reach it. Nevertheless, Pipenv has some negative point so I no longer use it. It is my belief:
By the way, if we want to migrate to PEP 582 in the future, I recommend pyflow or pdm. |
Agree,
I believe we are on the same page
What I am only concerned about is the support on |
Yes, Poetry has Python version check. And they released 1.2.0 recently. I will make a PR to upgrade CI setting after I use it for a while. |
hi @hms5232 , still waiting for your PR hahaha |
A few weeks ago I found a bug at 1.2.1 and report to poetry, they has fixed it at main branch, but still not release in new version. I'm waiting for this, lol. Poetry 1.2 have many features and some of them are incompatible with 1.1. I am on the road to learn how to apply them. 🚀 |
@hms5232 ok cool, sounds great |
Update~ I trace the bug reported issue and notice that Poetry seems that plant to release the fixed at version 1.3. Should we wait for 1.3 or just upgrade pipeline to 1.2 first? |
@hms5232 If 1.3 might take a while to release, maybe we should go for 1.2 first. |
Sounds great |
Surprise! 1.3 has released this morning 🎉 . I'm using this version. If everything okay, I will send a PR to bump Poetry version in action pipeline. |
Are we ready to be Poetry-only? @hms5232 @afunTW @vincentinttsh @ziloka ref: |
might also need to update README too if we do. |
As here saying, delete the
Maybe add a develop chapter in README or a |
@hms5232 go! go! power rangers! |
Seems that we have everything settled and can close the issue? |
Follow-up discussion of #92
@hms5232 got your point 👌
@afunTW I don't think we can/should generate/update
requirements.txt
in CI pipeline. CI shouldn't make changes to the source repo, isn't it?IIRC, the
export
command of Poetry can be used to generaterequirements.txt
. So, in practice, we can either ask developers to remember to run the command every time they update dependency, or just document the generation command in README.md for users who really want to use requirements.txt. 🤣Not sure if there are other ways.
The text was updated successfully, but these errors were encountered: