old_contents: #!/usr/bin/env python3
  # -*- coding: utf-8 -*-
  
  import setuptools_scm
  
  extensions = [
      'sphinx.ext.autodoc',
  ]
  
  # General information about the project.
  project = 'jaraco.logging'
  copyright = '2015 Jason R. Coombs'
  
  # The short X.Y version.
  version = setuptools_scm.get_version(root='..')
  # The full version, including alpha/beta/rc tags.
  release = version
  
  master_doc = 'index'
  
new_contents: #!/usr/bin/env python3
  # -*- coding: utf-8 -*-
  
  import setuptools_scm
  
  extensions = [
      'sphinx.ext.autodoc',
  ]
  
  # General information about the project.
  project = 'jaraco.logging'
  copyright = '2015 Jason R. Coombs'
  
  # The short X.Y version.
  version = setuptools_scm.get_version(root='..', relative_to=__file__)
  # The full version, including alpha/beta/rc tags.
  release = version
  
  master_doc = 'index'
  
subject: Fix version detection for tests