anyoptimization / pymoo

NSGA2, NSGA3, R-NSGA3, MOEAD, Genetic Algorithms (GA), Differential Evolution (DE), CMAES, PSO
https://pymoo.org
Apache License 2.0
2.14k stars 375 forks source link

Relaxing strong requirement for cma==3.2.2 #448

Open iglasser opened 1 year ago

iglasser commented 1 year ago

Pymoo has a requirement of cma==3.2.2. Is there any reason to fix the version, rather than using cma>=3.2.2 as is usually expected from a library? Is pymoo not compatible with cma 3.3.0? This leads to conflicts with any library that might want to use cma 3.3.0 (or future newer versions).

cyrilpic commented 1 year ago

This is the release notes:

Release 3.3.0 implements

It doesn't look like it should be an issue, but it should be tested.

blankjul commented 1 year ago

Great! I agree that an update makes sense. I have added the dependency because I had once a version break and tried to avoid this in the future.

Can one of you please quickly test if nothing breaks? If yes I am more than happy to update the dependency.

prof-abdelrahman commented 1 month ago

I am getting this error message ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. pymoo 0.6.1.1 requires cma==3.2.2, but you have cma 3.3.0 which is incompatible.