zopefoundation / Products.CMFDefault

Basic content objects and default implementation of some of the framework services for the Zope Content Management Framework (CMF).
Other
0 stars 6 forks source link

Version requirements conflicts #7

Open gelbi123 opened 2 years ago

gelbi123 commented 2 years ago

Hi,

due to an Zope2.13 to Zope4.5.5 update the following conflict appears:

So for the three packages Products.GenereticSetup should be >=2.1.2.

In the master there is no Products.GenericSetup<1.9 so I decided to generate a Products.GenericSetup-master develpoment-egg.

Is there a possibility to create a release without this requirement or will that cause some sideeffects?

Greetings, Gelbi

dataflake commented 2 years ago

If you look at https://pypi.org/project/Products.GenericSetup/#history you will quickly find releases that match the specification <1.9, for example release 1.8.11. So the required release does exist, I don't understand the issue. Could you post more details how you're doing your install and any error messages or tracebacks?

Products.CMFDefault has not seen any activity in a long time. It's not compatible at all with Python 3, for example. Its current state is essentially "unknown".

gelbi123 commented 2 years ago

Thanks for the fast reply. I know that there are, for example the release 1.8.11, for Products.GenericSetup but than it doesnt match the requirements for Products.PluggableAuthService, Products.CMFCore: Products.GenericSetup and Products.PluginRegistry. Therefore Products.GenericSetup should be >=2.1.2

I have a custom buildout.cfg file for Zope4 when I run it I get:

Error: There is a version conflict.
 We already have: Products.GenericSetup 2.1.5
 but Products.CMFDefault 2.3.0 requires 'Products.GenericSetup<1.9'

So far so good. I picked der version 1.8.11 and get this:

Version and requirements information containing products.genericsetup:
  [versions] constraint on products.genericsetup: 1.8.11
  Requirement of Products.PluggableAuthService: Products.GenericSetup>=2.1.2
  Requirement of Products.CMFDefault: Products.GenericSetup<1.9
  Requirement of Products.CMFCore: Products.GenericSetup>=2.1.2
  Requirement of Products.PluginRegistry>=1.6: Products.GenericSetup>=2.0b1
While:
  Installing zope4.
Error: The requirement ('Products.GenericSetup>=2.1.2') is not allowed by your [versions] constraint (1.8.1)

In https://github.com/zopefoundation/Products.CMFDefault/blob/master/setup.py the requirement of Products.GenericSetup with no specific version works well.

Products.CMFDefault has not seen any activity in a long time. It's not compatible at all with Python 3, for example. Its current >state is essentially "unknown".

Ok, so there will be no release of the current master and after upgrade to python3 this package is obsolete?

dataflake commented 2 years ago

You're going about this the wrong way. To have a working install you need to downgrade the versions of other packages (Products.CMFCore, Products.PluggableAuthService, Products.PluginRegistry etc) to versions that support Products.GenericSetup 1.9 and then go from there.

The current master is work in progress and I have not had the time to work on it. There will not be any releases until it's fixed.

If no one spends the time on Python 3 compatibility the package will remain incompatible.