Fix and modernize packaging and versioning#211
Merged
oittaa merged 1 commit intooittaa:mainfrom Jun 11, 2025
Merged
Conversation
Contributor
Author
|
hey @oittaa could you help review this PR when you get a chance? Thanks a lot Airflow OSS depends on https://pypi.org/project/uuid6/ and the inconsistent package metadata from uuid6 causes package installation to fail within enterprise environments as detailed in #210 |
1fanwang
commented
May 5, 2025
Owner
|
Thanks! Let's see how it goes. |
This was referenced Jun 11, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
closes #210, #191, #154
@oittaa
cc @BenediktBurger @andrewzah
This PR modernizes the package configuration by:
Issue originated from unblocking enterprise adoption of Airflow 3.0 which depends on this package apache/airflow#43243
Requested uuid6===2024.7.10 from https://files.pythonhosted.org/packages/2c/56/2560a9f1ccab9e12b1b3478a3c870796cf4d8ee5652bb19b61751cced14a/uuid6-2024.7.10.tar.gz#sha256=2d29d7f63f593caaeea0e0d0dd0ad8129c9c663b29e19bdf882e864bedf18fb0 has inconsistent version: expected '2024.7.10', but metadata has '0.0.0.dev0' ERROR: Could not find a version that satisfies the requirement uuid6===2024.7.10pyproject.tomlas recommended by PyPARef
https://packaging.python.org/en/latest/tutorials/packaging-projects/
https://peps.python.org/pep-0621/
https://packaging.python.org/en/latest/tutorials/packaging-projects/#configuring-metadata
https://pip.pypa.io/en/stable/reference/build-system/pyproject-toml/
Changes
setup.pywithpyproject.tomlfor packaging configuration__init__.pyto expose package versionTesting