-
Notifications
You must be signed in to change notification settings - Fork 16
Description
When trying to install the development dependencies using pip install -r requirements-dev.txt on a Python 3.11 environment, an error occurs while installing py2exe. The specified version 0.12.0.2 of py2exe is not available for Python 3.11
To resolve this issue, we need to update the requirements-dev.txt file to specify a version constraint for py2exe that is compatible with Python 3.10, 3.11 and other commonly used Python versions.
I suggest updating the line in requirements-dev.txt to:
py2exe>=0.10.0.2; sys_platform == "win32" and python_version >= '3.6' and python_version < '3.12'
This will instruct pip to install the highest available version of py2exe that is greater than or equal to 0.10.0.2 and compatible with Python versions 3.6 up to 3.11.