Skip to content

recipes: pyjnius: drop stale six dependency - #3379

Merged
AndreMiras merged 1 commit into
kivy:developfrom
f321x:202609_pyjnius_drop_six
Oct 9, 2026
Merged

AndreMiras merged 1 commit into
kivy:developfrom
f321x:202609_pyjnius_drop_six

Conversation

@f321x

@f321x f321x commented Sep 11, 2026

Copy link
Copy Markdown
Contributor

The six recipe was removed with the Python 3.14 update (#3242), but pyjnius kept 'six' in its depends.
A dependency without a recipe is handed to pip as a plain python module, so every build that pulls in pyjnius installs six into the target site-packages for nothing: pyjnius dropped its six requirement in 1.5.0 (kivy/pyjnius#619) and 1.7.0 only declares dev/ci extras.

@f321x f321x changed the title pyjnius: drop stale six dependency recipes: pyjnius: drop stale six dependency Sep 11, 2026
@f321x
f321x force-pushed the 202609_pyjnius_drop_six branch 2 times, most recently from 16f1ba6 to 0ac6a96 Compare September 11, 2026 12:32
@f321x
f321x force-pushed the 202609_pyjnius_drop_six branch from 236b40d to bf1f124 Compare October 8, 2026 08:59

@AndreMiras AndreMiras left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this cleanup!
It surfaced a brittle assumption in test_blacklist(). The dependency resolution can select genericndkbuild as a valid alternative, but the test expects the two build orders to differ only by libffi.
I'm preparing a PR (draft) that addresses it refs #3388
Once confirmed and merged let's rebase and merge yours.

AndreMiras added a commit to AndreMiras/python-for-android that referenced this pull request Oct 9, 2026
Compare required recipes using the same bootstrap while allowing
`genericndkbuild` as a valid dependency choice.

Refs kivy#3379
@AndreMiras

Copy link
Copy Markdown
Member

Just merged the fix, could you rebase please?

The six recipe was removed with the Python 3.14 update (kivy#3242), but
pyjnius kept 'six' in its depends. A dependency without a recipe is
handed to pip as a plain python module, so every build that pulls in
pyjnius installs six into the target site-packages for nothing:
pyjnius dropped its six requirement in 1.5.0 (kivy/pyjnius#619) and
1.7.0 only declares dev/ci extras.
@f321x
f321x force-pushed the 202609_pyjnius_drop_six branch from bf1f124 to 7711bce Compare October 9, 2026 17:55
@f321x

f321x commented Oct 9, 2026

Copy link
Copy Markdown
Contributor Author

Rebased from bf1f124 to 7711bce

@AndreMiras
AndreMiras merged commit ae32615 into kivy:develop Oct 9, 2026
39 checks passed
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