-
Notifications
You must be signed in to change notification settings - Fork 74
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
openSUSE still calling for Yast permissions in using PyPlot #202
Comments
Whichever dependency is invoking BinDeps can now add a zypper specific provider information, which may help here. Can you narrow the issue down to one of PyPlot's dependencies? |
Examining the Require list for PyPlot shows: julia 0.3, PyCall 1.1, Colors, LaTeXStrings, Compat 0.4, Conda. I tried a |
Sounds good. I actually have leap on a partition now so I can also play with this, but I don't boot into it as often as I like since I haven't figured out how to get hdmi output to work properly. |
It seems to be a good idea to wait a day or so for files to go stale, then odds are picked up more easily. This morning I did a git pull && make on Julia master, then retried Pkg.build() on the dependencies mentioned above in backwards order. Conda, Compat, LaTeXStrings, Colors all ok, but PyCall wanted to talk unnecessarily to Yast. Examining the current Require of PyCall we have [julia 0.4, Compat 0.7.1, Dates, Conda 0.1.6].
|
Dates is indeed in Base now, and anyway I wouldn't expect it to install dependencies as it's pure Julia and doesn't use BinDeps at all. But PyCall itself is the likely culprit, as it may call Python code which calls Yast. |
I think Elliot figured out why this was happening over at JuliaCrypto/Nettle.jl#68 - apparently opensuse has |
Some further information. Please note comments below apply to Leap 42.1 only, I understand that on openSUSE 13.1 a version of apt-get may still be provided but by a different package. Please see output below. Note that "success( The programme I have removed the zypper-aptitude compatibility completely so now hopefully I will not see Yast again, but will post back with results.
|
@tkelman We have managed to engage the interest of the openSUSE developers on this issue. There is an offer in openSUSE/zypper#98 to have calls to apt-get on openSUSE with zypper-aptitude installed to return the zypper version string with no call to Yast. This would enable BinDeps to receive a string from apt-get which does not contain the string "apt-get". I don't have an aptitude system to test, but would this enable a Julia test such as |
Something like that might work, but wouldn't necessarily help existing opensuse versions, right? Since
|
In #188 there was an effort to eliminate a call to Yast (ref: JuliaPy/PyPlot.jl#183) when issuing request
using PyPlot
by adding the zypper package manager. This seems to be now implemented in the release 0.3.21 installed on my machine this morning. Unfortunately this did not resolve the issue of the call to Yast, which still pops up asking for root permissions. Nothing is installed or removed; cancelling it allows the process to continue. It is an annoyance but cosmetic; just a note to file.The text was updated successfully, but these errors were encountered: