zopefoundation / AccessControl

Security framework for Zope.
Other
12 stars 16 forks source link

Provide binaries for newer Python versions (3.9, 3.10) on Windows #114

Closed alumni closed 3 years ago

alumni commented 3 years ago

BUG/PROBLEM REPORT (OR OTHER COMMON ISSUE)

What I did:

Install Python 3.9 on Windows. Then pip install AccessControl

What I expect to happen:

I expect AccessControl to be installed without additional efforts.

What actually happened:

There's no wheel available for Python 3.9 on Windows, so AccessControl needs to be compiled. I know it's possible to install VS C++ compiler, but:

  1. it is 3-4 GB, it's annoying to install the entire the whole thing just for a library and some of its dependencies
  2. when installing using the link recommended in the error output, the build will still not detect the compiler.

Luckily I had the vs build tools (an older version) installed on a separate computer and I managed to get it working, but it was quite some trouble just to install this.

What version of Python and Zope/Addons I am using:

Windows x64, Python 3.9, AccessControl 5.0

dataflake commented 3 years ago

The latest release (AccessControl 5.2) is now published including Windows wheels for Python 3.9.

There are no Python 3.10 wheels yet, this is on the radar but there's no active work on it at the moment. Patches welcome.