Skip to content

fix: add missing core dependencies and macOS installation troubleshooting guide#421

Open
aryunewaskar77-art wants to merge 1 commit into
kubeedge:mainfrom
aryunewaskar77-art:fix/missing-core-dependencies-requirements
Open

fix: add missing core dependencies and macOS installation troubleshooting guide#421
aryunewaskar77-art wants to merge 1 commit into
kubeedge:mainfrom
aryunewaskar77-art:fix/missing-core-dependencies-requirements

Conversation

@aryunewaskar77-art
Copy link
Copy Markdown

What this PR does

Fixes missing dependencies that cause ModuleNotFoundError on every fresh install, and adds a troubleshooting section to the installation guide documenting the sedna version conflict.

Problem

New contributors attempting a fresh install hit the following errors in sequence with no guidance:

  1. ModuleNotFoundError: No module named 'colorlog'
  2. ModuleNotFoundError: No module named 'yaml'
  3. ModuleNotFoundError: No module named 'sedna' (PyPI version too old)
  4. ImportError: cannot import name 'JsonlDataParse' from 'sedna.datasources'

None of these are documented anywhere. The correct fix (using the bundled sedna wheel) is not mentioned in the install guide.

Changes

  • requirements.txt: added colorlog>=4.7.2 and PyYAML>=6.0
  • docs/guides/how-to-install-ianvs.md: added troubleshooting section covering all three issues and a recommended install sequence for macOS

Verification

Verified working on:

  • macOS (Apple Silicon)
  • Python 3.14
  • pip 25.x
python benchmarking.py --help
# output: usage: ianvs [-h] [-f [BENCHMARKING_CONFIG_FILE]] [-v]

Related issues

Related to #230

@kubeedge-bot
Copy link
Copy Markdown
Collaborator

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: aryunewaskar77-art
To complete the pull request process, please assign jaypume after the PR has been reviewed.
You can assign the PR to them by writing /assign @jaypume in a comment when ready.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@kubeedge-bot
Copy link
Copy Markdown
Collaborator

Welcome @aryunewaskar77-art! It looks like this is your first PR to kubeedge/ianvs 🎉

@kubeedge-bot kubeedge-bot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label May 9, 2026
@aryunewaskar77-art aryunewaskar77-art force-pushed the fix/missing-core-dependencies-requirements branch from f53db30 to a03391b Compare May 9, 2026 00:48
Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the Ianvs installation guide by adding a troubleshooting section for macOS/Linux and a recommended installation sequence. It also adds colorlog and PyYAML to the requirements.txt file. Feedback from the review suggests removing redundant troubleshooting steps for dependencies now included in the requirements file, using the ianvs command for installation verification, and improving the formatting of the command sequence with a bash code block.

Comment thread docs/guides/how-to-install-ianvs.md
pip install ./examples/resources/third_party/*
pip install -r requirements.txt
pip install -e .
python benchmarking.py --help No newline at end of file
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

Since the installation process includes pip install -e ., it is better to verify the installation using the ianvs command-line tool directly. This confirms that the entry point was correctly installed in the environment's PATH. Additionally, please consider wrapping this entire command sequence (lines 106-112) in a markdown code block (e.g., using ```bash) to improve readability and allow users to easily copy the commands.

Suggested change
python benchmarking.py --help
ianvs --help

@kubeedge-bot kubeedge-bot added do-not-merge/invalid-commit-message Indicates that a PR should not merge because it has an invalid commit message. size/S Denotes a PR that changes 10-29 lines, ignoring generated files. and removed size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels May 9, 2026
@aryunewaskar77-art aryunewaskar77-art force-pushed the fix/missing-core-dependencies-requirements branch from 4a255b1 to e8e3552 Compare May 9, 2026 01:02
@kubeedge-bot kubeedge-bot added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. and removed do-not-merge/invalid-commit-message Indicates that a PR should not merge because it has an invalid commit message. size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels May 9, 2026
- Remove colorlog and PyYAML manual fix instructions as they are
  now covered by requirements.txt
- Replace python benchmarking.py --help with ianvs --help
  to verify installation via the installed entry point
- Wrap install sequence in bash code block for readability

Signed-off-by: Aaryaa Newaskar <aryu.newaskar77@gmail.com>
@aryunewaskar77-art aryunewaskar77-art force-pushed the fix/missing-core-dependencies-requirements branch from e8e3552 to 40987b7 Compare May 9, 2026 01:05
@aryunewaskar77-art
Copy link
Copy Markdown
Author

/assign @MooreZheng

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/M Denotes a PR that changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants