Skip to content

Relax PyYAML dependency version requirement... #4726

@busticated

Description

@busticated

Describe the bug
Currently, CodeChecker wants PyYAML==6.0.1 (source). This prevents me from installing other packages which want a newer but non-breaking version (example). NOTE: PyYAML v6.0.1 appears to have been released back in July 2023 (info) and v6.0.3 in September 2025 (info)

CodeChecker version
v6.26.2 with our PyProject file specifying codechecker~=6.26.2

To Reproduce
Steps to reproduce the behaviour:

  1. with codechecker installed into your project at version 6.26.2...
  2. using uv (docs), Install the poethepoet dependency or any dependency which uses a more recent version of pyyaml:
    • uv add --group dev "poethepoet>=0.38.0"

Expected behaviour
dependency is installed without issue

Actual behavior
dependency fails to install due to conflicts with the pyyaml version ranges:

× No solution found when resolving dependencies for split (markers:
  │ python_full_version == '3.13.3' and sys_platform == 'darwin'):
  ╰─▶ Because only poethepoet<=0.38.0 is available and poethepoet==0.38.0
      depends on pyyaml>=6.0.3, we can conclude that poethepoet>=0.38.0
      depends on pyyaml>=6.0.3.
      And because my-project:dev depends on poethepoet>=0.38.0 and my-project depends
      on pyyaml==6.0.1, we can conclude that my-project and my-project:dev are
      incompatible.
      And because your workspace requires my-project and my-project:dev, we can conclude
      that your workspace's requirements are unsatisfiable.
  help: If you want to add the package regardless of the failed resolution,
        provide the `--frozen` flag to skip locking and syncing.

Desktop (please complete the following information)

  • OS: macos v15.7.2 (Sequoia)
  • Browser: N/A
  • Version: N/A

Additional context
Running latest uv - currently v0.9.10

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