mirror of
https://github.com/GokuMohandas/Made-With-ML.git
synced 2026-03-08 23:02:27 -05:00
[PR #278] Pin setuptools to 68.0.0 to fix Ray 2.7.0 compatibility #269
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/GokuMohandas/Made-With-ML/pull/278
Author: @ShakirKhurshid
Created: 10/25/2025
Status: 🔄 Open
Base:
main← Head:fix-setuptools-compatibility📝 Commits (1)
96bdfeePin setuptools to 68.0.0 to fix Ray 2.7.0 compatibility📊 Changes
1 file changed (+4 additions, -0 deletions)
View changed files
📝
requirements.txt(+4 -0)📄 Description
Problem
When following the course setup instructions,
ray.data.read_csv(DATASET_LOC)fails with:This occurs because Ray 2.7.0 expects older internal APIs from setuptools that were removed in setuptools 70+.
Solution
Pin setuptools to version 68.0.0, which is compatible with Ray 2.7.0 and maintains the expected API structure.
Testing
ray.data.read_csv()works correctly with this pinned versionImpact
This fix ensures the course environment works out-of-the-box for new learners without requiring them to debug dependency issues.
Fixes issue #274
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.