Skip to content

Version inconsistency #434

Closed
Closed

Description

How do these two versions relate to each other?

'User-Agent': 'python/2.7.10 (Darwin-15.5.0-x86_64-i386-64bit) requests/2.10.0 msrest/0.4.0 msrest_azure/0.4.1 computemanagementclient/ Azure-SDK-For-Python AZURECLI/0.0.32'

and

$ az --version
azure-cli (2016.06.16.nightly)

component (2016.06.16.nightly)
network (2016.06.16.nightly)
profile (2016.06.16.nightly)
resource (2016.06.16.nightly)
role (2016.06.16.nightly)
storage (2016.06.16.nightly)
taskhelp (2016.06.16.nightly)
vm (2016.06.16.nightly)

Python (Darwin) 2.7.10 (default, Oct 23 2015, 19:19:21) 
[GCC 4.2.1 Compatible Apple LLVM 7.0.0 (clang-700.0.59.5)]

Activity

  1. derekbekoe commented on Jun 17, 2016

    @derekbekoe
    Member

    I've investigated the cause:

    In client_factory.py, we get the version by doing cli.__version__.

    This version is set to version = "0.0.32".

    The version shown is from pip which is not 0.0.32 but 2016.06.16.nightly.

    Nightly builds dynamically modify the (setup.py)[https://github.com/Azure/azure-cli/blob/master/setup.py#L114] and leave version as is.

    As long as when we create real releases, we modify version, and setup.py also, this will not be an issue.

  2. derekbekoe commented on Jun 28, 2016

    @derekbekoe
    Member

    I have updated the nightly build script so that it modifies cli.version when creating the nightly build.

    So from now on, the versions will match.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions