Hi Michael,

Am 31.01.2018 um 16:33 schrieb Michael Brunnbauer <bru...@netestate.de>:
> Hello Michael,
> I installed virtualenv 15.1.0 manually and tried again with the --no-binary
> option. Works fine - no need to install setuptools_scm manually.

Nice, so keep using the current virtualenv version.

> But total
> loss of control and understanding occurs again when I try to install
> Products.ZSQLMethods with "./bin/pip install Products.ZSQLMethods":
> ...
>  Found existing installation: Zope2 2.13.27
>    Uninstalling Zope2-2.13.27:
>      Successfully uninstalled Zope2-2.13.27
> Successfully installed AccessControl-4.0b3 AuthEncoding-4.0.0 BTrees-4.4.1 
> Chameleon-3.2 ExtensionClass-4.3.0 Persistence-3.0b2 
> Products.ZSQLMethods-3.0.1 Record-3.4 RestrictedPython-4.0b2 ZODB-5.3.0 
> Zope-4.0b3 Zope2-4.0b1 ipaddress-1.0.19 persistent- waitress-1.1.0 
> z3c.pt-3.1.0 zodbpickle-0.7.0 zope.browserpage-4.2.0 
> zope.browserresource-4.2.1 zope.globalrequest-1.4 zope.pagetemplate-4.3.0
> This cannot be intended - can it? Did I make a mistake?

The latest release of Products.ZSQLMethods is no longer compatible with Zope2, 
so you have to force pip to install an older version.
According to https://pypi.org/project/Products.ZSQLMethods/ the last version 
which is compatible with Zope2 is 2.13.5, so you should install it using:

./bin/pip install Products.ZSQLMethods==2.13.5

(You should create a new virtualenv as this call of pip install does not undo 
the changes pip did while you were installing the latest version.)

If you want to install other packages, you should look up the latest Zope2 
compatible version on PyPI. But there might be some extra versions which do not 
show up in the change log. So also take a look at „Release History“ on the left 
side below „Navigation“. (This feature only exists on the new PyPI not on 

Mit freundlichen Grüßen
Michael Howitz

Attachment: signature.asc
Description: Message signed with OpenPGP

Zope maillist  -  Zope@zope.org
**   No cross posts or HTML encoding!  **
(Related lists -
 https://mail.zope.org/mailman/listinfo/zope-dev )

Reply via email to