Skip to content

fix: failed check graphrag version target when two "Version:" found#340

Merged
kevinaimonster merged 1 commit intomindverse:developfrom
keitheis:fix/check_graphrag_version_target
May 19, 2025
Merged

fix: failed check graphrag version target when two "Version:" found#340
kevinaimonster merged 1 commit intomindverse:developfrom
keitheis:fix/check_graphrag_version_target

Conversation

@keitheis
Copy link
Copy Markdown

graphrag is re-installed every time due to that setup.sh fails to find installed graphrag target version when two "Versions:" is found in the environment:

Version: 1.2.1.dev27
Metadata-Version: 2.3

when the output of poetry run pip show graphrag 2>/dev/nul is

Name: graphrag
Version: 1.2.1.dev27
Summary: GraphRAG: A graph-based retrieval-augmented generation (RAG) system.
Home-page:
Author: Alonso Guevara Fernández
Author-email: alonsog@microsoft.com
License: MIT
Location: /workspace/myapp/.venv/lib/python3.12/site-packages
Requires: aiofiles, azure-cosmos, azure-identity, azure-search-documents, azure-storage-blob, devtools, en-core-web-md, environs, fnllm, future, graspologic, httpx, json-repair, lancedb, networkx, nltk, numpy, openai, pandas, pyarrow, pydantic, python-dotenv, pyyaml, rich, spacy, tenacity, textblob, tiktoken, tqdm, typer, typing-extensions, umap-learn
Required-by:
Metadata-Version: 2.3
Installer: pip
Classifiers:
  License :: OSI Approved :: MIT License
  Programming Language :: Python :: 3
  Programming Language :: Python :: 3.10
  Programming Language :: Python :: 3.11
  Programming Language :: Python :: 3.12
Entry-points:
  [console_scripts]
  graphrag=graphrag.cli.main:app

Project-URLs:
  Source, https://github.com/microsoft/graphrag

@kevinaimonster kevinaimonster merged commit 71d2045 into mindverse:develop May 19, 2025
1 check passed
@keitheis keitheis deleted the fix/check_graphrag_version_target branch May 19, 2025 03:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants