Commit 949abbb0 authored by Levin Zimmermann's avatar Levin Zimmermann

stack/erp5: version up zope.app.appsetup, py3 support

This fixes the following error in zope:

bash-5.1$ slapos node tail slappart6:zope-0-7b91211283be978a19e1bb10e54dc284-on-watch
e76946300062f86fcc7/eggs/haufe.requestmonitoring-0.6.0-py3.8.egg/haufe/requestmonitoring/monitor.py", line 28, in <module>
    from zope.app.appsetup.interfaces import IProcessStartingEvent
  File "/srv/slapgrid/slappart45/srv/runner/software/6afc47a0c1078e76946300062f86fcc7/eggs/zope.app.appsetup-3.16.0-py3.8.egg/zope/app/appsetup/__init__.py", line 20, in <module>
    from zope.app.appsetup.appsetup import config, database
  File "/srv/slapgrid/slappart45/srv/runner/software/6afc47a0c1078e76946300062f86fcc7/eggs/zope.app.appsetup-3.16.0-py3.8.egg/zope/app/appsetup/appsetup.py", line 29, in <module>
    class SystemConfigurationParticipation(object):
  File "/srv/slapgrid/slappart45/srv/runner/software/6afc47a0c1078e76946300062f86fcc7/eggs/zope.app.appsetup-3.16.0-py3.8.egg/zope/app/appsetup/appsetup.py", line 30, in SystemConfigurationParticipation
    zope.interface.implements(IParticipation)
  File "/srv/slapgrid/slappart45/srv/runner/software/6afc47a0c1078e76946300062f86fcc7/eggs/zope.interface-5.4.0-py3.8-linux-x86_64.egg/zope/interface/declarations.py", line 778, in implements
    raise TypeError(_ADVICE_ERROR % 'implementer')
zope.configuration.xmlconfig.ZopeXMLConfigurationError: File "/srv/slapgrid/slappart45/srv/runner/software/6afc47a0c1078e76946300062f86fcc7/eggs/haufe.requestmonitoring-0.6.0-py3.8.egg/haufe/requestmonitoring/monitor.zcml", line 5.2-5.49
    File "/srv/slapgrid/slappart45/srv/runner/instance/slappart6/srv/erp5shared/etc/site.zcml", line 26.2-26.66
    TypeError: Class advice impossible in Python3.  Use the @implementer class decorator instead.

zope.app.appsetup 4.2.0 is the first version which supports py3.8:

  https://pypi.org/project/zope.app.appsetup/4.2.0/#section-1
parent 411339e3
...@@ -169,6 +169,7 @@ pyasn1 = 0.4.8 ...@@ -169,6 +169,7 @@ pyasn1 = 0.4.8
numpy = 1.16.6 numpy = 1.16.6
pandas = 0.24.2 pandas = 0.24.2
google-api-python-client = 2.41.0 google-api-python-client = 2.41.0
zope.app.appsetup = 4.2.0
# google-api-python-client version bump # google-api-python-client version bump
uritemplate = 3.0.1 uritemplate = 3.0.1
google-api-core = 2.7.1 google-api-core = 2.7.1
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment