Page MenuHomeSoftware Heritage

Migrate from vcversioner to setuptools-scm
Closed, MigratedEdits Locked

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)