Skip to content

Update pip installation guide with venv setup - #634

Merged
vvlladd28 merged 2 commits into
thingsboard:mainfrom
Prus-Oleksandr:IOTGW-704
Aug 28, 2026
Merged

Update pip installation guide with venv setup#634
vvlladd28 merged 2 commits into
thingsboard:mainfrom
Prus-Oleksandr:IOTGW-704

Conversation

@Prus-Oleksandr

Copy link
Copy Markdown
Contributor

Description

Update pip installation guide to use venv (PEP 668 support) for TB Gateway

Type of change

  • New / updated documentation page (src/content/docs/**)
  • Shared include file (src/content/_includes/**)
  • Component, layout, or styling change (src/components/**, src/styles/**)
  • Landing / use-case / case-study page (src/pages/**, src/data/**)
  • Redirects (src/data/redirects.ts)
  • Version bump / release (see release skill)
  • Build, CI, scripts, or tooling
  • Other (please describe)

Affected products

Related issues

  • Closes #

Checklist

  • pnpm check passes (Astro / TypeScript)
  • pnpm lint:eslint passes
  • pnpm lint:slugcheck passes (required if pages were added/renamed/moved across languages)
  • pnpm lint:linkcheck passes locally — required to merge; run it before requesting review (use pnpm lint:linkcheck:nobuild if you already ran a build)
  • Renamed/removed pages have a redirect in src/data/redirects.ts, and pnpm generate:redirects was run
  • No hardcoded versions — values come from src/data/versions.ts
  • Screenshots attached for visual changes

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the ThingsBoard IoT Gateway pip installation include to follow a virtualenv-based flow (PEP 668-friendly) on Ubuntu/Debian, avoiding system-level pip installs.

Changes:

  • Adds python3-venv and introduces a “create + activate venv” step before installation.
  • Moves installation to pip install inside the activated virtual environment (with pip upgrade).
  • Removes the /tmp ownership change from the permissions step.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread src/content/_includes/docs/iot-gateway/installation/pip-installation.mdx Outdated
@vvlladd28
vvlladd28 merged commit d14beda into thingsboard:main Aug 28, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants