Skip to content

Adding upperbound to dependencies #1549

@pedro-psb

Description

@pedro-psb

Hello!
I'm using django-storages + azurite on CI and eventually the azurite release will be behind what the python sdk (azure-core and azure-blob-storage) expect, which will cause an error about trying to use an unsupported version. This error will eventually go away when azurite adds support to that new version, but in the meantime the CI is broken.

This comment provides some options to avoid the errorr. Users like myself can definitely do that individually, but it would be nice if django-storages could avoid the situation.

My proposal is to add upperbound to azure dependencies, a simple integration test with azurite and let dependabot (or some automated solution) handle the bumping. E,g: when a new azure-blob-storage version comes out dependabot opens a PR to bump it, and if azurite hasnt added support to it yet, the bump PR fails the CI. When it passes/merges, a new patch release can be made with the upperbound updated.

I realize this is a bit ambitious, as it requires a new infrastructure for the project and more releasing work, but in theory a good part of it can be automated after some initial work, and I believe it would benefit the broad django-storages userbase.

Btw, I'm willing to help with the initial work if that sounds a good idea.

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