Skip to content

Lightning install app <app_name> doesn't get the latest app version #14178

@manskx

Description

@manskx

🐛 Bug

There's a bug when doing lightning install app <app_name> but by default, it should install the latest version but it doesn't work as expected.

To Reproduce

lightning install app lightning/invideo

Expected behavior

It should install v0.0.3 but it installs v0.0.2 instead. because the API doesn't sort by version anymore.

Environment

  • CUDA:
    - GPU: None
    - available: False
    - version: None
  • Lightning:
    - lightning: 2022.8.9
    - lightning-cloud: 0.5.0
    - torch: 1.12.0
    - torchmetrics: 0.9.3
  • Packages:
    - absl-py: 1.2.0
    - aiobotocore: 2.1.2
    - aiohttp: 3.8.1
    - aioitertools: 0.10.0
    - aiosignal: 1.2.0
    - anyio: 3.6.1
    - asgiref: 3.5.2
    - async-generator: 1.10
    - async-timeout: 4.0.2
    - attrs: 22.1.0
    - black: 22.6.0
    - bleach: 5.0.1
    - botocore: 1.23.24
    - build: 0.8.0
    - cachetools: 5.2.0
    - certifi: 2022.6.15
    - charset-normalizer: 2.1.0
    - check-manifest: 0.48
    - click: 8.1.3
    - codecov: 2.1.12
    - commonmark: 0.9.1
    - coverage: 6.4.2
    - croniter: 1.3.5
    - deepdiff: 5.8.1
    - dnspython: 2.2.1
    - docutils: 0.19
    - email-validator: 1.2.1
    - fastapi: 0.79.0
    - flake8: 5.0.3
    - frozenlist: 1.3.1
    - fsspec: 2022.1.0
    - google-auth: 2.9.1
    - google-auth-oauthlib: 0.4.6
    - greenlet: 1.1.2
    - grpcio: 1.47.0
    - h11: 0.12.0
    - httpcore: 0.15.0
    - httptools: 0.4.0
    - httpx: 0.23.0
    - idna: 3.3
    - importlib-metadata: 4.12.0
    - iniconfig: 1.1.1
    - isort: 5.10.1
    - itsdangerous: 2.1.2
    - jinja2: 3.0.3
    - jmespath: 0.10.0
    - keyring: 23.7.0
    - lightning: 2022.8.9
    - lightning-cloud: 0.5.0
    - markdown: 3.4.1
    - markupsafe: 2.1.1
    - mccabe: 0.7.0
    - multidict: 6.0.2
    - mypy: 0.971
    - mypy-extensions: 0.4.3
    - numpy: 1.23.1
    - oauthlib: 3.2.0
    - ordered-set: 4.1.0
    - orjson: 3.7.11
    - outcome: 1.2.0
    - packaging: 21.3
    - pathspec: 0.9.0
    - pep517: 0.13.0
    - pip: 22.0.4
    - pkginfo: 1.8.3
    - platformdirs: 2.5.2
    - playwright: 1.22.0
    - pluggy: 1.0.0
    - protobuf: 3.19.4
    - psutil: 5.9.1
    - py: 1.11.0
    - pyasn1: 0.4.8
    - pyasn1-modules: 0.2.8
    - pycodestyle: 2.9.0
    - pydantic: 1.9.1
    - pydeprecate: 0.3.2
    - pyee: 8.1.0
    - pyflakes: 2.5.0
    - pygments: 2.12.0
    - pyjwt: 2.4.0
    - pympler: 1.0.1
    - pyparsing: 3.0.9
    - pytest: 7.1.2
    - pytest-cov: 3.0.0
    - pytest-timeout: 2.1.0
    - python-dateutil: 2.8.2
    - python-dotenv: 0.20.0
    - python-multipart: 0.0.5
    - pyyaml: 6.0
    - readme-renderer: 35.0
    - requests: 2.28.1
    - requests-oauthlib: 1.3.1
    - requests-toolbelt: 0.9.1
    - rfc3986: 1.5.0
    - rich: 12.5.1
    - rsa: 4.9
    - s3fs: 2022.1.0
    - setuptools: 60.10.0
    - six: 1.16.0
    - sniffio: 1.2.0
    - sortedcontainers: 2.4.0
    - starlette: 0.19.1
    - starsessions: 1.2.3
    - tensorboard: 2.9.1
    - tensorboard-data-server: 0.6.1
    - tensorboard-plugin-wit: 1.8.1
    - tomli: 2.0.1
    - torch: 1.12.0
    - torchmetrics: 0.9.3
    - tqdm: 4.64.0
    - traitlets: 5.3.0
    - trio: 0.21.0
    - twine: 4.0.1
    - typing-extensions: 4.3.0
    - ujson: 5.4.0
    - urllib3: 1.26.11
    - uvicorn: 0.17.6
    - uvloop: 0.16.0
    - watchgod: 0.8.2
    - webencodings: 0.5.1
    - websocket-client: 1.3.3
    - websockets: 10.1
    - werkzeug: 2.2.1
    - wheel: 0.37.1
    - wrapt: 1.14.1
    - yarl: 1.8.1
    - zipp: 3.8.1
  • System:
    - OS: Darwin
    - architecture:
    - 64bit
    -
    - processor: arm
    - python: 3.9.12
    - version: Darwin Kernel Version 21.4.0:

Additional context

cc @tchaton @rohitgr7

Metadata

Metadata

Assignees

Labels

app (removed)Generic label for Lightning App packagepriority: 0High priority task

Type

No type

Projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions