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

Update to 0.7 and 1.0 #156

Merged
merged 2 commits into from
Sep 4, 2018
Merged

Update to 0.7 and 1.0 #156

merged 2 commits into from
Sep 4, 2018

Conversation

timholy
Copy link
Member

@timholy timholy commented Sep 1, 2018

No description provided.

ind = inds[i]
push!(sigs, Signal(first(ind)))
push!(axs, Axis{n}(ind))
end
end
Signal(zr), SliceData{dims[2] < dims[1]}((sigs...), (axs...))
Signal(zr), SliceData{dims[2] < dims[1]}((sigs...,), (axs...,))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is the trailing , here needed now?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think so, and in fact I believe this was added by Femtocleaner (which I ran locally).

julia> x = (1,2)
(1, 2)

julia> s = (x...)
┌ Warning: Deprecated syntax `(x...)` at REPL[2]:1.
│ Use `(x...,)` instead.
└ @ REPL[2]:1
(1, 2)

@timholy
Copy link
Member Author

timholy commented Sep 1, 2018

Waits on JuliaLang/METADATA.jl#17497 (which I had forgotten was justifiably blocked), but otherwise this is hopefully good to go.

@timholy timholy closed this Sep 3, 2018
@timholy timholy reopened this Sep 3, 2018
@timholy
Copy link
Member Author

timholy commented Sep 3, 2018

Seems blocked by JuliaIO/ImageMagick.jl#133

@RalphAS
Copy link

RalphAS commented Sep 3, 2018

If you want the Travis tests to run, you need to force use of a newer libz.so. (Gtk.jl loads the system version which is too old on the Ubuntu used by Travis.) This can be done by evaluating import ImageMagick before running the Pkg.test function. (Maybe `Pkg.add("ImageMagick") first.)

timholy added a commit that referenced this pull request Sep 3, 2018
@RalphAS
Copy link

RalphAS commented Sep 3, 2018

Sorry for the misleading advice; I forgot that Pkg runs tests in a separate environment. I think the import ImageMagick has to go at the top of runtests.jl (before using ImageView or using Gtk). That worked for me just now on a system with similar libz/ImageMagick issues.

@timholy
Copy link
Member Author

timholy commented Sep 3, 2018

It's also weird that QuartzImageIO got installed. I will look into this later, gotta run now.

@timholy
Copy link
Member Author

timholy commented Sep 4, 2018

So this was worth merging, but I worry that users of older Ubuntu versions will encounter the same problem and have to manually use the same workaround. Short of building the new version statically into ImageMagick, I'm not sure I see a fix. Do you?

@RalphAS
Copy link

RalphAS commented Sep 4, 2018

This is an example of a larger problem in the foreign library business. I got a bit carried away and raised an alarm about this on Discourse, where Stefan K made it clear that the Pkg crew hopes to improve the situation.

In this instance, there has been talk of using BinaryBuilder for Gtk, which might fix it. (I'm skeptical of that project, given how deep the linking of Gtk goes into the system, but I'll be happy to be surprised.)

In the interim, it would be good to provoke more useful error messages. That's a nice challenge.

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

Successfully merging this pull request may close these issues.

3 participants