Skip to content

Conversation

@Aparup-Roy-24f3001874
Copy link

Description

This PR fixes the installation and runtime errors on Python 3.13 (specifically for Windows users) as reported in #383.

Changes:

  • Requirements: Updated lxml version gating in requirements.txt. It now uses lxml>=5.0.0 for Python 3.12+ to ensure pre-compiled wheels are available, avoiding the need for C++ Build Tools.
  • Dependency Fix: Added packaging and setuptools to requirements.txt to provide the distutils functionality that was removed in Python 3.12.
  • Code Fix: Updated evalai/utils/updates.py to use packaging.version.Version instead of the deprecated distutils.version.StrictVersion.

Fixes #383

@Aparup-Roy-24f3001874
Copy link
Author

I've fixed the lxml/distutils compatibility issues for Python 3.13 and ensured the CI build passes by resolving the PEP 8 style requirements. Ready for review!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Python installation error

1 participant