Skip to content
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
1 of 3 tasks
jrivera294 opened this issue Mar 19, 2018 · 9 comments
Closed
1 of 3 tasks

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

jrivera294 opened this issue Mar 19, 2018 · 9 comments

Comments

@jrivera294
Copy link

  • 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 pywin32 223 not supported on python 3.4 pywin32 for python 3.4 is no longer supported (pywin32>=223) Mar 19, 2018
@jrivera294
Copy link
Author

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

@webknjaz
Copy link
Member

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
Copy link
Member

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

@jrivera294
Copy link
Author

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

@jrivera294
Copy link
Author

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
Copy link
Member

You can also have constraints.txt:

pypiwin32==219

And do:

pip install -c constraints.txt cherrypy

@webknjaz
Copy link
Member

@jrivera294
Copy link
Author

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

@mobinalhassan
Copy link

You can also have constraints.txt:

pypiwin32==219

And do:

pip install -c constraints.txt cherrypy

Thank you this method works perfects

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

No branches or pull requests

3 participants