Repository navigation
Improve Windows support: quick start guide + pkg_resources compatibility fix - #465
Open
ahmedTmersal wants to merge 3 commits into
Open
ahmedTmersal wants to merge 3 commits into
ahmedTmersal wants to merge 3 commits into
Conversation
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PR Description:
This PR improves Windows support for AlpacaEval by adding a clear quick start guide and fixing a compatibility issue related to deprecated dependencies.
Windows Quick Start Guide
This PR adds a simple Windows quick start guide to help new users set up and run AlpacaEval on Windows environments.
It includes:
Setting up a virtual environment (Python 3.11 recommended)
Installing the package in editable mode
Verifying CLI installation
Basic usage instructions for Windows users
This improves onboarding experience for users facing setup issues on Windows.
Compatibility Fix:
This PR also fixes a compatibility issue in modern Python environments where pkg_resources (from setuptools) may not be available or is deprecated.
Problem:
Some Windows / Python 3.11+ environments raised:
ModuleNotFoundError: No module named 'pkg_resources'
Solution:
Replaced usage of pkg_resources with modern alternatives:
importlib.metadata for retrieving package versions
packaging.version.parse for version comparison
Impact
Fixes installation/runtime issues on Windows
Improves compatibility with Python 3.11+
Removes dependency on deprecated setuptools API
No changes to core evaluation logic or model outputs
Notes:
This change was tested locally on Windows environments with Python 3.11 and Python 3.14.