Uploaded image for project: 'Qt Cloud'
  1. Qt Cloud
  2. CLOUD-376

pip version reports qtci as 0.0.2 even though we have updated it to 0.0.3

    XMLWordPrintable

Details

    • Task
    • Resolution: Done
    • P2: Important
    • None
    • None
    • Backend , General
    • None

    Description

      When creating archive, we use this version

      python setup.py sdist
      Using version '0.0.3+v.git.f30bc09' defined in ENV variable QTCI_PLUGIN_VERSION
      running sdist
      running egg_info
      writing qtci.egg-info/PKG-INFO
      writing dependency_links to qtci.egg-info/dependency_links.txt
      writing entry points to qtci.egg-info/entry_points.txt
      writing requirements to qtci.egg-info/requires.txt
      writing top-level names to qtci.egg-info/top_level.txt
      package init file 'qtci_bin/__init__.py' not found (or not a regular file)
      reading manifest file 'qtci.egg-info/SOURCES.txt'
      reading manifest template 'MANIFEST.in'
      warning: no previously-included files matching '.env*' found anywhere in distribution
      warning: no previously-included files matching '*.pyc' found anywhere in distribution
      warning: no previously-included files matching '*.tmpl' found anywhere in distribution
      warning: no previously-included files found matching 'run-qtci.sh'
      warning: no previously-included files found matching 'run-qtci.bat'
      warning: no previously-included files found matching 'gitpython-doc.md'
      writing manifest file 'qtci.egg-info/SOURCES.txt'
      running check
      creating qtci-0.0.3+v.git.f30bc09
      creating qtci-0.0.3+v.git.f30bc09/qtci
      creating qtci-0.0.3+v.git.f30bc09/qtci.egg-info
      creating qtci-0.0.3+v.git.f30bc09/qtci/assets
      creating qtci-0.0.3+v.git.f30bc09/qtci/assets/css
      creating qtci-0.0.3+v.git.f30bc09/qtci/assets/images
      creating qtci-0.0.3+v.git.f30bc09/qtci/assets/js
      creating qtci-0.0.3+v.git.f30bc09/qtci/assets/js/cute-gemini
      creating qtci-0.0.3+v.git.f30bc09/qtci/assets/js/pages
      creating qtci-0.0.3+v.git.f30bc09/qtci/helpers
      creating qtci-0.0.3+v.git.f30bc09/qtci/modules
      creating qtci-0.0.3+v.git.f30bc09/qtci/templates
      creating qtci-0.0.3+v.git.f30bc09/qtci_bin
      copying files to qtci-0.0.3+v.git.f30bc09...
      copying MANIFEST.in -> qtci-0.0.3+v.git.f30bc09
      copying README.txt -> qtci-0.0.3+v.git.f30bc09
      copying setup.py -> qtci-0.0.3+v.git.f30bc09
      copying qtci/__init__.py -> qtci-0.0.3+v.git.f30bc09/qtci
      copying qtci/run.py -> qtci-0.0.3+v.git.f30bc09/qtci
      copying qtci.egg-info/PKG-INFO -> qtci-0.0.3+v.git.f30bc09/qtci.egg-info
      copying qtci.egg-info/SOURCES.txt -> qtci-0.0.3+v.git.f30bc09/qtci.egg-info
      copying qtci.egg-info/dependency_links.txt -> qtci-0.0.3+v.git.f30bc09/qtci.egg-info
      copying qtci.egg-info/entry_points.txt -> qtci-0.0.3+v.git.f30bc09/qtci.egg-info
      copying qtci.egg-info/requires.txt -> qtci-0.0.3+v.git.f30bc09/qtci.egg-info
      copying qtci.egg-info/top_level.txt -> qtci-0.0.3+v.git.f30bc09/qtci.egg-info
      copying qtci/assets/css/styles.css -> qtci-0.0.3+v.git.f30bc09/qtci/assets/css
      copying qtci/assets/images/404.png -> qtci-0.0.3+v.git.f30bc09/qtci/assets/images
      copying qtci/assets/images/favicon.ico -> qtci-0.0.3+v.git.f30bc09/qtci/assets/images
      copying qtci/assets/images/qt-logo.svg -> qtci-0.0.3+v.git.f30bc09/qtci/assets/images
      copying qtci/assets/js/common.js -> qtci-0.0.3+v.git.f30bc09/qtci/assets/js
      copying qtci/assets/js/onboarding.js -> qtci-0.0.3+v.git.f30bc09/qtci/assets/js
      copying qtci/assets/js/texts.js -> qtci-0.0.3+v.git.f30bc09/qtci/assets/js
      copying qtci/assets/js/cute-gemini/callbacks.js -> qtci-0.0.3+v.git.f30bc09/qtci/assets/js/cute-gemini
      copying qtci/assets/js/cute-gemini/git.js -> qtci-0.0.3+v.git.f30bc09/qtci/assets/js/cute-gemini
      copying qtci/assets/js/cute-gemini/network.js -> qtci-0.0.3+v.git.f30bc09/qtci/assets/js/cute-gemini
      copying qtci/assets/js/cute-gemini/ui.js -> qtci-0.0.3+v.git.f30bc09/qtci/assets/js/cute-gemini
      copying qtci/assets/js/pages/dashboard.js -> qtci-0.0.3+v.git.f30bc09/qtci/assets/js/pages
      copying qtci/assets/js/pages/help.js -> qtci-0.0.3+v.git.f30bc09/qtci/assets/js/pages
      copying qtci/assets/js/pages/pipelines-all.js -> qtci-0.0.3+v.git.f30bc09/qtci/assets/js/pages
      copying qtci/assets/js/pages/pipelines-one.js -> qtci-0.0.3+v.git.f30bc09/qtci/assets/js/pages
      copying qtci/assets/js/pages/pipelines-running.js -> qtci-0.0.3+v.git.f30bc09/qtci/assets/js/pages
      copying qtci/assets/js/pages/project-info.js -> qtci-0.0.3+v.git.f30bc09/qtci/assets/js/pages
      copying qtci/assets/js/pages/repo-status.js -> qtci-0.0.3+v.git.f30bc09/qtci/assets/js/pages
      copying qtci/helpers/__init__.py -> qtci-0.0.3+v.git.f30bc09/qtci/helpers
      copying qtci/helpers/exceptions.py -> qtci-0.0.3+v.git.f30bc09/qtci/helpers
      copying qtci/helpers/functions.py -> qtci-0.0.3+v.git.f30bc09/qtci/helpers
      copying qtci/helpers/logging.py -> qtci-0.0.3+v.git.f30bc09/qtci/helpers
      copying qtci/helpers/notifier.py -> qtci-0.0.3+v.git.f30bc09/qtci/helpers
      copying qtci/helpers/settings.py -> qtci-0.0.3+v.git.f30bc09/qtci/helpers
      copying qtci/helpers/strings.py -> qtci-0.0.3+v.git.f30bc09/qtci/helpers
      copying qtci/helpers/templates.py -> qtci-0.0.3+v.git.f30bc09/qtci/helpers
      copying qtci/helpers/variables.py -> qtci-0.0.3+v.git.f30bc09/qtci/helpers
      copying qtci/modules/__init__.py -> qtci-0.0.3+v.git.f30bc09/qtci/modules
      copying qtci/modules/_fastapi.py -> qtci-0.0.3+v.git.f30bc09/qtci/modules
      copying qtci/modules/_git_local.py -> qtci-0.0.3+v.git.f30bc09/qtci/modules
      copying qtci/modules/_gitlab.py -> qtci-0.0.3+v.git.f30bc09/qtci/modules
      copying qtci/modules/_ngrok.py -> qtci-0.0.3+v.git.f30bc09/qtci/modules
      copying qtci/modules/_onboarding.py -> qtci-0.0.3+v.git.f30bc09/qtci/modules
      copying qtci/modules/_qt_account.py -> qtci-0.0.3+v.git.f30bc09/qtci/modules
      copying qtci/templates/404.html -> qtci-0.0.3+v.git.f30bc09/qtci/templates
      copying qtci/templates/dashboard.html -> qtci-0.0.3+v.git.f30bc09/qtci/templates
      copying qtci/templates/gitlab-project-template.html -> qtci-0.0.3+v.git.f30bc09/qtci/templates
      copying qtci/templates/help.html -> qtci-0.0.3+v.git.f30bc09/qtci/templates
      copying qtci/templates/onboarding.html -> qtci-0.0.3+v.git.f30bc09/qtci/templates
      copying qtci/templates/pipeline.html -> qtci-0.0.3+v.git.f30bc09/qtci/templates
      copying qtci/templates/project-info.html -> qtci-0.0.3+v.git.f30bc09/qtci/templates
      copying qtci/templates/repo-status.html -> qtci-0.0.3+v.git.f30bc09/qtci/templates
      copying qtci/templates/web-template.html -> qtci-0.0.3+v.git.f30bc09/qtci/templates
      copying qtci_bin/config.py -> qtci-0.0.3+v.git.f30bc09/qtci_bin
      copying qtci_bin/create_venv.py -> qtci-0.0.3+v.git.f30bc09/qtci_bin
      copying qtci_bin/get_build_times.py -> qtci-0.0.3+v.git.f30bc09/qtci_bin
      copying qtci_bin/get_storage.py -> qtci-0.0.3+v.git.f30bc09/qtci_bin
      copying qtci_bin/onboarding_cli.py -> qtci-0.0.3+v.git.f30bc09/qtci_bin
      copying qtci_bin/onboarding_web.py -> qtci-0.0.3+v.git.f30bc09/qtci_bin
      copying qtci_bin/run_plugin.py -> qtci-0.0.3+v.git.f30bc09/qtci_bin
      copying qtci_bin/script_template.py -> qtci-0.0.3+v.git.f30bc09/qtci_bin
      copying qtci_bin/setup.py -> qtci-0.0.3+v.git.f30bc09/qtci_bin
      copying qtci_bin/utils.py -> qtci-0.0.3+v.git.f30bc09/qtci_bin
      copying qtci_bin/version.txt -> qtci-0.0.3+v.git.f30bc09/qtci_bin
      Writing qtci-0.0.3+v.git.f30bc09/setup.cfg
      Creating tar archive 
      
      

       

      When installing the same archive: 

      (venv-qtci-sdist-2022-09-06_06-32-1662435179) [develop] aseeem@thinklin-t480s:~/Work/QtCompanyOy/dashboard-plugin/venv-qtci-sdist-2022-09-06_06-32-1662435179$ pip install ../src/dist/qtci-0.0.3+v.git.f30bc09.tar.gz 
      Processing /home/aseeem/Work/QtCompanyOy/dashboard-plugin/src/dist/qtci-0.0.3+v.git.f30bc09.tar.gz
      Collecting fastapi
        Using cached fastapi-0.82.0-py3-none-any.whl (55 kB)
      Collecting gitpython
        Using cached GitPython-3.1.27-py3-none-any.whl (181 kB)
      Collecting plyer
        Using cached plyer-2.0.0-py2.py3-none-any.whl (131 kB)
      Collecting py-notifier
        Using cached py_notifier-0.3.2-py3-none-any.whl (4.6 kB)
      Processing /home/aseeem/.cache/pip/wheels/87/a1/e7/66d10d257852cd702f8e56be9aa70e74d8ac90f8d951eaa984/pyngrok-5.1.0-py3-none-any.whl
      Collecting python-dotenv
        Using cached python_dotenv-0.21.0-py3-none-any.whl (18 kB)
      Collecting python-gitlab
        Using cached python_gitlab-3.9.0-py3-none-any.whl (127 kB)
      Processing /home/aseeem/.cache/pip/wheels/9e/fc/1c/cf980e6413d3ee8e70cd8f39e2366b0f487e3e221aeb452eb0/python_multipart-0.0.5-py3-none-any.whl
      Collecting uvicorn
        Using cached uvicorn-0.18.3-py3-none-any.whl (57 kB)
      Collecting pydantic!=1.7,!=1.7.1,!=1.7.2,!=1.7.3,!=1.8,!=1.8.1,<2.0.0,>=1.6.2
        Using cached pydantic-1.10.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (13.6 MB)
      Collecting starlette==0.19.1
        Using cached starlette-0.19.1-py3-none-any.whl (63 kB)
      Collecting gitdb<5,>=4.0.1
        Using cached gitdb-4.0.9-py3-none-any.whl (63 kB)
      Collecting PyYAML
        Using cached PyYAML-6.0-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl (701 kB)
      Collecting requests>=2.25.0
        Using cached requests-2.28.1-py3-none-any.whl (62 kB)
      Collecting requests-toolbelt>=0.9.1
        Using cached requests_toolbelt-0.9.1-py2.py3-none-any.whl (54 kB)
      Collecting six>=1.4.0
        Using cached six-1.16.0-py2.py3-none-any.whl (11 kB)
      Collecting h11>=0.8
        Using cached h11-0.13.0-py3-none-any.whl (58 kB)
      Collecting click>=7.0
        Using cached click-8.1.3-py3-none-any.whl (96 kB)
      Collecting typing-extensions>=4.1.0
        Using cached typing_extensions-4.3.0-py3-none-any.whl (25 kB)
      Collecting anyio<5,>=3.4.0
        Using cached anyio-3.6.1-py3-none-any.whl (80 kB)
      Collecting smmap<6,>=3.0.1
        Using cached smmap-5.0.0-py3-none-any.whl (24 kB)
      Collecting certifi>=2017.4.17
        Using cached certifi-2022.6.15-py3-none-any.whl (160 kB)
      Collecting idna<4,>=2.5
        Using cached idna-3.3-py3-none-any.whl (61 kB)
      Collecting urllib3<1.27,>=1.21.1
        Using cached urllib3-1.26.12-py2.py3-none-any.whl (140 kB)
      Collecting charset-normalizer<3,>=2
        Using cached charset_normalizer-2.1.1-py3-none-any.whl (39 kB)
      Collecting sniffio>=1.1
        Using cached sniffio-1.3.0-py3-none-any.whl (10 kB)
      Building wheels for collected packages: qtci
        Building wheel for qtci (setup.py) ... done
        Created wheel for qtci: filename=qtci-0.0.2-py3-none-any.whl size=140464 sha256=d83cf39704dce5fb1647ad4ec7bfb3fb26a7af48f9ba65b36974aa41cc2ea3f3
        Stored in directory: /home/aseeem/.cache/pip/wheels/d3/71/d6/a3563888a4d6db9a1f712ad5038d83a57b2dc14b9a3dcccb0a
      Successfully built qtci
      Installing collected packages: typing-extensions, pydantic, idna, sniffio, anyio, starlette, fastapi, smmap, gitdb, gitpython, plyer, py-notifier, PyYAML, pyngrok, python-dotenv, certifi, urllib3, charset-normalizer, requests, requests-toolbelt, python-gitlab, six, python-multipart, h11, click, uvicorn, qtci
      Successfully installed PyYAML-6.0 anyio-3.6.1 certifi-2022.6.15 charset-normalizer-2.1.1 click-8.1.3 fastapi-0.82.0 gitdb-4.0.9 gitpython-3.1.27 h11-0.13.0 idna-3.3 plyer-2.0.0 py-notifier-0.3.2 pydantic-1.10.2 pyngrok-5.1.0 python-dotenv-0.21.0 python-gitlab-3.9.0 python-multipart-0.0.5 qtci-0.0.2 requests-2.28.1 requests-toolbelt-0.9.1 six-1.16.0 smmap-5.0.0 sniffio-1.3.0 starlette-0.19.1 typing-extensions-4.3.0 urllib3-1.26.12 uvicorn-0.18.3
       
      
      

       

      Running pip show qtci also reports version as 0.0.2

      (venv-qtci-sdist-2022-09-06_06-32-1662435179) [develop] aseeem@thinklin-t480s:~/Work/QtCompanyOy/dashboard-plugin/venv-qtci-sdist-2022-09-06_06-32-1662435179$ pip show qtci
      Name: qtci
      Version: 0.0.2
      Summary: Qt Cloud CI plugin
      Home-page: https://git.qt.io/playground/qtcloud
      Author: Aseem Shakuntal
      Author-email: aseem.shakuntal@qt.io
      License: UNKNOWN
      Location: /home/aseeem/Work/QtCompanyOy/dashboard-plugin/venv-qtci-sdist-2022-09-06_06-32-1662435179/lib/python3.8/site-packages
      Requires: pyngrok, gitpython, python-gitlab, py-notifier, python-dotenv, plyer, uvicorn, python-multipart, fastapi
      Required-by: 
       

      Attachments

        Activity

          People

            Unassigned Unassigned
            as33ms Aseem Shakuntal
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: