Bump package versions and fix compatibility for Python >=3.10
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.
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! π
part of #35
@Rahul2512Chauhan just checking up, are you planning to work on this?
@Aaditya-G can you assign this issue to someone , currently i am busy with other work