Comments (3)
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.
Trial-and-error version pinning
Both of those unpinned dependencies had recent releases:
- https://pypi.org/project/google-cloud-aiplatform/#history
- https://pypi.org/project/langchain-google-vertexai/#history
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.
@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)
- AutoML: Test harness trips when installing `catboost` on macOS with Python 3.11, works with Python 3.10
- Add examples on how to use CrateDB with Polars in Write and Read operations.
- Improve tutorials about Apache Superset HOT 1
- Dependency installation fails on Google Colab for `cratedb-vectorstore-rag-openai-sql.ipynb`
- LLM example `document_loader.ipynb` fails HOT 4
- ODBC on Windows, pyodbc, and unixODBC
- [Testing] Demonstrate CrateDB test layers with parameterization
- LangChain: `cratedb_rag_customer_support.ipynb` trips with `CellTimeoutError` HOT 2
- AutoML: CI trips with `ValueError: Input contains NaN.` HOT 7
- AutoML: CI trips with `CellTimeoutError` HOT 2
- Issue with requirements.txt HOT 3
- CI job trips on Apache Superset 2.x: `AttributeError: module 'flask.json' has no attribute 'JSONEncoder'` HOT 5
- [Tech Writing] CrateDB for Pythonistas with SQLAlchemy HOT 1
- [Java] crate-java-testing
- Issue with time series forecasting with pycaret notebook HOT 2
- Time Series: Modernize notebooks to use recent versions of pandas and SQLAlchemy
- Apache Kafka Streaming with PyFlink
- Use Python 3.10 on CI, at least for Jupyter Notebooks HOT 1
- TSML: Error in `timeseries-anomaly-detection.ipynb` HOT 5
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 cratedb-examples.