PYX: The next step in Python packaging
321–330 of 479 posts
Re: PYX: The next step in Python packaging
#322>Modern I'll pass. I'd rather have the battle-tested old thing, thanks.
It's the default installation path for aider, for instance.
Re: PYX: The next step in Python packaging
#323Re: PYX: The next step in Python packaging
#324All python packaging challenges are solved. Lesson learned is that there is not a single solution for all problems. getting more strings attached with VC funded companies and leaning on their infrastructure is a high risk for any FOSS community.
Re: PYX: The next step in Python packaging
#325Re: PYX: The next step in Python packaging
#3261. do dev in an isolated environment like docker
2. install deps from config - ie. build a new image when adding a dep
Re: PYX: The next step in Python packaging
#327Earlier quoted context omitted.
What's wrong with just using virtualenv. I never used anything else, and I never felt the need to. Maybe it's not as shipping l shiny as the other tools, but it just works.
The problem is you can do whatever you want in it, and then have no way of reproducing that. pyproject.toml tries to fix it, poetry kept wanting to use their own wonky names for the tags, I'm not sure why. Once that is standardized, venvs should be cattle and not pets. That is all that is needed. UV makes that fast by hardlinking in the libraries and telling you the obvoius (that venvs should be cattle and not pets)…
Re: PYX: The next step in Python packaging
#328I've been burned too many times by embracing open source products like this. We've been fed promises like these before. They will inevitably get acquired. Years of documentation, issues, and pull requests will be deleted with little-to-no notice. An exclusively commercial replacement will materialize from the new company that is inexplicably missing the features you relied on in the first place.
This is a valid concern, but astral just has an amazing track record. I was surprised to see the community here on HN responding so cautiously. Been developing in python for about a decade now- whenever astral does something I get excited!
Microsoft – who invented embrace, extend, and extinguish – own NPM, but I don’t see people wringing their hands over them in every thread that mentions NPM. But you mention Astral here or on Reddit and people line up to tell you it’s only a matter of time before they fuck people over. Why the disparity?
Re: PYX: The next step in Python packaging
#329Earlier quoted context omitted.
Node ecosystem still has the problem where if you try to build a project two years later, chances are good it won't work, because breaking changes are so common, and this is then multiplied across all the tiny packages that are dependencies of your dependencies.
Don't lockfiles help?
Re: PYX: The next step in Python packaging
#330I've been burned too many times by embracing open source products like this. We've been fed promises like these before. They will inevitably get acquired. Years of documentation, issues, and pull requests will be deleted with little-to-no notice. An exclusively commercial replacement will materialize from the new company that is inexplicably missing the features you relied on in the first place.
For what it's worth, I understand this concern. However, I want to emphasize that pyx is intentionally distinct from Astral's tools. From the announcement post: > Beyond the product itself, pyx is also an instantiation of our strategy: our tools remain free, open source, and permissively licensed — forever. Nothing changes there. Instead, we'll offer paid, hosted services that represent the "natural next thing you ne…