alexsilva / supervisor

Supervisor process control system for Windows
http://supervisord.org
Other
118 stars 26 forks source link

Support for python 3.10 #43

Closed carmelom closed 1 year ago

carmelom commented 2 years ago

Currently the requirements pin pywin32 to build 228 which is limited to python 3.9

alexsilva commented 2 years ago

The pywin32 version can be upgraded but it has been limited to avoid unexpected crashes. Have to test with new versions.

alexsilva commented 2 years ago

I understand why the version was limited. It's because this is the last version that supports python 2.7.

atm84a commented 1 year ago

So, are there any updates for the topic? Can we use different pywin32 versions for py2 and py3?

hlovdal commented 1 year ago

Version 228 is no longer available:

$ pip install --editable .
Obtaining file:///C:/github/supervisor
  Preparing metadata (setup.py) ... done
Requirement already satisfied: setuptools in c:\github\supervisor\venv\lib\site-packages (from supervisor-win==4.6.1) (68.0.0)
INFO: pip is looking at multiple versions of supervisor-win to determine which version is compatible with other requirements. This could take a while.
ERROR: Could not find a version that satisfies the requirement pywin32==228 (from supervisor-win) (from versions: 302, 303, 304, 305, 306)
ERROR: No matching distribution found for pywin32==228

Python 2 was sunset years ago, it it time to remove all code that was related to that.

alexsilva commented 1 year ago

Fix