antoinemartin / django-windows-tools

Django application providing management commands to host Django projects in Windows environments
BSD 2-Clause "Simplified" License
50 stars 13 forks source link

Python 3 support #17

Closed ajurna closed 6 years ago

ajurna commented 7 years ago

Is there any chance that this will be updated to support python 3?

mrbean-bremen commented 7 years ago

Actually it should work with Python 3 (see PR #13). Do you have specific problems?

ajurna commented 7 years ago

specifically multiprocessing.forking is no longer in the std library and this is used in service.py. i am using python 3.6.

mrbean-bremen commented 7 years ago

You are right - there is no multiprocessing.forking in python 3. I currently don't have a test system (and may not have for some time), but I tried to fix the problem (mainly by using spawn instead of forking in python 3). Could you please check if this works for you? As soon as that works, I will release a new version.

ajurna commented 7 years ago

i wont have time to check until monday at least. ill see what i can do next week.

mrbean-bremen commented 7 years ago

Did you find time to test this?

mrbean-bremen commented 7 years ago

@ajurna : any news here?

mrbean-bremen commented 6 years ago

Generally seems to work with Python3 (though there are unrelated problems with celery, and with virtual environments). Closing this, reopen at will.