Skip to content

Should we be Pinning dependencies? #1106

@svrooij

Description

@svrooij

Recently a few issues appeared that are related to dependencies being updated, namely:

In C# if you install a package it installs the lowest available version that matches (by default). This means if you install the same package next time, you're pretty certain you will get exactly the same dependencies as last time. Back to python, it seems that python does the exact opposite.

Maybe there should be a discussion about whether or not we should start pinning dependencies so you get a more stable installation of a specific version of this sdk. I'm not a python expert and I don't know what is recommended for libraries but it is certainly something to think about.

Any ideas?

dependencies = [
"azure-identity >=1.12.0",
"microsoft-kiota-serialization-json >=1.8.0,<2.0.0",
"microsoft-kiota-serialization-text >=1.8.0,<2.0.0",
"microsoft-kiota-serialization-form >=1.8.0,<2.0.0",
"microsoft-kiota-serialization-multipart >=1.8.0,<2.0.0",
"msgraph_core >=1.3.1"
]

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions