Giter VIP home page Giter VIP logo

isv's People

Contributors

ceriottm avatar sandipde avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

miniland1333

isv's Issues

Pin required dependencies due to breaking changes

Hello ISV developers,

I downloaded a copy of ISV to try out for the first time, and it took me a while to get it operational due to dependency-related issues. Specifically, some of the dependencies have had breaking changes since ~2019, so I experimented with pinning to older dependency versions until I eventually got a combination that worked. I even had to use python v3.8 instead of v3.10 due to some deprecations. If it is useful for you, I've included my pip install command with the versions pinned that worked for me:

pip install jinja2==2.10 pyyaml argparse tornado==4.5.3 numpy bokeh==0.12.14 pandas==1.3.5 selenium pillow ase markupsafe==2.0.1

After installing these pinned versions, it started working and I was able to run the example described in the README! I'm having fun exploring this example, and I do like that you included the interactive tour of its features.

I did spend some time attempting to migrate the code to a later version of Bokeh, but it seems that the Bokeh interface has quite a few differences between 0.12.14 and 3.3.1. For now, sticking with these older dependencies works fine for me since it seems like updating the code for compatibility with the latest dependencies would take a good chunk of effort.

Based on my experience here, would you be able to please update the README with fully pinned versions of all the dependencies so that future dependency updates don't introduce any more breaking changes?

Thanks for looking into this issue and for developing such a useful tool!

P.S. If you are interested in the specific deprecations per dependency, here are each of the breaking changes that I encountered:

  • python3 version must be below v3.10 due to ImportError: cannot import name 'Mapping' from 'collections'. I was able to successfully use python v3.8.
  • bokeh due to ImportError: cannot import name 'TabPanel' from 'bokeh.models.widgets' and many other similar issues
  • pandas due to AttributeError: 'DataFrame' object has no attribute 'iteritems'
  • markupsafe due to ImportError: cannot import name 'soft_unicode' from 'markupsafe'
  • jinja due to ImportError: cannot import name 'Markup' from 'jinja2'

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.