Skip to content

Fix missing dependencies and empty __init__.py#72

Open
harshitgavita-07 wants to merge 2 commits into
facebookresearch:mainfrom
harshitgavita-07:main
Open

Fix missing dependencies and empty __init__.py#72
harshitgavita-07 wants to merge 2 commits into
facebookresearch:mainfrom
harshitgavita-07:main

Conversation

@harshitgavita-07

Copy link
Copy Markdown

Summary

Fixes critical dependency issues and incomplete module initialization in TRIBE v2.

Changes Made

1. pyproject.toml

  • Added missing dependencies: pandas>=2.2.0, pydantic>=2.5.0, requests>=2.31.0, tqdm>=4.66.0
  • Fixed version pins:
    • numpy==2.2.6numpy>=2.2.6,<3.0
    • transformerstransformers>=4.40.0
  • Removed invalid dependency: pip (package manager, not a library)
  • Added new optional dependency groups:
    • transcription: For audio transcription (uvx)
    • datasets: For dataset downloads (datalad, openneuro-py, nltk)
    • demo: For demo functionality (gtts, langdetect, spacy, soundfile)
    • all: Combines all optional groups
  • Fixed VCS dependency format: Changed to PEP 508 compliant format for nltk_contrib

2. tribev2/grids/init.py

  • Added license header: Copyright notice matching project style
  • Added module docstring: Describes grid configurations and runners
  • Added imports: Exposes base_config, mini_config, default_config
  • Added __all__: Explicit public API declaration

Impact

Without these fixes:

  • Users get ModuleNotFoundError for pandas, pydantic, requests, tqdm
  • pip install fails with invalid dependency specification
  • grids module cannot be imported as a package
  • VCS dependencies fail to install

Testing

  • All Python files compile without syntax errors
  • TOML structure is valid
  • Dependency specifications follow PEP 508

@sdascoli @vgarg1603 - Please review these dependency fixes.

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Meta Open Source bot. label Jul 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Meta Open Source bot.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant