Skip to content

Commit 55f51b5

Browse files
chore(governance): fix errors when creating Gitpod environment (#4532)
Fixing problems with gitpod env Co-authored-by: Heitor Lessa <[email protected]>
1 parent 57bef4a commit 55f51b5

File tree

4 files changed

+9
-10
lines changed

4 files changed

+9
-10
lines changed

.gitpod.Dockerfile

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
# See here all gitpod images available: https://hub.docker.com/r/gitpod/workspace-python-3.9/tags
2-
# Current python version: 3.9.13
3-
FROM gitpod/workspace-python-3.9@sha256:de87d4ebffe8daab2e8fef96ec20497ae4f39e8dcb9dec1483d0be61ea78e8cd
1+
# See here all gitpod images available: https://hub.docker.com/r/gitpod/workspace-python-3.11/tags
2+
# Current python version: 3.11.9
3+
FROM gitpod/workspace-python-3.11@sha256:2d9a242844bef5710ab4622899a5254a0c59f0ac58c0d3ac998f749323f43951
44

55
WORKDIR /app
66
ADD . /app
77

88
# Installing pre-commit as system package and not user package. Git needs this to execute pre-commit hooks.
99
RUN export PIP_USER=no
10-
# v3.3.3
10+
# pre-commit v3.7.1
1111
RUN python3 -m pip install --require-hashes -r .gitpod_requirements.txt

.gitpod_requirements.in

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
pre-commit==3.3.3
1+
pre-commit==3.7.1

.gitpod_requirements.txt

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#
2-
# This file is autogenerated by pip-compile with Python 3.9
2+
# This file is autogenerated by pip-compile with Python 3.11
33
# by the following command:
44
#
55
# pip-compile --generate-hashes --output-file=.gitpod_requirements.txt .gitpod_requirements.in
@@ -28,9 +28,9 @@ platformdirs==3.8.0 \
2828
--hash=sha256:b0cabcb11063d21a0b261d557acb0a9d2126350e63b70cdf7db6347baea456dc \
2929
--hash=sha256:ca9ed98ce73076ba72e092b23d3c93ea6c4e186b3f1c3dad6edd98ff6ffcca2e
3030
# via virtualenv
31-
pre-commit==3.3.3 \
32-
--hash=sha256:10badb65d6a38caff29703362271d7dca483d01da88f9d7e05d0b97171c136cb \
33-
--hash=sha256:a2256f489cd913d575c145132ae196fe335da32d91a8294b7afe6622335dd023
31+
pre-commit==3.7.1 \
32+
--hash=sha256:8ca3ad567bc78a4972a3f1a477e94a79d4597e8140a6e0b651c5e33899c3654a \
33+
--hash=sha256:fae36fd1d7ad7d6a5a1c0b0d5adb2ed1a3bda5a21bf6c3e5372073d7a11cd4c5
3434
# via -r .gitpod_requirements.in
3535
pyyaml==6.0 \
3636
--hash=sha256:01b45c0191e6d66c470b6cf1b9531a771a83c1c4208272ead47a3ae4f2f603bf \

Makefile

-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ dev:
1313

1414
dev-gitpod:
1515
pip install --upgrade pip poetry
16-
@$(MAKE) dev-version-plugin
1716
poetry install --extras "all redis datamasking"
1817
pre-commit install
1918

0 commit comments

Comments
 (0)