why I will never use python-poetry

why I will never use python-poetry

anthonywritescode

1 год назад

57,758 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@ArthurKhazbs
@ArthurKhazbs - 18.11.2023 23:08

What about pipenv? Have you tried it, is the experience any different?

Ответить
@user-yw1ux6zk3z
@user-yw1ux6zk3z - 17.11.2023 19:34

Thanks Anthony for all of your great videos. As a new Python coder, I find Poetry is easier than Venv or pip-tools. Poetry documentation is easier to follow. Maybe when I am more advance user, things will change.

Ответить
@deadwarrior9866
@deadwarrior9866 - 15.11.2023 07:57

poetry is xxxx trash for sure dont run it so many bug

Ответить
@SanixDarker
@SanixDarker - 12.11.2023 00:33

after 1year, do you think this is still true please ?

Ответить
@saeedgnu
@saeedgnu - 19.10.2023 23:22

Wait this guy works for docker??? That is unsettling!!

Ответить
@justinfuruness7954
@justinfuruness7954 - 18.10.2023 02:41

wow, best breakdown I've seen thus far on actual technical reasons as to why not to use poetry. Great job! Loving your vids

Ответить
@DiogoBaeder
@DiogoBaeder - 15.10.2023 05:53

I'm still a big fan of Poetry and will keep using it; However, your arguments here are very good, and I actually agree with them - it's bad to automatically update deps within major versions by default (because it's quite common to reach breaking changes between different minor versions), and it's SUPER BAD to introduce random breakages in CI builds just to "force" people to stop using some deprecated feature.

Thanks for the video, you got a new subscriber 🙂

Ответить
@Michallote
@Michallote - 07.10.2023 02:53

WTF is going on with 5 percent chance of throwing an error?!?
Did they ever justify or provided their thought process?

Ответить
@Kralnor
@Kralnor - 02.10.2023 18:44

A 5% chance to randomly fail in CI is ridiculous, as is the overnight deprecation and removal. I was looking into using poetry but your thoughts have definitely made me reconsider.

Ответить
@dmytroparfeniuk2670
@dmytroparfeniuk2670 - 11.09.2023 09:44

true!
what about pipenv?

Ответить
@OkyCapriatto
@OkyCapriatto - 02.09.2023 00:55

The amount of issues / commits are out of control compared to pip. That's a red flag you need to check

Ответить
@DMSBrian24
@DMSBrian24 - 30.08.2023 14:20

they did... what......

Ответить
@maksimon519
@maksimon519 - 14.07.2023 16:26

something to manage tons of packages, cannot be a tons of packages itself

Ответить
@StephenBuergler
@StephenBuergler - 02.07.2023 22:18

What happened to easy install?

Ответить
@nadavcohen9493
@nadavcohen9493 - 07.06.2023 14:57

5% chance to fail XDD tf is this Pokemon??

Ответить
@DaveParr
@DaveParr - 14.04.2023 02:13

Did you need to install poetry inside a venv? Isn't it designed to be installed at system level, and then it effectively creates a venv?

Ответить
@float32
@float32 - 13.04.2023 05:34

There were some serious red flags, in the poetry issues page, and this just cements my decision to undo a weeks worth of work in converting my projects to poetry. I hate python.

Ответить
@michaelschmidt850
@michaelschmidt850 - 06.04.2023 13:35

It is best practice to make changes to the interface just in major version changes, so it makes absolut sense to default to be compatible just to the same major version of a dependency

Ответить
@Kyuubi840
@Kyuubi840 - 11.03.2023 07:58

I thought the "percent change to randomly fail" was just a hyperbole for the thumbnail. But they actually did it for real... wtf

Ответить
@petermoore8811
@petermoore8811 - 02.03.2023 16:08

I thought the video was clickbait and you were actually going to like it in the end but wow ok. I just started looking at poetry this morning because setuptools which i build pypi wheels in is so hard to manage. So what is the best practice to make pypi projects?

Ответить
@pedr0psb
@pedr0psb - 28.02.2023 19:47

What about pipenv?

Ответить
@tomgivoly6748
@tomgivoly6748 - 12.01.2023 00:20

Hi, I have a small question. My project has quite too many dependencies and of course I would want to decrease the number of dependencies but right now every time a package I am using is getting upgraded and it breaks my Code the I need to lock its version. What would you advise me to do? Lock all versions of outside packages so I my code wont have problems so often? Or is it better to always upgrade the external packages?
Thanks!

Ответить
@jamesmunroe6558
@jamesmunroe6558 - 07.01.2023 04:00

As someone who's dabbled in Poetry and really liked it, I found your video so informative that it got you my subscription. I'm really looking forward to watching some of your other videos!

Ответить
@walkdead94
@walkdead94 - 31.12.2022 18:50

Going from completely fine to breaking due to safety reasons is not that bad, but adding 5% chance error is comic and overthetop! Hahaha that is mess up!! Hahah

Ответить
@jajejijoju7874
@jajejijoju7874 - 16.12.2022 19:27

Seems that the problem is the requests library, not poetry

Ответить
@hunorportik5618
@hunorportik5618 - 05.11.2022 23:29

Wow, ty for sharing this! Not that long ago we've just dealt with flask lib, that had something similar where they simply changed the default behavior, although wasn't even intended to be removed at the end. I went crazy about it. You should do another video about how flask.request.json changed from version ~1.X -> 2.2.X it's default behav.

Ответить
@iandthopper
@iandthopper - 21.10.2022 20:16

I love/hate poetry. It is great until it is suddenly terrible.

Ответить
@joemckoy8332
@joemckoy8332 - 07.10.2022 00:02

Sorry this is off topic, it's my first time seeing a video of yours. I just gotta know, what keyboard is that?

Ответить
@NostraDavid2
@NostraDavid2 - 01.10.2022 23:58

Easy ("temp") fix for poetry: pin the version to something pre-1.2.0

Ответить
@ssbarnea
@ssbarnea - 01.10.2022 15:57

Thanks for doing this one, now I can send others asking about poetry to your video. Much easier than having endless debates about why some feel the need for Vogon poetry. There are also other reasons, but if I remember well they would fit in the same category as your example regarding making deliberate decisions that disconsider the user-base. That kind of aggressiveness around deprecations I unacceptable, at least in my view. I was even upset about how aggressive was pip around reporting that is outdated, but what poetry did took it a new level.

Ответить
@soklagenhet
@soklagenhet - 01.10.2022 14:01

Why do you use virtualenv and not venv? habbit, or actual reasons?

Ответить
@sillybuttons925
@sillybuttons925 - 01.10.2022 00:15

Ekk. I did use setup-py-upgrade as part of converting 10's of poetry pyproject.toml's to setup.cfg's so thanks for making that.

Ответить
@Quarky_
@Quarky_ - 30.09.2022 23:39

Adding randomness is pure evil. Must have caused so much head-scratching and aggravation to people who were on this version.

Edit: thanks about the pip-tools suggestion :)

Ответить
@chiragjn101
@chiragjn101 - 30.09.2022 23:15

I can think of some shenanigans based on the implementation 😂
since they are using the global implicit random instance, what if I set random.seed to something that would never cause a brownout failure.

Ответить
@Beat0X
@Beat0X - 30.09.2022 22:55

The greatest value for me in poetry is how it helps manage and hence democratize the use of pyproject.toml. This really helped set our team on a journey to sane packaging and dependency management.

The randomness in CI is wild though and we've definitely ran into weird stuff with poetry also the change in how hashes are handled before 1.2 compared to after which also broke our CI.

Ответить
@AceofSpades5757
@AceofSpades5757 - 30.09.2022 22:51

I had not heard of pip-tools but a brief look at it makes me think it could solve some problems I've had with dependency management. Thanks for introducing me to it!

Ответить
@AceofSpades5757
@AceofSpades5757 - 30.09.2022 22:45

I've heard a lot of good things about poetry, but have had a stack of problems when using it that made me avoid it for all my projects.

Ответить
@DavidDellsperger
@DavidDellsperger - 30.09.2022 21:47

As someone who continually has to deal with issues that only happen intermittently and seemingly with the same inputs having different behavior, this would 100% annoy the heck out of me. I can't believe that a fellow developer would think that this is an acceptable behavior to add, ESPECIALLY in a CI environment.

Ответить
@atugushev
@atugushev - 30.09.2022 21:14

I feel your pain!

Ответить
@chrisharrel8837
@chrisharrel8837 - 30.09.2022 21:03

I think this naturally calls for a video on piptools now

Ответить
@buck3213
@buck3213 - 30.09.2022 19:59

Interesting way to tell users that it’s time to fork or find something else

Ответить
@tandavme
@tandavme - 30.09.2022 19:43

Great video Anthony, thanks! It would be nice to watch a video about pip-tools

Ответить
@OrCarmi
@OrCarmi - 30.09.2022 19:24

That random in CI stuff is... something. Shows that the people behind this project haven't got a good understanding of how people build stuff in the wild, which is indeed disconcerting

Ответить
@xFrez
@xFrez - 30.09.2022 18:33

BROWNOUT_CHANCE = 5
GET_RID_OF_POETRY_CHANCE = 95

Ответить
@amirhessamtahmassebi678
@amirhessamtahmassebi678 - 30.09.2022 18:17

Poetry is still pretty good for mono-repo projects where you have 100 independent venvs; v1.2 has a lot of breaking changes; I agree they had to communicate better, but I guess poetry plays a big role in the future; especially in ML/DS world where side projects like `poetry-kernel` makes the venv management way easier

Ответить
@thexames3
@thexames3 - 30.09.2022 18:17

Anthony, what's up with the thumbnails😚? Looks good though 😎

Ответить
@mrswats
@mrswats - 30.09.2022 18:11

It's a very WTF decision. I moved away from poetry as well. now I need to convince work to do the same, but it'll be... hard given we migrated into poetry not that long ago...

Ответить