bancaditalia / black-it

Black-box abm calibration kit by the Bank of Italy
https://bancaditalia.github.io/black-it/
GNU Affero General Public License v3.0
42 stars 2 forks source link

Compatibility with python 3.11 is blocked by GPy 1.10.0 #36

Open muxator opened 1 year ago

muxator commented 1 year ago

Black-it cannot be made compatible with python 3.11 because GPy does not build with python 3.11.

This is the issue, with no solution for now: https://github.com/SheffieldML/GPy/issues/998

marcofavorito commented 1 year ago

I suggest using the extra-dependencies mechanism of setuptools to overcome limitations of this kind.

We could have the following extras:

I'd avoid the last item for the moment; but for "forward-compatibility" of the nomenclature, I'd leave the -sampler suffix.

E.g. for GPy, we could have the extra called gp-sampler, that installs GPy on-demand, and not installed if not needed by the user.

What do you think? I'll try to draft a PR on this idea.