New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pywin32 for python 3.4 is no longer supported (pywin32>=223) #1700

Closed
jrivera294 opened this Issue Mar 19, 2018 · 8 comments

Comments

Projects
None yet
2 participants
@jrivera294

jrivera294 commented Mar 19, 2018

  • I'm submitting a ...
  • bug report
  • feature request
  • question about the decisions made in the repository
  • Do you want to request a feature or report a bug?
    bug

  • What is the current behavior?
    Cherrypy can't be installed on a Windows Python 3.4 environment. Pywin32 dependency is set to > 223, and 223 version doesn't exists for Python 3.4, they no longer support it.

Error installing cherrypy:
Could not find a version that satisfies the requirement pywin32>=223 (from pypiwin32; sys_platform == "win32"->cherrypy) (from versions: 221) No matching distribution found for pywin32>=223 (from pypiwin32; sys_platform == "win32"->cherrypy)

  • If the current behavior is a bug, please provide the steps to reproduce and if possible a screenshots and logs of the problem.
    pip install cherrypy

  • What is the expected behavior?
    Successful install

  • What is the motivation / use case for changing the behavior?
    Support Cherrypy on python 3.4 (Windows)

  • Please tell us about your environment:

  • Cheroot version: 5.9.1
  • CherryPy version: 14.0.0
  • Python version: 3.4.4
  • OS: Windows 7 32 bits
  • Browser: [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]

@jrivera294 jrivera294 changed the title from pywin32 223 not supported on python 3.4 to pywin32 for python 3.4 is no longer supported (pywin32>=223) Mar 19, 2018

@jrivera294

This comment has been minimized.

jrivera294 commented Mar 19, 2018

I managed to build my own pywin32 223 wheel, details here: mhammond/pywin32#1172

@webknjaz

This comment has been minimized.

Member

webknjaz commented Mar 20, 2018

The problem is that there's no old version of pywin32, which supports Python 3.4. Let's see if maintainers can publish it.

@webknjaz

This comment has been minimized.

Member

webknjaz commented Mar 21, 2018

I think, this might become a solution: https://github.com/cherrypy/cherrypy/compare/bugfix/limit-pypywin32-ver-for-py34
I'll wait for tests at Appveyor and then merge

@webknjaz webknjaz closed this in 2402898 Mar 21, 2018

webknjaz added a commit that referenced this issue Mar 21, 2018

@jrivera294

This comment has been minimized.

jrivera294 commented Mar 21, 2018

Perfect, it should work and avoid the issue on further relases of pywin32. Thanks!

@jrivera294

This comment has been minimized.

jrivera294 commented Mar 22, 2018

If someone else is a bit stuck with this dependency problem:

I'm trying with a workaround until the next Cherrypy release. Basically I'm installing the cherrypy dependencies, pywin32 221 and finally installing Cherrypy with the --no-dependencies flag of pip.

wine pip install -r requirements/cherrypy.txt
wine pip install cherrypy==14.0.0 --no-dependencies

cherrypy.txt (From the install requires of cherrypy setup.py)

six>=1.11.0
cheroot>=5.9.1
portend>=2.1.1
pywin32==221

I have a working 221 wheel that I made from a exe that I found on sourceforge) but I suppose that it works with the 219 too.

@webknjaz

This comment has been minimized.

Member

webknjaz commented Mar 22, 2018

You can also have constraints.txt:

pypiwin32==219

And do:

pip install -c constraints.txt cherrypy
@webknjaz

This comment has been minimized.

@jrivera294

This comment has been minimized.

jrivera294 commented Mar 23, 2018

Perfect, everything seems to be working again :) Thanks!

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