Skip to content

Commit 6bdd222

Browse files
authored
chore: remove legacy python owlbot pipeline and dependencies (#13912)
This change removes dead pip configurations, CI environment variables, and the hermetic build Python codebase. All post-processing tasks are now handled natively in Go by Librarian. Fixes googleapis/librarian#7064
1 parent 2347ace commit 6bdd222

82 files changed

Lines changed: 1 addition & 5460 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/librarian_generation_check.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,6 @@ jobs:
7575
librarian install
7676
echo "$HOME/.cache/librarian/bin/java_tools/bin" >> $GITHUB_PATH
7777
- name: Run librarian generate
78-
env:
79-
PYTHONPATH: ${{ github.workspace }}/sdk-platform-java/hermetic_build/library_generation/owlbot
8078
run: |
8179
librarian generate --all
8280
- name: Check for generated code changes

.github/workflows/sdk-platform-java-downstream.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ on:
66
# Changes to these directories do not directly affect the downstream libraries
77
paths-ignore:
88
- gapic-generator-java/**
9-
- library_generation/**
109
- showcase/**
1110
- test/**
1211

.github/workflows/showcase.yaml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -127,13 +127,7 @@ jobs:
127127
- uses: actions/setup-go@40f1582b2485089dde7abd97c1529aa768e1baff # v5
128128
with:
129129
go-version: 'stable'
130-
- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
131-
with:
132-
python-version: "3.12"
133-
cache: 'pip'
134130
- name: Install Librarian and tools
135-
env:
136-
PYTHONPATH: ${{ github.workspace }}/sdk-platform-java/hermetic_build/library_generation/owlbot
137131
run: |
138132
V=$(go run github.com/googleapis/librarian/cmd/librarian@latest config get version)
139133
echo "Installing librarian version $V"

.github/workflows/update_librarian_googleapis.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,6 @@ jobs:
125125
go run "github.com/googleapis/librarian/cmd/librarian@${STEPS_LIBRARIAN_OUTPUTS_VERSION}" install
126126
echo "$HOME/.cache/librarian/bin/java_tools/bin" >> $GITHUB_PATH
127127
env:
128-
PYTHONPATH: ${{ github.workspace }}/sdk-platform-java/hermetic_build/library_generation/owlbot
129128
STEPS_LIBRARIAN_OUTPUTS_VERSION: ${{ steps.librarian.outputs.version }}
130129
- name: Generate Libraries
131130
if: steps.detect_librarian.outputs.has_changes == 'true'

generation/set_owlbot_config.sh

Lines changed: 0 additions & 79 deletions
This file was deleted.

generation/update_owlbot_postprocessor_config.sh

Lines changed: 0 additions & 35 deletions
This file was deleted.

librarian.yaml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -39,14 +39,6 @@ tools:
3939
packaging: jar
4040
local_path: sdk-platform-java/gapic-generator-java
4141
main_class: com.google.api.generator.Main
42-
pip:
43-
- name: PyYAML
44-
version: 6.0.2
45-
- name: jinja2
46-
version: 3.1.6
47-
- name: synthtool
48-
version: ""
49-
local_path: sdk-platform-java/hermetic_build/library_generation
5042
protoc:
5143
version: "33.6"
5244
sha256: 9c49962391ff8b5754342509efc3885db91dfe11a358e1e98c9a71518f0ad199

monorepo-migration/update_owlbot.py

Lines changed: 0 additions & 212 deletions
This file was deleted.

0 commit comments

Comments
 (0)