How to upgrade Zope 5.0 to 5.2

as i never did, can you tell me how i can update my zope5.0 installation to version 5.2?
Is pip install -U zope == 5.2 good?
thanks in advance

This depends on how you installed it.

Asuming you installed it via pip, you should do as you suggested, but you need to include a constraints file, see Zope Releases | Zope

Please also have a look at the installation documentation: Installing Zope — Zope documentation 5.3 documentation

Plone Foundation Code of Conduct