old_contents: """setup.py file."""
  import uuid
  import os
  import re
  
  from setuptools import setup, find_packages
  from pip.req import parse_requirements
  
  __author__ = 'David Barroso <dbarrosop@dravetech.com>'
  
  install_reqs = parse_requirements('requirements.txt', session=uuid.uuid1())
  reqs = [str(ir.req) for ir in install_reqs]
  
  def find_version(*file_paths):
      """
      This pattern was modeled on a method from the Python Packaging User Guide:
          https://packaging.python.org/en/latest/single_source_version.html
  
      We read instead of importing so we don't get import errors if our code
      imports from dependencies listed in install_requires.
      """
      base_module_file = os.path.join(*file_paths)
      with open(base_module_file) as f:
          base_module_data = f.read()
      version_match = re.search(r"^__version__ = ['\"]([^'\"]*)['\"]",
                                base_module_data, re.M)
      if version_match:
          return version_match.group(1)
      raise RuntimeError("Unable to find version string.")
  
  setup(
      name="napalm-ios",
      version=find_version('napalm_ios', '__init__.py'),
      packages=find_packages(),
      author="David Barroso",
      author_email="dbarrosop@dravetech.com",
      description="Network Automation and Programmability Abstraction Layer with Multivendor support",
      classifiers=[
          'Topic :: Utilities',
          'Programming Language :: Python',
          'Operating System :: POSIX :: Linux',
          'Operating System :: MacOS',
      ],
      url="https://github.com/napalm-automation/napalm-ios",
      include_package_data=True,
      install_requires=reqs,
  )
  
new_contents: """setup.py file."""
  import uuid
  
  from setuptools import setup, find_packages
  from pip.req import parse_requirements
  
  __author__ = 'David Barroso <dbarrosop@dravetech.com>'
  
  install_reqs = parse_requirements('requirements.txt', session=uuid.uuid1())
  reqs = [str(ir.req) for ir in install_reqs]
  
  setup(
      name="napalm-ios",
      version="0.2.3",
      packages=find_packages(),
      author="David Barroso",
      author_email="dbarrosop@dravetech.com",
      description="Network Automation and Programmability Abstraction Layer with Multivendor support",
      classifiers=[
          'Topic :: Utilities',
          'Programming Language :: Python',
          'Operating System :: POSIX :: Linux',
          'Operating System :: MacOS',
      ],
      url="https://github.com/napalm-automation/napalm-ios",
      include_package_data=True,
      install_requires=reqs,
  )
  
subject: Fix version setup