zopefoundation / Zope

Zope is an open-source web application server.
https://zope.readthedocs.io
Other
357 stars 101 forks source link

Zope5.0: WARNING: The wheel package is not available #920

Closed gpzope closed 4 years ago

gpzope commented 4 years ago

BUG/PROBLEM REPORT (OR OTHER COMMON ISSUE)

What I did:

When I tried to install Zope-5.0 following the direction here: https://zope.readthedocs.io/en/latest/INSTALL.html with Built-in standard buildout configuration I got: WARNING: The wheel package is not available

So, what I did was:

wget https://pypi.org/packages/source/Z/Zope/Zope-5.0.tar.gz
tar xfvz Zope-5.0.tar.gz
cd Zope-5.0
python3.9 -m venv .
bin/pip install wheel
bin/pip install -U pip zc.buildout
bin/buildout

And it worked just fine!

Edit by jugmac00

jugmac00 commented 4 years ago

While at first sight, this seems not to be a Zope problem, as we have no influence on how your venv is setup.

When googling for this very error message, I found the following entry by @pganssle ( https://github.com/pypa/setuptools/issues/1934#issuecomment-561938312 ) which suggests, this could be fixed on our side by shipping a pyproject.toml. Buut.. this should not be necessary as we do ship wheels - see here https://pypi.org/project/Zope/#files

That said, I cannot reproduce the problem neither with virtualenv nor with venv.

P.S.: @gpzope please provide the complete traceback

dataflake commented 4 years ago

There's no actual problem here. If the virtual environment does not have access to wheel you will see a warning because some packages are installed from tarball eggs instead of wheels. The buildout will always succeed.

This is essentially a documentation issue. I have updated the install documentation to install wheel alongside zc.buildout after initializing the virtual environment and before running the buildout.