Skip to content

feat(python): add Python module#947

Open
AttractiveToad wants to merge 1 commit into
coder:mainfrom
AttractiveToad:feat/attractivetoad-python-module
Open

feat(python): add Python module#947
AttractiveToad wants to merge 1 commit into
coder:mainfrom
AttractiveToad:feat/attractivetoad-python-module

Conversation

@AttractiveToad

@AttractiveToad AttractiveToad commented Jul 7, 2026

Copy link
Copy Markdown

Summary

  • add an attractivetoad/python module for Debian/Ubuntu workspaces
  • install Python 3, pip, and venv with apt-get
  • create a python command that points to python3 when python is missing

Tests

  • PATH="/tmp/opencode/terraform-bin:$PATH" terraform fmt -recursive -diff "registry/attractivetoad/modules/python"
  • PATH="/tmp/opencode/terraform-bin:$PATH" terraform test -no-color -verbose
  • PATH="/tmp/opencode/terraform-bin:$PATH" MODULE_CHANGED_FILES="registry/attractivetoad/modules/python/main.tf registry/attractivetoad/modules/python/main.tftest.hcl registry/attractivetoad/modules/python/scripts/install.sh.tftpl registry/attractivetoad/modules/python/README.md registry/attractivetoad/modules/python/main.test.ts" ./scripts/terraform_validate.sh
  • PATH="/tmp/opencode/terraform-bin:$PATH" bun test main.test.ts
  • bun x shellcheck --severity=warning --format=gcc /tmp/opencode/python-install-rendered.sh

Copilot AI review requested due to automatic review settings July 7, 2026 19:32

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

Adds a new community Terraform module under registry/attractivetoad to install Python tooling on Debian/Ubuntu Coder workspaces, using coder-utils for script orchestration and standardized module log/script directories.

Changes:

  • Introduces attractivetoad/python module with an apt-based install script and coder-utils orchestration.
  • Adds Terraform (.tftest.hcl) and TypeScript (main.test.ts) tests for the new module.
  • Adds a Python icon and namespace/module documentation.

Reviewed changes

Copilot reviewed 6 out of 8 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
registry/attractivetoad/README.md Adds new namespace README and module listing.
registry/attractivetoad/modules/python/main.tf Implements the Python module, inputs, coder-utils wiring, and outputs.
registry/attractivetoad/modules/python/scripts/install.sh.tftpl Adds the apt-based installation script.
registry/attractivetoad/modules/python/README.md Documents module usage and examples.
registry/attractivetoad/modules/python/main.tftest.hcl Adds Terraform plan-time assertions for defaults/outputs.
registry/attractivetoad/modules/python/main.test.ts Adds TS test for required variables/init.
.icons/python.svg Adds Python SVG icon used by the module README/UI.

Comment thread registry/attractivetoad/modules/python/main.tf Outdated
Comment thread registry/attractivetoad/modules/python/scripts/install.sh.tftpl
@AttractiveToad AttractiveToad force-pushed the feat/attractivetoad-python-module branch 3 times, most recently from c7ceacb to da0fa28 Compare July 7, 2026 20:10
@AttractiveToad AttractiveToad force-pushed the feat/attractivetoad-python-module branch from da0fa28 to 78d4c1c Compare July 7, 2026 20:17
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.

2 participants