← Back to team overview

launchpad-reviewers team mailing list archive

[Merge] ~lgp171188/lpci:pin-upgrade-pyyaml into lpci:main

 

Guruprasad has proposed merging ~lgp171188/lpci:pin-upgrade-pyyaml into lpci:main.

Commit message:
Pin PyYAML to >= 6.0.1 and upgrade it to 6.0.1

This fixes an issue caused by an unpinned `Cython` dependency in
`PyYAML`.

Requested reviews:
  Launchpad code reviewers (launchpad-reviewers)

For more details, see:
https://code.launchpad.net/~lgp171188/lpci/+git/lpcraft/+merge/447266
-- 
Your team Launchpad code reviewers is requested to review the proposed merge of ~lgp171188/lpci:pin-upgrade-pyyaml into lpci:main.
diff --git a/NEWS.rst b/NEWS.rst
index 37be3c9..1f28a94 100644
--- a/NEWS.rst
+++ b/NEWS.rst
@@ -2,6 +2,14 @@
 Version history
 ===============
 
+0.2.3 (unreleased)
+==================
+
+- Pin `PyYAML` to versions >= 6.0.1 and upgrade it to 6.0.1. This fixes an
+  issue caused by an unpinned `Cython` dependency in `PyYAML`. `Cython` 3.0
+  was released recently and this broke `PyYAML`, which is not compatible
+  with it.
+
 0.2.2 (2023-07-14)
 ==================
 
diff --git a/requirements.in b/requirements.in
index 9f747f4..65b6533 100644
--- a/requirements.in
+++ b/requirements.in
@@ -2,6 +2,6 @@ craft-cli
 craft-providers>=1.8.1  # 1.8.1 added support of bases.BuilddBaseAlias.DEVEL
 launchpadlib[keyring]
 pydantic
-PyYAML
+PyYAML>=6.0.1
 python-dotenv
 pluggy
diff --git a/requirements.txt b/requirements.txt
index 9d226a8..f3e3e0a 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -63,7 +63,7 @@ pyparsing==3.0.9
     # via httplib2
 python-dotenv==1.0.0
     # via -r requirements.in
-pyyaml==6.0
+pyyaml==6.0.1
     # via
     #   -r requirements.in
     #   craft-cli
diff --git a/setup.cfg b/setup.cfg
index 71ead96..ae424e6 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -1,6 +1,6 @@
 [metadata]
 name = lpci
-version = 0.2.2
+version = 0.2.3.dev0
 description = Runner for Launchpad CI jobs
 long_description = file: README.rst
 long_description_content_type = text/x-rst