Code Monkey home page Code Monkey logo

Comments (3)

amotl avatar amotl commented on May 24, 2024

Observations

@hammerhead reported that he experienced the problems in the area of pueblo[fileio]. As of its v0.0.9, this is the list of dependencies of this extra:

fileio = [
  "fsspec[abfs,dask,gcs,git,github,http,s3,smb]<2024.3",
  "pathlibfs<0.6",
  "python-magic<0.5",
  "yarl<1.10",
]

-- https://github.com/pyveci/pueblo/blob/v0.0.9/pyproject.toml#L95-L100

On the other hand, this is the list of dependencies of current development head, which deviates in the version of fsspec, which, in turn, also pulls in dask, but without specifying any version.

fileio = [
  "fsspec[abfs,dask,gcs,git,github,http,s3,smb]<2024.4",
  "pathlibfs<0.6",
  "python-magic<0.5",
  "yarl<1.10",
]

-- https://github.com/pyveci/pueblo/blob/71ff638/pyproject.toml

Thoughts

I don't see any immediate problems with the combination of dependencies, but the devil may well be in the details.

from cratedb-examples.

amotl avatar amotl commented on May 24, 2024

Trial-and-error version pinning

Both of those unpinned dependencies had recent releases:

Given that the local topic/machine-learning/llm-langchain/requirements.txt was updated on Mon Apr 15 2024, only the update to google-cloud-aiplatform 1.48.0 might be relevant.

@hammerhead: Can I ask you to try / play around with those commands on Google Colab, in order to find out about the dependency in question which is causing the package solver to detour into infinity?

This command should cause the symptom you are observing, right?

pip install --upgrade https://github.com/crate/cratedb-examples/raw/main/topic/machine-learning/llm-langchain/requirements.txt

What about that?

pip install --upgrade https://github.com/crate/cratedb-examples/raw/main/topic/machine-learning/llm-langchain/requirements.txt "google-cloud-aiplatform<1.48"

from cratedb-examples.

amotl avatar amotl commented on May 24, 2024

@hammerhead reported that he experienced the problems in the area of pueblo[fileio].

This patch gets rid of the dependency completely.

from cratedb-examples.

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.