Skip to content

Commit

Permalink
Pin PyYAML version to 5.3.1 to avoid CI errors temporarily (#36091)
Browse files Browse the repository at this point in the history
CPython 3.0 was released recently which appears to have introduced a regression that leads to failures when installing PyYAML (and perhaps other packages too). This is a temporary fix and this commits needs to be reverted when a proper fix is available.

(cherry picked from commit 46adbac)

# Conflicts:
#	libbeat/tests/system/requirements.txt
#	libbeat/tests/system/requirements_aix.txt
#	metricbeat/Dockerfile
  • Loading branch information
shmsr authored and mergify[bot] committed Jul 24, 2023
1 parent 525e747 commit 979fc90
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 1 deletion.
7 changes: 7 additions & 0 deletions CHANGELOG-developer.next.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,13 @@ The list below covers the major changes between 7.0.0-rc2 and main only.
- Add an option to disable event normalization when creating a `beat.Client`. {pull}33657[33657]
- Add the file path of the instance lock on the error when it's is already locked {pull}33788[33788]
- Add DropFields processor to js API {pull}33458[33458]
- Add support for different folders when testing data {pull}34467[34467]
- Add logging of metric registration in inputmon. {pull}35647[35647]
- Add Okta API package for entity analytics. {pull}35478[35478]
- Add benchmarking to HTTPJSON input testing. {pull}35138[35138]
- Allow non-AWS endpoints for testing Filebeat awss3 input. {issue}35496[35496] {pull}35520[35520]
- Add AUTH (username) and SSL/TLS support for Redis module {pull}35240[35240]
- Pin PyYAML version to 5.3.1 to avoid CI errors temporarily {pull}36091[36091]

==== Deprecated

Expand Down
6 changes: 6 additions & 0 deletions libbeat/tests/system/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,15 @@ pytest==7.1.3
pytest-otel==1.3.0
pytest-rerunfailures==9.1.1
pytest-timeout==1.4.2
<<<<<<< HEAD
PyYAML==5.4.1
redis==2.10.6
requests==2.28.2
=======
PyYAML==5.3.1
redis==4.4.4
requests==2.31.0
>>>>>>> 46adbacfb5 (Pin PyYAML version to 5.3.1 to avoid CI errors temporarily (#36091))
semver==2.8.1
setuptools==65.5.1
six==1.15.0
Expand Down
6 changes: 6 additions & 0 deletions libbeat/tests/system/requirements_aix.txt
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,15 @@ pytest==7.1.3
pytest-otel==1.3.0
pytest-rerunfailures==9.1.1
pytest-timeout==1.4.2
<<<<<<< HEAD
PyYAML==5.4.1
redis==2.10.6
requests==2.25.1
=======
PyYAML==5.3.1
redis==4.4.4
requests==2.31.0
>>>>>>> 46adbacfb5 (Pin PyYAML version to 5.3.1 to avoid CI errors temporarily (#36091))
semver==2.8.1
setuptools==65.5.1
six==1.15.0
Expand Down
4 changes: 4 additions & 0 deletions metricbeat/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,11 @@ RUN \

RUN pip3 install --upgrade pip==20.1.1
RUN pip3 install --upgrade setuptools==47.3.2
<<<<<<< HEAD
RUN pip3 install --upgrade docker-compose==1.23.2
=======
RUN pip3 install --upgrade PyYAML==5.3.1
>>>>>>> 46adbacfb5 (Pin PyYAML version to 5.3.1 to avoid CI errors temporarily (#36091))

# Oracle instant client
RUN cd /usr/lib \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ docutils==0.15.2
jmespath==0.9.5
pyasn1==0.4.8
python-dateutil==2.8.1
PyYAML==5.4.1
PyYAML==5.3.1
rsa==4.7.2
s3transfer==0.3.3
six==1.14.0
Expand Down

0 comments on commit 979fc90

Please sign in to comment.