-
Notifications
You must be signed in to change notification settings - Fork 174
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
Can not build python plugin for Debian package #2407
Comments
The required package is already in Debian, you just need to use the system package if it is available. |
I don't really see a solution for building the far2l package with a python virtual environment in the form that is done using cmake. When I created the plugin, I did not want to have one Python for everything, but dedicated Pythons for subsequent tasks, hence the idea with virtualenv. If I am not mistaken, during the installation of the Debian package, you can only say which packages it uses and I think you cannot create a virtual Python environment during the installation of the Debian package. The only solution I see is to change the python plugin. |
The Debian build environment will have a working The only thing which is not available is And when the package is built, it will have runtime dependencies on all modules and on the Python library version which it was built against. What else is needed that Debian does not provide? |
only a working cffi is required, rest is or can be made optional |
Okay, so my wishlist (as a Debian developer) is changing the build system to not try to install packages from the internet if they are already installed. |
Please check it out the fix: #2420 far2l uses python interpreter from system, cffi is used from the system packages, virtualenv is not used, no packages are downloaded from pypi |
please merge? please release? |
merge before release |
another fix #2435 - python included in packaging build |
@m32
Your advice would be appreciated. |
python plugin uses only packages from system, just run apt install python3-cffi |
Can we consider this problem closed now and ship python inside Debian package? |
fine for me however the pkg still is broken in sid and i am waiting for a new release |
@m32 I still see changes. Please let us know as soon as it's ready for release. |
I don't plan to make any more changes. |
@m32 still a little delay on start if far2l is built with Python plugin. If the plan to include it in Debian, can some kind of lazy loading be implemented? UPD: according to @shmuz test, start time is: Idea by @akruphi |
Unfortunately I can't do anything about it, python has to load in the main thread of the program and the trick of starting it in the background didn't work. Even if it worked, the problems would come out later - I expect that because not every library will be able to work correctly in a thread other than the main message loop (sqlite, gtk, wx?) |
Build script is trying to fetch
debugpy
over the Internet, but it is not allowed by Debian build process:@m32
The text was updated successfully, but these errors were encountered: