Comments (8)
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.
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.
@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.
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.
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.
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.
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.
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)
- Remove the blank axis for the space plot for a model with no space
- Create abmtime function for StandardABM HOT 17
- Fix reset button working in `abmexploration`
- Reconsider the deprecation of adding agents with an agent instance HOT 7
- A compactify macro to help to create a unique-type agent for multi-agent models HOT 8
- continuous-event/-time ABM? HOT 8
- flocking model example does not work HOT 3
- Documentation does not build
- error trying to run abmexploration HOT 6
- Test suite sometimes does not pass in PRs HOT 3
- Deprecate `as, am, ac` keywords for longer, more descriptive names HOT 1
- [FR] make the `@agent` macro define pretty printing as well HOT 1
- Add comments to the agents.jl file
- Syntax check of `@multiagent` is not as correct as it should be: HOT 3
- Subtyping type parameterization does not work in `@multiagent`. HOT 13
- Changelog for v6 needs a dedcated deprecations section
- New DevDoc entry for making new ABM types HOT 2
- Models.jl removed from main in current build? HOT 6
- Discuss redefining agent types in the docs
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from agents.jl.