Skip to content

The Docker version of ty reports its version as ty unknown. #2698

@mamekoro

Description

@mamekoro

Summary

The version, --version, and -V subcommands for the Docker version of ty return ty unknown.
Since I don't use uvx, I can't test the non-Docker version of ty.

$ docker run --rm ghcr.io/astral-sh/ty:latest version
ty unknown
$ docker run --rm ghcr.io/astral-sh/ty:latest -V
ty unknown
$ docker run --rm ghcr.io/astral-sh/ty:latest --version
ty unknown
$ docker image inspect --format '{{ index .Config.Labels "org.opencontainers.image.version" }}' ghcr.io/astral-sh/ty:latest
0.0.14
$ docker image inspect --format '{{ .Id }}' ghcr.io/astral-sh/ty:latest
sha256:818ca34f2e102db12926dda3303bb8479c85f8c63ec4dc005dbbee740d25c45e

:LspInfo in Neovim v0.11.5

vim.lsp: Active Clients
- ruff (id: 1)
  - Version: 0.14.14
  - Root directory: nil
  - Command: { "/home/user/.local/bin/ruff", "server" }
  - Settings: {}
  - Attached buffers: 1
- ty (id: 2)
  - Version: unknown
  - Root directory: nil
  - Command: { "/home/user/.local/bin/ty", "server" }
  - Settings: {
      ty = {}
    }
  - Attached buffers: 1

Version

0.0.14

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedContributions especially welcomereleaseRelated to the release process

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions