Skip to content

🔥 Drop vendored libs/ in favor of upstream packaging#2029

Merged
AndreMiras merged 1 commit into
kivy:masterfrom
AndreMiras:feature/drop-vendored-libs
May 11, 2026
Merged

🔥 Drop vendored libs/ in favor of upstream packaging#2029
AndreMiras merged 1 commit into
kivy:masterfrom
AndreMiras:feature/drop-vendored-libs

Conversation

@AndreMiras
Copy link
Copy Markdown
Member

The buildozer.libs.version + _structures modules are a 2015 vendored copy of pre-PEP-440 pypa/packaging, predating packaging being a declared dependency. packaging is now in install_requires and is already used for the build-tools sort key in android.py, so the vendored parser is redundant.

Switch the remaining import to packaging.version.parse and remove the buildozer.libs package and its setuptools entry.

The buildozer.libs.version + _structures modules are a 2015 vendored
copy of pre-PEP-440 pypa/packaging, predating packaging being a
declared dependency. packaging is now in install_requires and is
already used for the build-tools sort key in android.py, so the
vendored parser is redundant.

Switch the remaining import to packaging.version.parse and remove the
buildozer.libs package and its setuptools entry.
@AndreMiras AndreMiras requested a review from kuzeyron May 11, 2026 17:05
@AndreMiras AndreMiras merged commit ed59d36 into kivy:master May 11, 2026
26 checks passed
@AndreMiras AndreMiras deleted the feature/drop-vendored-libs branch May 11, 2026 17:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants