Page MenuHomeSoftware Heritage

Migrate from vcversioner to setuptools-scm
Closed, ResolvedPublic

Description

vcversioner has seen no update in a few years (and upstream has failed to do anything about it). In the meantime, development around setuptools-scm has been quite active.

The rest of the Python ecosystem is also growing support for setuptools-scm: for instance, check-manifest, which I'd like to introduce to our pre-commit hooks, doesn't work at all with vcversioner but supports setuptools-scm without any tweak.

The change from vcversioner to setuptools should be a pretty straightforward search and replace operation. We'll need to replace the _version module generated by vcversioner with a call to pkg_resources, as advised in https://github.com/pypa/setuptools_scm/#setuppy-usage.

Currently:

  • swh-py-template
  • swh.storage
  • swh.scheduler
  • swh.deposit
  • swh.web
  • swh.loader.core
  • swh.loader.mercurial
  • swh.loader.svn
  • swh.loader.git
  • swh.indexer
  • swh.search
  • swh.lister
  • swh.model
  • swh.scanner
  • swh.web.client
  • swh.vault
  • swh.objstorage
  • swh.objstorage.replayer
  • swh.docs
  • swh.icinga.plugins
  • swh.graph
  • swh.journal

Event Timeline

olasd triaged this task as Normal priority.Nov 21 2019, 11:06 AM
olasd created this task.
ardumont updated the task description. (Show Details)Aug 4 2020, 1:53 PM
ardumont updated the task description. (Show Details)Aug 4 2020, 2:05 PM
ardumont updated the task description. (Show Details)Aug 6 2020, 11:49 AM
ardumont updated the task description. (Show Details)Aug 6 2020, 12:15 PM
ardumont updated the task description. (Show Details)Aug 6 2020, 12:18 PM
ardumont updated the task description. (Show Details)Aug 6 2020, 12:22 PM
ardumont updated the task description. (Show Details)Aug 6 2020, 12:27 PM
ardumont updated the task description. (Show Details)Aug 6 2020, 12:35 PM
ardumont closed this task as Resolved.Aug 6 2020, 12:36 PM
ardumont updated the task description. (Show Details)