Skip to content

Pypi Package Version Check (Air-gapped Environment) #372

@zirota

Description

@zirota

Hello, is there any way to disable package version checking? The PYPI_PACKAGE_URL will not be accessible in an air-gapped environment. All the client request will hang indefinitely at this step

pkg_info = requests.get(PYPI_PACKAGE_URL).json()
pkg_info = pkg_info.get("info", {})
latest_version = pkg_info.get("version", "unknown version")
if is_weaviate_client_too_old(client_version, latest_version):
_Warnings.weaviate_client_too_old_vs_latest(client_version, latest_version)

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