martinling / imusim

IMUSim - see http://www.imusim.org/
GNU General Public License v3.0
125 stars 72 forks source link

imusim depends on old simpy API #5

Open GregoryEAllen opened 8 years ago

GregoryEAllen commented 8 years ago

As such, it is fairly non-functional on current platforms.

SimPy changed to simpy, and SimPy.Simulation seems to no longer exist.

imusim seems to be fairly deeply dependent on SimPy.Simulation.

Is this fixable, or is the dependency too deep?

martinling commented 8 years ago

Hi Gregory,

I have recently run into this myself - I'd not used IMUSim for a while myself but picked it up again for a project.

Per the recommendation here, I have changed the requirement in setup.py to simpy>=2.3,<3, so that it at least pulls in a compatible version.

There is a guide to porting from SimPy 2 to SimPy 3. It looks like it would be quite straightforward.

GregoryEAllen commented 8 years ago

Do you have any plans to bring IMUSim forward to modern SimPy?