-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Several issues when installing packages via pip #1745
Comments
Hopefully will be solved if you use a
Can you name a specific package to make it easier for someone of us to look into this if we get the time? Is it a recipe package or an external/pip one? |
i have not taken a look into #1625, but with just guessing i fear this does not resolve the syncing issue (i may be wrong)
e.g.
|
@rnixx what are the steps to reproduce? build anything with |
|
Did you specify That old packages are left around is indeed a little unfortunate, and should be fixable |
|
Because this contains multiple issues that have multiple solutions, this issue is going to be impossible to close - we will never know if it is all fixed. @rnixx: Can you please raise one issue for each remaining problem? |
This issue has been automatically closed because there has been no response to our request for more information from the original author. With only the information that is currently in the issue, we don't have the means to take action. Please reach out if you have or find the answers we need so that we can investigate further. |
Versions
Description
When defining requirements for p4a which get installed via pip, there are several issues:
If requirements list gets modified and p4a re-runs, packages containing namespace packages (https://packaging.python.org/guides/packaging-namespace-packages/) are not installed properly (although they are if deleting
.buildozer
folder and build from scratch).Package install dependencies are ignored. They get installed in the local python, but are never synced to
.buildozer/android/platform/build/build/python-installs/APPNAME/
unless defined explicitely. Some kind ofpip freeze
call before syncing or similar might be needed in order to collect dependencies.Package sync to
.buildozer/android/platform/build/build/python-installs/APPNAME/
should happen at each p4a run to ensure sane python package structure if anything changes.zope
andzope_interface
recipes are obsolete.zope.interface
installation works properly via pip (i think since @opacam refactoring). The fact that namespace packages contain no__init__.py
is perfectly fine, the relevant information lives in related*-nspkg.pth
files (e.g.zope.interface-4.6.0-py3.5-nspkg.pth
) which get copied properly.The text was updated successfully, but these errors were encountered: