Skip to content

Pinned dependency versions #79

@frankkusters

Description

@frankkusters

Currently dependencies are pinned to specific versions:

dependencies = [
"mkdocstrings==0.28.0",
"mkdocstrings-python==1.13.0",
"charset-normalizer==3.4.1",
"tree-sitter==0.24.0",
"tree-sitter-matlab==1.0.4",
]

I'm running into difficulties while upgrading mkdocstrings-python for an unrelated issue:

$ pip install mkdocstrings-python --upgrade
<installation stuff>
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
mkdocstrings-matlab 0.9.6 requires mkdocstrings==0.28.0, but you have mkdocstrings 0.29.0 which is incompatible.
mkdocstrings-matlab 0.9.6 requires mkdocstrings-python==1.13.0, but you have mkdocstrings-python 1.16.5 which is incompatible.

I understand the desire to have stable dependencies, but if every Python module were to do this, it would be impossible to get a working system.

Would it suffice to specify 'greater-equals', like mkdocstrings-python does?

dependencies = [
    "mkdocstrings>=0.28.3",
    "mkdocs-autorefs>=1.4",
    "griffe>=0.49",
    "typing-extensions>=4.0; python_version < '3.11'",
]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions