Skip to content

Conversation

@Rahul2512Chauhan
Copy link

Description:

  • This PR updates all third-party dependencies in pyproject.toml to their latest stable versions compatible with Python ≥3.10. It ensures that the repello-agent-wiz package installs cleanly in editable mode and that the CLI commands work as expected.

Changes made:
Updated pyproject.toml with new versions of all dependencies, including but not limited to:

openai, pydantic, tqdm, httpx, anyio, sniffio, PyYAML, rich, logfire, python-dotenv, supabase, devtools, pydantic-ai, Pillow, selenium, google-cloud-bigquery, pyserini, thefuzz, pytz, langchain-core, langchain-anthropic, langchain-community.

Adjusted version constraints to ensure compatibility with Python >=3.10–3.13.

Verified installation in editable mode: pip install -e ..

Testing & Verification Steps:
To ensure everything works after the dependency bump, perform the following end-to-end checks:

Activate virtual environment:

source .venv/bin/activate

Install package in editable mode:

pip install -e .

Run CLI help:

agent-wiz --help

Verify the help message displays correctly.

Extract workflow graph:

agent-wiz extract --framework agent_chat --directory ./examples/code/agent_chat --output test_graph.json

Check that test_graph.json is generated.

Visualize workflow:

agent-wiz visualize --input test_graph.json --open

Confirm that the HTML visualization opens correctly (check the generated folder, e.g., AgentChat_vis/index.html).

Run threat modeling analysis:

export OPENAI_API_KEY="your_valid_or_mock_key_here"
agent-wiz analyze --input test_graph.json

Confirm <framework>_report.md is generated.

Ensure no errors occur related to dependencies or API calls.

  • Open for suggestions or improvements on the dependency versions or testing steps.

@Aaditya-G
Copy link
Collaborator

Hi @Rahul2512Chauhan , thanks for updating the dependencies! 👏

After reviewing, I think we should only include dependencies that our package directly uses, such as openai and PyYAML. The rest (httpx, anyio, pydantic, tqdm, etc.) are either transitive dependencies or not directly imported in our code, so adding them explicitly to pyproject.toml isn’t necessary.

Could you please update the PR to keep only the core dependencies that our package actually uses? This will help keep the dependency list clean and avoid unnecessary version conflicts for users. To be specific - openai and pyyaml.

it would be helpful if you can rebase with this branch

Thanks again for your contribution! 🙏

Copy link
Collaborator

@Aaditya-G Aaditya-G left a comment

Choose a reason for hiding this comment

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

kindly keep only directly imported dependencies in pyproject.toml

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.

2 participants