Skip to content

Commit f5553a2

Browse files
authored
[fix][build] Upgrade PyYaml version to 6.0.1 (apache#20831)
1 parent 1687244 commit f5553a2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docker/pulsar/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ RUN apt-get -y --purge autoremove \
8181
&& apt-get clean \
8282
&& rm -rf /var/lib/apt/lists/*
8383

84-
RUN pip3 install pyyaml==5.4.1
84+
RUN pip3 install pyyaml==6.0.1
8585

8686
# Pulsar currently writes to the below directories, assuming the default configuration.
8787
# Note that number 4 is the reason that pulsar components need write access to the /pulsar directory.

docker/pulsar/scripts/gen-yml-from-env.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
conf_files = sys.argv[1:]
6262

6363
for conf_filename in conf_files:
64-
conf = yaml.load(open(conf_filename))
64+
conf = yaml.load(open(conf_filename), Loader=yaml.FullLoader)
6565

6666
# update the config
6767
modified = False

0 commit comments

Comments
 (0)