Uploaded image for project: 'Couchbase Python Client Library'
  1. Couchbase Python Client Library
  2. PYCBC-220

Wrong package version when installing from another git repository

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.2.0
    • Fix Version/s: 1.2.1
    • Component/s: library
    • Security Level: Public
    • Labels:
      None

      Description

      Downloading/unpacking couchbase==1.2.0 (from -r requirements.txt (line 4))
      Downloading couchbase-1.2.0.tar.gz (254kB): 254kB downloaded
      Running setup.py egg_info for package couchbase
      couchbase_version.py:75: UserWarning: Malformed tag '17c602b'
      warnings.warn("Malformed tag '

      {0}

      '".format(stdout))

      Requested couchbase==1.2.0 (from -r requirements.txt (line 4)), but installing version 0.0.0-UNKNOWN-17c602b

      $ git log --oneline -1
      17c602b ...

      $ pip list
      ...
      couchbase (0.0.0-UNKNOWN-17c602b)
      ...

      # Subject Project Status CR V
      For Gerrit Dashboard: &For+PYCBC-220=message:PYCBC-220

        Activity

        Hide
        mnunberg Mark Nunberg added a comment -

        If you're building your module from another git repo, you need to make sure it has been properly tagged, otherwise you'll get this message.

        The package version is calculated from the git describe output coupled with the tag

        Show
        mnunberg Mark Nunberg added a comment - If you're building your module from another git repo, you need to make sure it has been properly tagged, otherwise you'll get this message. The package version is calculated from the git describe output coupled with the tag
        Show
        mnunberg Mark Nunberg added a comment - https://github.com/couchbase/couchbase-python-client/commit/9298076678e833d3d311cc78bfd54e228c70d113

          People

          • Assignee:
            mnunberg Mark Nunberg
            Reporter:
            pavelpaulau Pavel Paulau
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Gerrit Reviews

              There are no open Gerrit changes