Skip to content

BLD, MAINT: Add packaging.version to the repo #3532

@jbarnoud

Description

@jbarnoud

Following the discussion in #3527 (comment) we should provide packaging.version to the repo to avoid an issue with dependencies.

The file to vendor can be found here: https://github.com/pypa/packaging/blob/main/packaging/version.py

From the top of my head, here are the steps to follow:

  • Copy the file to the repo
  • Adapt the file's license header to tell about its origin
  • Adapt our LICENSE file to mention packaging
  • Make sure we use our version of the file in setup.py
  • Make sure we use our version of the file everywhere else (including
    from packaging.version import Version
    )

This issue is a follow up to #3527 and is related to @tylerjereddy's #3526

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