Skip to content

git dependencies should allow semver requirement #925

@johnslemmer

Description

@johnslemmer
  • I have searched the issues of this repo and believe that this is not a duplicate.
  • I have searched the documentation and believe that my question is not covered.

Feature Request

First thanks for creating this much needed tool for the python community.

I don't see this in the documentation or an existing issue for it, but it would be awesome if I could have a git dependency something like this:

requests = { git = "https://github.com/kennethreitz/requests.git", semver = "^2.20.0" }

That would allow for automatic updating based on the git tags that meet the semver requirement and match this regex in their tag name: ^v?\d+\.\d+\.\d+$ (or something similar).

As an example, NPM allows for this https://docs.npmjs.com/files/package.json#git-urls-as-dependencies

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/featureFeature requests/implementations

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions