Skip to content

Add version-independent python directory#495

Open
erozen wants to merge 1 commit into
felddy:developfrom
erozen:patch-1
Open

Add version-independent python directory#495
erozen wants to merge 1 commit into
felddy:developfrom
erozen:patch-1

Conversation

@erozen

@erozen erozen commented Jul 7, 2026

Copy link
Copy Markdown

🗣 Description

Add a symlink /opt/venv/lib/python that points to the versioned python directory next to it.

💭 Motivation and context

With this change, the config file can reference skins and other directories under the venv without requiring path updates between python upgrades.

🧪 Testing

Manually created symlink in running container using same command.

✅ Pre-approval checklist

  • This PR has an informative and human-readable title.
  • Changes are limited to a single goal - eschew scope creep!
  • All future TODOs are captured in issues, which are referenced
    in code comments.
  • All relevant type-of-change labels have been added.
  • I have read the CONTRIBUTING document.
  • These code changes follow cisagov code standards.
  • All relevant repo and/or project documentation has been updated
    to reflect the changes in this PR.
  • Tests have been added and/or modified to cover the changes in this PR.
  • All new and existing tests pass.

✅ Pre-merge checklist

  • Revert dependencies to default branches.
  • Finalize version.

✅ Post-merge checklist

  • Add a tag or create a release.

Add a symlink `/opt/venv/lib/python` that points to the versioned python directory next to it, so the config file can reference skins etc without requiring updates between python upgrades.
@erozen erozen requested a review from felddy as a code owner July 7, 2026 08:35
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.

1 participant