https://pantsbuild.org/ logo
#development
Title
# development
g

gorgeous-winter-99296

03/24/2023, 2:38 PM
I'm in in need of something like
poetry_requirements
but I want to actually use PEP formats and not Poetry. So
pyproject_requirements
. This seems a bit confusing to have both, so I'm wondering whether
poetry_requirements
should be renamed, use PEP-semantics by default and take a flag to enable Poetrys extensions? Or is that slated for deprecation too since Poetry lockfiles are removed now? Any thought? (I'll do the work, just wondering about approach)
h

happy-kitchen-89482

03/24/2023, 2:41 PM
poetry_requirements
won't be deprecated, as they are how you specify inputs to Pants
Poetry lockfiles are a different thing
(poetry requirements are inputs to those too, within poetry, of course)
So that's https://github.com/pantsbuild/pants/pull/16932 And it landed on 2.16.0a0
2.15 was very delayed + holidays; so some really old changes at this point have not made it to a stable version quite yet.
c

curved-television-6568

03/24/2023, 2:45 PM
(first appearance in 2.16.0.dev3)
g

gorgeous-winter-99296

03/24/2023, 2:46 PM
Ooooh, nice. So many places to check for "exists but not released yet". Awesome!
c

curved-television-6568

03/24/2023, 2:47 PM
that’s a good reason to keep a good and stable release cadence too..
e

enough-analyst-54434

03/24/2023, 2:48 PM
I've always wanted a no-branch (lazy branch) release process that releases as you go roughly with feature flags gating not-ready-yet. Sort of like Pex. Always ~stable, always releasing.
c

curved-television-6568

03/24/2023, 2:50 PM
that would be amazing. guess the release process would have to be streamlined first in order to make that feasible..?
e

enough-analyst-54434

03/24/2023, 2:51 PM
Yeah, that's the easy part. The harder part is philosophical alignment. Not many people like this sort of thing in my experience.
c

curved-television-6568

03/24/2023, 2:51 PM
haha.. as always, the tech part is rarely the biggest issue 😛
e

enough-analyst-54434

03/24/2023, 2:52 PM
There is a perception release branches, etc are more stable and well tested.
c

curved-television-6568

03/24/2023, 2:52 PM
like cheese, matures with age 😄
e

enough-analyst-54434

03/24/2023, 2:53 PM
Pex doesn't lazy branch. I've only used that once - with Apache Aurora when it was in-house at Twitter. We had a system called "vert" IIRC, and you did branch, but only in dire circumstances (we did it 2x IIRC) and the branch collapsed quickly once emergency was passed.
c

curved-television-6568

03/24/2023, 2:55 PM
at prev work, we had two different release models, based on “gitflow” and “github flow”, where the latter is just feature branches for dev work, which merge in to
main
or similar going forward.