Skip to content

Dedup tools install - #3749

Merged
bhcleek merged 3 commits into
fatih:masterfrom
bhcleek:dedup-tools-install
Jul 8, 2026
Merged

bhcleek merged 3 commits into
fatih:masterfrom
bhcleek:dedup-tools-install

Conversation

@bhcleek

@bhcleek bhcleek commented Jul 8, 2026

Copy link
Copy Markdown
Collaborator
omit FROM --platform in the Dockerfile

Remove --platform in the Dockerfile to squash the
FromPlatformFlagConstDisallowed warning and adhere to Docker best
practices (see
https://docs.docker.com/reference/build-checks/from-platform-flag-const-disallowed/).

pin Python setuptools version

Pin Python setuptools module version to 81.0.0, because vint has
dependencies on pkg_resources, which was removed in 82. See
https://discuss.python.org/t/pkg-resources-removal-how-to-go-from-there/106079

Update scripts/lint to check vint's exit code, because setuptools 81.0.0
outputs a warning about the deprecated pkg_resources module.

install tools only once in docker image

Only install the tools once in the Docker image and share them among all
versions of Vim that are used for testing. This is a big productivity
boost, because each installation of the tools takes several minutes.

bhcleek added 3 commits July 7, 2026 17:28
Remove --platform in the Dockerfile to squash the
FromPlatformFlagConstDisallowed warning and adhere to Docker best
practices (see
https://docs.docker.com/reference/build-checks/from-platform-flag-const-disallowed/).
Pin Python setuptools module version to 81.0.0, because vint has
dependencies on pkg_resources, which was removed in 82. See
https://discuss.python.org/t/pkg-resources-removal-how-to-go-from-there/106079

Update scripts/lint to check vint's exit code, because setuptools 81.0.0
outputs a warning about the deprecated pkg_resources module.
Only install the tools once in the Docker image and share them among all
versions of Vim that are used for testing. This is a big productivity
boost, because each installation of the tools takes several minutes.
@bhcleek bhcleek added this to the vim-go v1.30 milestone Jul 8, 2026
@bhcleek
bhcleek merged commit 551d423 into fatih:master Jul 8, 2026
8 checks passed
@bhcleek
bhcleek deleted the dedup-tools-install branch July 8, 2026 04:33
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