Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Errors in Kivy.org documentation: iOS Prerequisites #944

Open
HeRo002 opened this issue Oct 24, 2024 · 3 comments
Open

Errors in Kivy.org documentation: iOS Prerequisites #944

HeRo002 opened this issue Oct 24, 2024 · 3 comments

Comments

@HeRo002
Copy link

HeRo002 commented Oct 24, 2024

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 ))
@hemna
Copy link

hemna commented Nov 22, 2024

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
Copy link
Member

misl6 commented Jan 6, 2025

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.

@HeRo002
Copy link
Author

HeRo002 commented Jan 6, 2025

Thank you for your reply. :-)

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

No branches or pull requests

3 participants