Skip to content

Update nipunn1313-mypy plugins to the latest - #2105

Merged
pkwarren merged 4 commits into
mainfrom
pkw/issue-2104
Nov 18, 2025
Merged

pkwarren merged 4 commits into
mainfrom
pkw/issue-2104

Conversation

@pkwarren

Copy link
Copy Markdown
Member

Update plugins to use bookworm based build image and distroless base image.

Fixes #2104.

Update plugins to use bookworm based build image and distroless base
image.

Fixes #2104.

@stefanvanburen stefanvanburen 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.

seems reasonable — did we have a similar issue w/ other python plugins?

# https://github.com/nipunn1313/mypy-protobuf/tree/v3.7.0#requirements-to-run-typecheckers-on-stubs-generated-by-mypy-protobuf
# > Earlier releases might work, but aren't tested.
- "types-protobuf >= 5.28"
- "protobuf >= 5.28.2"

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Updated these deps based on the latest documented versions.

WORKDIR /app
RUN python -mvenv /app
ADD /requirements.txt requirements.txt
RUN . ./bin/activate \

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Had to switch source to . for the build to work. Switched this plugin to use distroless python.

@pkwarren

Copy link
Copy Markdown
Member Author

seems reasonable — did we have a similar issue w/ other python plugins?

I think I'd updated other ones already. This plugin was building on an alpine image and deploying w/ debian based one.

@pkwarren
pkwarren requested a review from mfridman November 18, 2025 17:00
@pkwarren
pkwarren enabled auto-merge (squash) November 18, 2025 17:02
@pkwarren
pkwarren merged commit 8b9efd5 into main Nov 18, 2025
2 checks passed
@pkwarren
pkwarren deleted the pkw/issue-2104 branch November 18, 2025 17:03
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.

Unexpected Fetch latest versions failure

3 participants