from setuptools import setup

setup(
    name="servicemanager",
    version="2.0.6",
    description="A python tool to manage developing and testing with lots of microservices",
    url="https://github.com/hmrc/service-manager",
    author="hmrc-web-operations",
    license="Apache Licence 2.0",
    packages=[
        "servicemanager",
        "servicemanager.actions",
        "servicemanager.server",
        "servicemanager.service",
        "servicemanager.thirdparty",
    ],
    install_requires=[
        "requests~=2.24.0",
        "pymongo==3.11.0",
        "bottle==0.12.18",
        "pytest==5.4.3",
        "pyhamcrest==2.0.2",
        "argcomplete==1.12.0",
        "prettytable==0.7.2"
    ],
    scripts=["bin/sm", "bin/smserver"],
    zip_safe=False,
)

from setuptools import setup

setup(
    name="servicemanager",
    version="2.0.7",
    description="A python tool to manage developing and testing with lots of microservices",
    url="https://github.com/hmrc/service-manager",
    author="hmrc-web-operations",
    license="Apache Licence 2.0",
    packages=[
        "servicemanager",
        "servicemanager.actions",
        "servicemanager.server",
        "servicemanager.service",
        "servicemanager.thirdparty",
    ],
    install_requires=[
        "requests~=2.24.0",
        "pymongo==3.11.0",
        "bottle==0.12.18",
        "pytest==5.4.3",
        "pyhamcrest==2.0.2",
        "argcomplete~=1.12.0",
        "prettytable==0.7.2"
    ],
    scripts=["bin/sm", "bin/smserver"],
    zip_safe=False,
)

Allow later patch versions of argcomplete
Allow later patch versions of argcomplete

Using ~ should install 1.12.1 if available (which it is)

Specifically, we want the changes here:
https://github.com/kislyuk/argcomplete/issues/321

importlib-metadata 2.0 was released, and argcomplete defined that 2.0
should never be use that version, until the most recent current version.

I believe that one of our test dependencies imported a higher version of
argcomplete before the resolver realised this. There is potentially
another piece of work to NOT install test dependencies for users of
servicemanager, but that can be postponed for now.
