mirror of
https://github.com/harvard-edge/cs249r_book.git
synced 2026-05-21 05:28:28 -05:00
[PR #1211] [MERGED] Moved pytest from optional to required dependencies in tinytorch/pyproject.toml #1176
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/harvard-edge/cs249r_book/pull/1211
Author: @Roldao-Neto
Created: 3/4/2026
Status: ✅ Merged
Merged: 3/4/2026
Merged by: @profvjreddi
Base:
main← Head:pytest-dependency-fix📝 Commits (1)
7590682moved pytest from optional to dependencies in TinyTorch/pyproject.toml📊 Changes
1 file changed (+1 additions, -1 deletions)
View changed files
📝
tinytorch/pyproject.toml(+1 -1)📄 Description
Fixed pytest dependency issue by editing tinytorch/pyproject.toml
The previous configuration was causing a problem during installation with uv, here is the log of what happened after finishing the installation with curl:
rolds@MacBook-Pro-de-Roldao tinytorch % uv run tito setup
╭──────────────────────────────────────────────╮
│ │
│ Tiny🔥TORCH: Don't import it. Build it. │
│ │
╰──────────────────────────────────────────────╯
╭───────────── Welcome to TinyTorch (Pre-release) ─────────╮
│ 🎓 LEARNING APPROACH │
│ │
│ Solutions are included in the notebooks. This is intentional! │
│ │
│ The best way to learn: │
│ 1. Read the module and run the code │
│ 2. Study how the solutions work │
│ 3. Try implementing from scratch │
│ (reset with: tito module reset) │
│ │
│ 🐛 PRE-RELEASE: We're looking for bugs and feedback! │
│ Found something? → github.com/harvard-edge/cs249r_book/discussions │
╰────────────────────────────────╯
╭──────────────────────────────── Environment Issues ────╮
│ ❌ Environment validation failed: │
│ • Missing dependency: pytest. Run: pip install -r requirements.txt │
│ • Missing dependency: jupytext. Run: pip install -r requirements.txt │
╰───────────────────╯
Run 'tito system health' for detailed diagnosis
╭─────── Welcome to Tiny🔥Torch!──────────────────────╮
│ 🔥 Tiny🔥Torch First-Time Setup │
│ │
│ This will configure your development environment for building ML systems from scratch. │
╰────────────────-------------------------------------────╯
Checking existing setup...
After using uv add pytest:
rolds@MacBook-Pro-de-Roldao tinytorch % uv run tito setup
╭───────────────────────────╮
│ │
│ Tiny🔥TORCH: Don't import it. Build it. │
│ │
╰──────────────────────────────╯
╭───────────────── Welcome to Tiny🔥Torch! ───╮
│ 🔥 Tiny🔥Torch First-Time Setup │
│ │
│ This will configure your development environment for building ML systems from scratch. │
╰─────────----------------------------------------------─╯
Checking existing setup...
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.