Skip to content

Installation fails due to version of rtoml dependency #38

@camillem

Description

@camillem
  • I have read the Filing Issues and subsequent “How to Get Help” sections of the documentation.
  • I have searched the issues (including closed ones) and believe that this is not a duplicate.
  • OS version and name:Ubuntu 24.04 LTS
  • Python version: 3.12.3
  • Pelican version:
  • Version of this plugin: 4.9.1
  • Link to theme: none
  • Links to plugins: none
  • Link to your site: none
  • Link to your source: none
  • Link to a Gist with the contents of your settings file:

Issue

Hi,

When trying to pipx install the search plugin, it fails due to the required version of rtoml.

> pipx inject pelican pelican-search 
Fatal error from pip prevented installation. Full pip output in file:
    /home/camille/.local/pipx/logs/cmd_2024-06-15_18.51.26_pip_errors.log

pip seemed to fail to build package:
    rtoml<0.10.0,>=0.9.0

Some possibly relevant errors from pip install:
    error: subprocess-exited-with-error
    error: metadata-generation-failed
Error installing pelican-search.

Same error happens when directly trying with rtoml==0.9.0

> pipx inject pelican rtoml==0.9.0
Fatal error from pip prevented installation. Full pip output in file:
    /home/camille/.local/pipx/logs/cmd_2024-06-15_18.41.47_pip_errors.log

pip seemed to fail to build package:
    rtoml==0.9.0

Some possibly relevant errors from pip install:
    error: subprocess-exited-with-error
    error: metadata-generation-failed
Error installing rtoml from spec 'rtoml==0.9.0'.

But installation succeeds with version 0.10.0 :

> pipx inject pelican rtoml==0.10.0
  injected package rtoml into venv pelican
done! ✨ 🌟 ✨

(and actually if fails because cargo is not installed )

So, except if there is a reason not to switch to version 0.10.0, this could solve the problem, without requiring the installation of cargo.
Thanks,
Camille

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions