aws-powertools / powertools-lambda-python

A developer toolkit to implement Serverless best practices and increase developer velocity.
https://docs.powertools.aws.dev/lambda/python/latest/
MIT No Attribution
2.83k stars 389 forks source link

Maintenance: Create a development release versions in pypi #4506

Closed leandrodamascena closed 3 months ago

leandrodamascena commented 3 months ago

Why is this needed?

Development releases allow customers to preview upcoming changes in advance. Although these releases should not be used in production, this allows customers to test bug fixes, new features, and other changes in advance.

To add this new package in Pypi, we must follow the Python packaging guide defined here for Development releases: https://packaging.python.org/en/latest/specifications/version-specifiers/#public-version-identifiers

Which area does this relate to?

Automation

Solution

No response

Acknowledgment

heitorlessa commented 3 months ago

yup, this would be technically a pre-release in PyPi.

What I love about this is that customers would have to intentionally want to install a pre-release version, allowing bugfixes to land quicker for those who can't wait w/o impacting stability for the majority of customers.

leandrodamascena commented 3 months ago

Assinging to @heitorlessa! BTW, I prefer to use the .alpha name as suffix.

heitorlessa commented 3 months ago

@leandrodamascena how much of a deal breaker it is if we can't have .alpha suffix? I asked poetry a question as they hard code a suffix: https://github.com/orgs/python-poetry/discussions/9496

If it is, I might need an extra day to think of a non-fragile way of letting Poetry resolve a newer pre-release version, parse it, then replace pyproject.toml and shared/version.py with the .alpha suffix.

Listing out requirements in the meantime shortly

leandrodamascena commented 3 months ago

Let's keep the standard and not complicate things, Heitor. If they follow the specification, we will also follow and use a. 🚀

heitorlessa commented 3 months ago

Perfect, figured as much.. tks for confirming!


List of requirements - lemme know if I missed anything.


Separate PR

github-actions[bot] commented 3 months ago

⚠️COMMENT VISIBILITY WARNING⚠️

This issue is now closed. Please be mindful that future comments are hard for our team to see.

If you need more assistance, please either tag a team member or open a new issue that references this one.

If you wish to keep having a conversation with other community members under this issue feel free to do so.

github-actions[bot] commented 3 months ago

This is now released under 2.40.0 version!