mittagessen/kraken

Support for Python 3.12

dantetemplar opened this issue · 11 comments

When I was trying to add kraken package to my project on Python 3.12 I got error:

poetry add kraken
Using version ^5.2.5 for kraken

Updating dependencies
Resolving dependencies... (0.1s)

The current project's supported Python range (>=3.10,<3.13) is not compatible with some of the required packages Python requirement:
  - kraken requires Python <=3.11.99,>=3.8, so it will not be satisfied for Python >3.11.99,<3.13

Because no versions of kraken match >5.2.5,<6.0.0
 and kraken (5.2.5) requires Python <=3.11.99,>=3.8, kraken is forbidden.
So, because innohassle-search-experiments depends on kraken (^5.2.5), version solving failed.

  • Check your dependencies Python requirement: The Python requirement can be specified via the `python` or `markers` properties
    
    For kraken, a possible solution would be to set the `python` property to ">=3.10,<=3.11.99"

    https://python-poetry.org/docs/dependency-specification/#python-restricted-dependencies,
    https://python-poetry.org/docs/dependency-specification/#using-environment-markers

Maybe package dependency on Python should be extended.

If I can help somehow - tag me and give kind off instructions.

Yes, there are a couple of dependencies that don't have 3.12 and some people are rquired to run kraken on python 3.8 which some 3.12-compatible dependency release have already deprecated. There won't be a bump up to 3.12 until 3.8 is EOL the end of this year at least.

Okay, let's freeze this issue until 2024-10.