linkml / schema-automator

Automated assistance for the schema development lifecycle
https://linkml.io/schema-automator/
BSD 3-Clause "New" or "Revised" License
36 stars 13 forks source link

Python 3.12 not supported #134

Closed Silvanoc closed 1 month ago

Silvanoc commented 7 months ago

Describe the bug Support for Python 3.12 is claimed in the PIP package, but is missing.

To Reproduce Try to install it on a system with Python 3.12.

Observe following error:

  • Installing semsimian (0.2.12): Failed

  RuntimeError

  Unable to find installation candidates for semsimian (0.2.12)

  at ~/.local/pipx/venvs/poetry/lib/python3.12/site-packages/poetry/installation/chooser.py:73 in choose_for
       69│
       70│             links.append(link)
       71│
       72│         if not links:
    →  73│             raise RuntimeError(f"Unable to find installation candidates for {package}")
       74│
       75│         # Get the best link
       76│         chosen = max(links, key=lambda link: self._sort_key(package, link))
       77│

Cannot install semsimian.

Expected behavior Installation succeeds.

Additional context The installation fails due to dependencies that cannot be installed on Python 3.12:

dalito commented 1 month ago

I tested version 0.5.2 with Python 3.12 and all issues seem to gone. Feel free to re-open.