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

Requirements: Requests, Ssl #539

Closed
wsdt opened this issue Aug 10, 2017 · 3 comments
Closed

Requirements: Requests, Ssl #539

wsdt opened this issue Aug 10, 2017 · 3 comments

Comments

@wsdt
Copy link

wsdt commented Aug 10, 2017

I need the package requests and Openssl/Pyopenssl or similar for my project.

But unfortunately i cannot use Python3crystax because 'requests' uses python2. So i have to use python2 in the buildozer-spec-file.

After adding openssl/pyopenssl i need to import cryptography in the requirements, because it depends on that. But cryptography cannot be added while compiling. I get several errors like 'Unknown url type 'https'' or 'Cannot unpack tar.gz "tar" not an archive'

I tried everything so I assume that there must be a problem with buildozer.

Thank you.

@SamuelHaidu
Copy link

I use requests without cryptography in requirements.
You can try: requests, pyasn1, ndg_httpsclient, certifi
the libcrypto.so and libssl.so will be added

@Fisk24
Copy link

Fisk24 commented Nov 8, 2017

I'm also having this issue when try adding your requirements the build fails

[INFO]: No existing dists meet the given requirements!
[INFO]: No dist exists that meets your requirements, so one will be built.
[ERROR]: Didn't find any valid dependency graphs.
[ERROR]: This means that some of your requirements pull in conflicting dependencies.
[ERROR]: Exiting.
Command failed: /usr/bin/python -m pythonforandroid.toolchain create --dist_name=lgt --bootstrap=sdl2 --requirements=kivy,python3crystax,requests,pyasn1,ndg_httpsclient,certifi --arch armeabi-v7a --copy-libs --color=always --storage-dir=/home/fisk/Projects/Python/ram_test/.buildozer/android/platform/build

Buildozer failed to execute the last command
The error might be hidden in the log above this error
Please read the full log, and search for it before
raising an issue with buildozer itself.
In case of a bug report, please add a full log with log_level = 2

@inclement
Copy link
Member

Closing as stale, requests and openssl are currently working fine in p4a.

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

4 participants