Code Monkey home page Code Monkey logo

Comments (8)

Tortar avatar Tortar commented on June 2, 2024 2

Hi @arisliang

I think the simplest solution is to update to the v6 version of the library, it is still unreleased, so you need to use ]dev Agents to install it...actually you need to wait till #949 is resolved (just if you want to use deprecated methods, which is not good anyway :D) which should happen quickly, I verified it works after merging that pr

The breakage is probably due to the release of Makie 0.20

from agents.jl.

Tortar avatar Tortar commented on June 2, 2024 1

Actually the ui for registering includes choosing a branch https://juliahub.com/ui/Packages, so we can probably add a new branch with commits until 5.17.1 + a new commit fixing the problem and release it, not entirely sure this is the right procedure though because I've never done it

from agents.jl.

arisliang avatar arisliang commented on June 2, 2024

@Tortar thank you very much for pointing to the right direction.

While waiting for the v6 to be out (current latest v5.17.1 is released half year ago), is there any previous version whose plotting doesn't have this issue?

Assume we don't need the latest features from either Agents nor any of its dependencies.

from agents.jl.

Tortar avatar Tortar commented on June 2, 2024

To solve this issue on previous versions it woul be enough to specify in project.toml that Makie 0.19 is required.

However, I'm not sure at the moment how to backport only some commits without doing something drastic: e.g. move all the other commits to a new branch (v6 branch) and add this one and release a new version.

Maybe there is a way to specify to registrator to pull from a branch different from main where we add only this commit?

Maybe your expertise with release cycles @Datseris could help in this?

from agents.jl.

Datseris avatar Datseris commented on June 2, 2024

Actually the ui for registering includes choosing a branch https://juliahub.com/ui/Packages, so we can probably add a new branch with commits until 5.17.1 + a new commit fixing the problem and release it, not entirely sure this is the right procedure though because I've never done it

Yes, that is correct.

from agents.jl.

Tortar avatar Tortar commented on June 2, 2024

Now it should be good, solved by adding dependencies at compatible versions in main...fix-agents-again, your example now works with the released version

from agents.jl.

arisliang avatar arisliang commented on June 2, 2024

Thanks for the fix.

The fix needs v5.17.2 right? A bit confused on how to update it, is it directly ]update? Unfortunately it's not updating to v5.17.2 in this way.

When use ]status --outdated -m, it shows:

⌃ [46ada45e] Agents v5.17.1 (<v5.17.2)

A bit confused by this status. On one hand, it shows Agents is upgradable to v5.17.2, on the other, it's not updating when use ]update.

After another addition ]add [email protected], Agents is upgraded to v5.17.2.

from agents.jl.

Tortar avatar Tortar commented on June 2, 2024

Yes, I think that it doesn't update automatically because it needs to downgrade Makie, but this is strange to me too, I thought it would have done it automatically actually. Maybe if you activate an environment it will work

from agents.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.