kivy/kivy-ios

Errors in Kivy.org documentation: iOS Prerequisites

Opened this issue · 3 comments

Hi!

This Kivy-iOS install guide: https://kivy.org/doc/stable/guide/packaging-ios-prerequisites.html

Contains these 3 commands, but 2 of them are erroneous, at least on my brand new install of MacOS Sequoia 15.0.1 (on a MacBook Pro from Mid 2012):

$ brew install autoconf automake libtool pkg-config
$ brew link libtool
$ pip install Cython==3.0.0

  1. When I run "brew link libtool" I get this warning:

(venv) henrikroseno@MBPtilhdeHenrik ~ % brew link libtool
Warning: Already linked: /usr/local/Cellar/libtool/2.5.3
To relink, run:
brew unlink libtool && brew link libtool

  1. When I run "pip install Cython==3.0.0" I get this error, and I have to reinstall version 0.29.36:

(venv) henrikroseno@MBPtilhdeHenrik ~ % pip install Cython==3.0.0
Collecting Cython==3.0.0
Downloading Cython-3.0.0-cp39-cp39-macosx_10_9_x86_64.whl.metadata (3.1 kB)
Downloading Cython-3.0.0-cp39-cp39-macosx_10_9_x86_64.whl (3.1 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.1/3.1 MB 6.3 MB/s eta 0:00:00
Installing collected packages: Cython
Attempting uninstall: Cython
Found existing installation: Cython 0.29.36
Uninstalling Cython-0.29.36:
Successfully uninstalled Cython-0.29.36
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
kivy-ios 2024.3.17 requires Cython==0.29.36, but you have cython 3.0.0 which is incompatible.
Successfully installed Cython-3.0.0

It's also quite confusing that these 2 install guides differ quite a lot from each other:

  1. https://kivy.org/doc/stable/guide/packaging-ios-prerequisites.html

  2. https://github.com/kivy/kivy-ios/

Versions

  • Python : 3.9.6
  • MacOS version : Sequoia 15.0.1
  • XCode Version : 16
  • Cython version : (( 0.29.36 ))

I'm running into this as well. Pillow-11.0.0 will fail to build against cython==0.29.36. It must be 3.0.0.

misl6 commented

For (1), that's not necessarily an error, is just homebrew which says that this dependency is already installed. Some users might have it installed, some not.

For (2) now we support targeting specific Cython version for each recipe via #957, and Cython is not anymore a dependency in kivy-ios master branch.

But I agree we have some inconsistency between kivy-ios and Kivy.org docs regarding iOS. Will discuss about it with the team to find an appropriate solution.

Thank you for your reply. :-)