Giter Site home page Giter Site logo

Tag new release? about kerneldensity.jl HOT 17 CLOSED

juliastats avatar juliastats commented on June 15, 2024
Tag new release?

from kerneldensity.jl.

Comments (17)

ararslan avatar ararslan commented on June 15, 2024 2

Sure, will do.

from kerneldensity.jl.

ararslan avatar ararslan commented on June 15, 2024 1

He did indeed: #31 😄

from kerneldensity.jl.

tkelman avatar tkelman commented on June 15, 2024

0.1.2 and master are identical

$ cat KernelDensity/versions/0.1.2/sha1
48cfa6aec1acb6de62b2aee547281293a298eeef

from kerneldensity.jl.

ranjanan avatar ranjanan commented on June 15, 2024

Ah, I see. I got a deprecation warning the first time I did Pkg.test, because of this line. Pkg.checkout made it go away, so I posted this issue here.

WARNING: symbol is deprecated, use Symbol instead.
 in depwarn(::String, ::Symbol) at ./deprecated.jl:64
 in symbol(::String, ::Vararg{String,N}) at ./deprecated.jl:30
 in @glue(::Any) at /Users/ranjan/.julia/v0.5/KernelDensity/src/KernelDensity.jl:21
 in include_from_node1(::String) at ./loading.jl:426
 in macro expansion; at ./none:2 [inlined]
 in anonymous at ./<missing>:?
 in eval(::Module, ::Any) at ./boot.jl:234
 in process_options(::Base.JLOptions) at ./client.jl:239
 in _start() at ./client.jl:318
while loading /Users/ranjan/.julia/v0.5/KernelDensity/src/KernelDensity.jl, in expression starting on line 28

from kerneldensity.jl.

ranjanan avatar ranjanan commented on June 15, 2024

Interestingly, after Pkg.free and Pkg.test I'm not able to reproduce this.

from kerneldensity.jl.

ranjanan avatar ranjanan commented on June 15, 2024

Ah, wait, I get this warning during precompilation. That's why the first Pkg.add gave me that warning.

from kerneldensity.jl.

tkelman avatar tkelman commented on June 15, 2024

Looks like it depends on whether or not you have PyPlot or Winston installed. That @glue macro has the same precompilation issue that Requires.jl does, and should probably be replaced with something that uses whatever the small piece of Plots.jl or RecipesWhatever you're supposed to use now.

from kerneldensity.jl.

ranjanan avatar ranjanan commented on June 15, 2024

What does this have to do with PyPlot or Winston? I didn't understand your comparison.

I think just putting @compat Symbol in that line would fix this.

from kerneldensity.jl.

tkelman avatar tkelman commented on June 15, 2024

Look at what the macro's used for.

@glue Winston
@glue PyPlot

If this package did plotting in a more modern precompilation-compatible way it wouldn't need to define that macro at all.

from kerneldensity.jl.

ranjanan avatar ranjanan commented on June 15, 2024

Oh okay. So, do you think a refactor of this package to use Plots instead is required?

from kerneldensity.jl.

tkelman avatar tkelman commented on June 15, 2024

For it to properly be precompile-compatible (and therefore for any other packages that depend on this one to be correctly precompile-compatible), yes. But at the moment you could just fix the deprecation.

from kerneldensity.jl.

ararslan avatar ararslan commented on June 15, 2024

I'd be in favor of removing the plotting stuff from here entirely. If it belongs anywhere I would think it'd be StatPlots. At the very least we could just give an example in the readme or whatever on how to plot if a plotting package is available.

from kerneldensity.jl.

tkelman avatar tkelman commented on June 15, 2024

It looks like StatPlots depends on this package, so that sounds ideal.

from kerneldensity.jl.

ranjanan avatar ranjanan commented on June 15, 2024

@ararslan Shall I put together a PR removing plotting entirely then?

from kerneldensity.jl.

ararslan avatar ararslan commented on June 15, 2024

@ranjanan Sure, if you want to then go for it. 👍 I can do it if you'd rather not.

from kerneldensity.jl.

tlnagy avatar tlnagy commented on June 15, 2024

Hey @ranjanan, did you have time to get that PR together?

from kerneldensity.jl.

ranjanan avatar ranjanan commented on June 15, 2024

Now that #31 has merged, can we tag a new release please?

from kerneldensity.jl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.