Git Product home page Git Product logo

Comments (8)

timkpaine avatar timkpaine commented on July 20, 2024 1

the point is if someone is installing one package, they dont necessarily want to install all my specific dependency versions. an older ujson may work perfectly well, im just too lazy to check, and somebody may have a better reason (e.g. I dont enforce pandas versions on my stuff, it changes every version).

from jupyterlab_iframe.

timkpaine avatar timkpaine commented on July 20, 2024

Requirements are here

from jupyterlab_iframe.

timkpaine avatar timkpaine commented on July 20, 2024

Some URLs forbid being displayed in iframe, as you've discovered. The easiest example is www.google.com

from jupyterlab_iframe.

cboos avatar cboos commented on July 20, 2024

I've never used the requirements.txt mechanism, but it seems that having such a file won't play a role when calling pip install jupyterlab_iframe. This general dependency on ujson should rather be listed in the install_requires in setup.py (cf. https://packaging.python.org/discussions/install-requires-vs-requirements/#install-requires).

from jupyterlab_iframe.

timkpaine avatar timkpaine commented on July 20, 2024

#11

from jupyterlab_iframe.

jacobtomlinson avatar jacobtomlinson commented on July 20, 2024

For dependencies to be installed when installing this module with pip they also need to be in the setup.py.

from jupyterlab_iframe.

timkpaine avatar timkpaine commented on July 20, 2024

this forces satisfaction of those by default (unless you do something like pip install --no-deps). I generally avoid this on all my packages because 1, I dont actually want to look for the minimum compatible version and 2, I dont want to set it to the current version in case people are using older version of packages.

from jupyterlab_iframe.

jacobtomlinson avatar jacobtomlinson commented on July 20, 2024

I'm not sure I follow. When installing a package with pip it does not check the requirements.txt for further dependencies.

As you are distributing this package I would recommend including your dependencies so that the instructions in the README work as expected.

This conversation may be superseded by #22 anyway if you're happy with that change.

from jupyterlab_iframe.

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.