Skip to content

[QUESTION] Pip install does not work in the exact same environment when installing version 2.6.0 #613

@MikeAckerschott-Itho

Description

@MikeAckerschott-Itho

Please describe.
I have a pipeline that installs robotcode[all]>=2.5.0 for different usecases like running tests and static code analysis. The newest release, 2.6.0, seems to not be able to install correctly when installing via pip. I get the following output:

 Collecting robotcode>=2.5.0 (from robotcode[all]>=2.5.0->-r requirements.txt (line 6))
   Downloading robotcode-2.6.0-py3-none-any.whl.metadata (14 kB)
 Collecting pysonar (from -r requirements.txt (line 7))
   Downloading pysonar-1.6.0.4905-py3-none-any.whl.metadata (6.8 kB)
 Collecting lgpio==0.2.* (from -r requirements.txt (line 8))
   Downloading lgpio-0.2.2.0-cp311-cp311-linux_armv7l.whl.metadata (963 bytes)
 Collecting smbus2 (from -r requirements.txt (line 9))
   Downloading smbus2-0.6.1-py2.py3-none-any.whl.metadata (7.1 kB)
 Collecting jsonpath-ng>=1.4.3 (from robotframework-jsonlibrary==0.5.0->-r requirements.txt (line 3))
   Downloading jsonpath_ng-1.8.0-py3-none-any.whl.metadata (18 kB)
 Collecting jsonschema>=2.5.1 (from robotframework-jsonlibrary==0.5.0->-r requirements.txt (line 3))
   Downloading jsonschema-4.26.0-py3-none-any.whl.metadata (7.6 kB)
 Collecting requests (from robotframework-requests==0.9.7->-r requirements.txt (line 4))
   Downloading requests-2.34.2-py3-none-any.whl.metadata (4.8 kB)
 Collecting click>=8.0.0 (from robotframework-robocop->-r requirements.txt (line 5))
   Downloading click-8.4.1-py3-none-any.whl.metadata (2.6 kB)
 Collecting jinja2>=3.1.4 (from robotframework-robocop->-r requirements.txt (line 5))
   Downloading jinja2-3.1.6-py3-none-any.whl.metadata (2.9 kB)
 Collecting msgpack>=1.0.0 (from robotframework-robocop->-r requirements.txt (line 5))
   Downloading msgpack-1.1.2-cp311-cp311-linux_armv7l.whl.metadata (8.1 kB)
 Collecting pathspec>=0.12 (from robotframework-robocop->-r requirements.txt (line 5))
   Downloading pathspec-1.1.1-py3-none-any.whl.metadata (14 kB)
 Collecting platformdirs>=4.3 (from robotframework-robocop->-r requirements.txt (line 5))
   Downloading platformdirs-4.10.0-py3-none-any.whl.metadata (5.5 kB)
 Collecting pytz>=2022.7 (from robotframework-robocop->-r requirements.txt (line 5))
   Downloading pytz-2026.2-py3-none-any.whl.metadata (22 kB)
 Collecting rich>=10.11.0 (from robotframework-robocop->-r requirements.txt (line 5))
   Downloading rich-15.0.0-py3-none-any.whl.metadata (18 kB)
 Collecting tomli-w>=1.0 (from robotframework-robocop->-r requirements.txt (line 5))
   Downloading tomli_w-1.2.0-py3-none-any.whl.metadata (5.7 kB)
 Collecting typer>=0.12.5 (from robotframework-robocop->-r requirements.txt (line 5))
   Downloading typer-0.26.7-py3-none-any.whl.metadata (16 kB)
 Collecting typing-extensions>=4.15.0 (from robotframework-robocop->-r requirements.txt (line 5))
   Downloading typing_extensions-4.15.0-py3-none-any.whl.metadata (3.3 kB)
 Collecting robotcode-core==2.6.0 (from robotcode>=2.5.0->robotcode[all]>=2.5.0->-r requirements.txt (line 6))
   Downloading robotcode_core-2.6.0-py3-none-any.whl.metadata (2.7 kB)
 Collecting robotcode-plugin==2.6.0 (from robotcode>=2.5.0->robotcode[all]>=2.5.0->-r requirements.txt (line 6))
   Downloading robotcode_plugin-2.6.0-py3-none-any.whl.metadata (2.8 kB)
 Collecting robotcode-robot==2.6.0 (from robotcode>=2.5.0->robotcode[all]>=2.5.0->-r requirements.txt (line 6))
   Downloading robotcode_robot-2.6.0-py3-none-any.whl.metadata (2.9 kB)
 Collecting colorama>=0.4.6 (from robotcode-plugin==2.6.0->robotcode>=2.5.0->robotcode[all]>=2.5.0->-r requirements.txt (line 6))
   Downloading colorama-0.4.6-py2.py3-none-any.whl.metadata (17 kB)
 Collecting pluggy>=1.0.0 (from robotcode-plugin==2.6.0->robotcode>=2.5.0->robotcode[all]>=2.5.0->-r requirements.txt (line 6))
   Downloading pluggy-1.6.0-py3-none-any.whl.metadata (4.8 kB)
 Collecting jproperties<3,>=2.1 (from pysonar->-r requirements.txt (line 7))
   Downloading jproperties-2.1.2-py2.py3-none-any.whl.metadata (8.7 kB)
 Collecting tomli<3,>=2.0 (from pysonar->-r requirements.txt (line 7))
   Downloading tomli-2.4.1-py3-none-any.whl.metadata (10 kB)
 Collecting six~=1.13 (from jproperties<3,>=2.1->pysonar->-r requirements.txt (line 7))
   Downloading six-1.17.0-py2.py3-none-any.whl.metadata (1.7 kB)
 Collecting charset_normalizer<4,>=2 (from requests->robotframework-requests==0.9.7->-r requirements.txt (line 4))
   Downloading charset_normalizer-3.4.7-cp311-cp311-manylinux_2_31_armv7l.whl.metadata (40 kB)
 Collecting idna<4,>=2.5 (from requests->robotframework-requests==0.9.7->-r requirements.txt (line 4))
   Downloading idna-3.18-py3-none-any.whl.metadata (6.1 kB)
 Collecting urllib3<3,>=1.26 (from requests->robotframework-requests==0.9.7->-r requirements.txt (line 4))
   Downloading urllib3-2.7.0-py3-none-any.whl.metadata (6.9 kB)
 Collecting certifi>=2023.5.7 (from requests->robotframework-requests==0.9.7->-r requirements.txt (line 4))
   Downloading certifi-2026.5.20-py3-none-any.whl.metadata (2.5 kB)
 Collecting MarkupSafe>=2.0 (from jinja2>=3.1.4->robotframework-robocop->-r requirements.txt (line 5))
   Downloading markupsafe-3.0.3-cp311-cp311-linux_armv7l.whl.metadata (2.7 kB)
 Collecting attrs>=22.2.0 (from jsonschema>=2.5.1->robotframework-jsonlibrary==0.5.0->-r requirements.txt (line 3))
   Downloading attrs-26.1.0-py3-none-any.whl.metadata (8.8 kB)
 Collecting jsonschema-specifications>=2023.03.6 (from jsonschema>=2.5.1->robotframework-jsonlibrary==0.5.0->-r requirements.txt (line 3))
   Downloading jsonschema_specifications-2025.9.1-py3-none-any.whl.metadata (2.9 kB)
 Collecting referencing>=0.28.4 (from jsonschema>=2.5.1->robotframework-jsonlibrary==0.5.0->-r requirements.txt (line 3))
   Downloading referencing-0.37.0-py3-none-any.whl.metadata (2.8 kB)
 Collecting rpds-py>=0.25.0 (from jsonschema>=2.5.1->robotframework-jsonlibrary==0.5.0->-r requirements.txt (line 3))
   Downloading rpds_py-2026.5.1-cp311-cp311-manylinux_2_17_armv7l.manylinux2014_armv7l.whl.metadata (4.1 kB)
 Collecting markdown-it-py>=2.2.0 (from rich>=10.11.0->robotframework-robocop->-r requirements.txt (line 5))
   Downloading markdown_it_py-4.2.0-py3-none-any.whl.metadata (7.4 kB)
 Collecting pygments<3.0.0,>=2.13.0 (from rich>=10.11.0->robotframework-robocop->-r requirements.txt (line 5))
   Downloading pygments-2.20.0-py3-none-any.whl.metadata (2.5 kB)
 Collecting mdurl~=0.1 (from markdown-it-py>=2.2.0->rich>=10.11.0->robotframework-robocop->-r requirements.txt (line 5))
   Downloading mdurl-0.1.2-py3-none-any.whl.metadata (1.6 kB)
 Collecting docutils (from robotcode[all]>=2.5.0->-r requirements.txt (line 6))
   Downloading docutils-0.23-py3-none-any.whl.metadata (15 kB)
 Collecting pyyaml>=5.4 (from robotcode[all]>=2.5.0->-r requirements.txt (line 6))
   Downloading pyyaml-6.0.3-cp311-cp311-linux_armv7l.whl.metadata (2.4 kB)
 Collecting robotcode-analyze==2.6.0 (from robotcode[all]>=2.5.0->-r requirements.txt (line 6))
   Downloading robotcode_analyze-2.6.0-py3-none-any.whl.metadata (2.9 kB)
 Collecting robotcode-debugger==2.6.0 (from robotcode[all]>=2.5.0->-r requirements.txt (line 6))
   Downloading robotcode_debugger-2.6.0-py3-none-any.whl.metadata (2.9 kB)
 Collecting robotcode-language-server==2.6.0 (from robotcode[all]>=2.5.0->-r requirements.txt (line 6))
   Downloading robotcode_language_server-2.6.0-py3-none-any.whl.metadata (3.2 kB)
 Collecting robotcode-repl-server==2.6.0 (from robotcode[all]>=2.5.0->-r requirements.txt (line 6))
   Downloading robotcode_repl_server-2.6.0-py3-none-any.whl.metadata (2.8 kB)
 Collecting robotcode-repl==2.6.0 (from robotcode[all]>=2.5.0->-r requirements.txt (line 6))
   Downloading robotcode_repl-2.6.0-py3-none-any.whl.metadata (2.8 kB)
 Collecting robotcode-runner==2.6.0 (from robotcode-runner[html]==2.6.0; extra == "all"->robotcode[all]>=2.5.0->-r requirements.txt (line 6))
   Downloading robotcode_runner-2.6.0-py3-none-any.whl.metadata (3.0 kB)
 Collecting robotcode-jsonrpc2==2.6.0 (from robotcode-debugger==2.6.0->robotcode[all]>=2.5.0->-r requirements.txt (line 6))
   Downloading robotcode_jsonrpc2-2.6.0-py3-none-any.whl.metadata (2.8 kB)
 Collecting prompt-toolkit!=3.0.52 (from robotcode-repl==2.6.0->robotcode[all]>=2.5.0->-r requirements.txt (line 6))
   Downloading prompt_toolkit-3.0.51-py3-none-any.whl.metadata (6.4 kB)
 Collecting robotcode-modifiers==2.6.0 (from robotcode-runner==2.6.0->robotcode-runner[html]==2.6.0; extra == "all"->robotcode[all]>=2.5.0->-r requirements.txt (line 6))
   Downloading robotcode_modifiers-2.6.0-py3-none-any.whl.metadata (2.8 kB)
 Collecting html-to-markdown>=2.0 (from robotcode-runner[html]==2.6.0; extra == "all"->robotcode[all]>=2.5.0->-r requirements.txt (line 6))
   Downloading html_to_markdown-3.5.7.tar.gz (4.4 MB)
      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.4/4.4 MB 42.7 MB/s  0:00:00
   Installing build dependencies: started
   Installing build dependencies: finished with status 'done'
   Getting requirements to build wheel: started
   Getting requirements to build wheel: finished with status 'done'
   Installing backend dependencies: started
   Installing backend dependencies: finished with status 'done'
   Preparing metadata (pyproject.toml): started
   Preparing metadata (pyproject.toml): finished with status 'error'
   error: subprocess-exited-with-error
   
   × Preparing metadata (pyproject.toml) did not run successfully.
   │ exit code: 1
   ╰─> [33 lines of output]
       Python reports SOABI: cpython-311-arm-linux-gnueabihf
       Computed rustc target triple: arm-unknown-linux-gnueabihf
       Installation directory: .cache/puccinialin
       Rustup already downloaded
       Installing rust to .cache/puccinialin/rustup
       warn: It looks like you have an existing rustup settings file at:
       warn: .cache/puccinialin/rustup/settings.toml
       warn: Rustup will install the default toolchain as specified in the settings file,
       warn: instead of the one inferred from the default host triple.
       info: profile set to minimal
       info: setting default host triple to arm-unknown-linux-gnueabihf
       warn: Updating existing toolchain, profile choice will be ignored
       info: syncing channel updates for stable-arm-unknown-linux-gnueabihf
       info: default toolchain set to stable-arm-unknown-linux-gnueabihf
       Checking if cargo is installed
       cargo 1.96.0 (30a34c682 2026-05-25)
       error: failed to load source for dependency `html-to-markdown-rs`
       
       Caused by:
         unable to update /tmp/pip-install-do2bcct1/html-to-markdown_24345c1b4e7a43228540d47fe618df63/crates/html-to-markdown
       
       Caused by:
         failed to read `/tmp/pip-install-do2bcct1/html-to-markdown_24345c1b4e7a43228540d47fe618df63/crates/html-to-markdown/Cargo.toml`
       
       Caused by:
         No such file or directory (os error 2)
       💥 maturin failed
         Caused by: Cargo metadata failed. Does your crate compile with `cargo build`?
         Caused by: `cargo metadata` exited with an error:
       Error running maturin: Command '['maturin', 'pep517', 'write-dist-info', '--metadata-directory', '/tmp/pip-modern-metadata-fwmvfbb8', '--interpreter', 'venv/bin/python']' returned non-zero exit status 1.
       Checking for Rust toolchain....
       Rust not found, installing into a temporary directory
       Running `maturin pep517 write-dist-info --metadata-directory /tmp/pip-modern-metadata-fwmvfbb8 --interpreter venv/bin/python`
       [end of output]
   
   note: This error originates from a subprocess, and is likely not a problem with pip.
 error: metadata-generation-failed
 
 × Encountered error while generating package metadata.
 ╰─> html-to-markdown
 
 note: This is an issue with the package mentioned above, not pip.
 hint: See above for details.

Could i perhaps be missing a dependency? i cant find any dependencies listed like this and it did work with 2.5.0. The output shows that Rust should be installed for the html-to-markdown package

Desktop (please complete the following information):

  • RobotCode Version [e.g. 2.6.0]
  • OS: [Linux - Raspberry Pi OS (Legacy, 32-bit) - Debian 12 (bookworm)]
  • Python Version [e.g. 3.11.2]

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions