Compare commits

...

2 Commits

Author SHA1 Message Date
0b90f37518 Bump version to 0.9.66 2023-08-27 11:41:22 -04:00
33205273dc Fix missing YAML load 2023-08-27 11:41:10 -04:00
7 changed files with 18 additions and 6 deletions

View File

@ -1 +1 @@
0.9.65
0.9.66

View File

@ -1,5 +1,9 @@
## PVC Changelog
###### [v0.9.66](https://github.com/parallelvirtualcluster/pvc/releases/tag/v0.9.66)
* [CLI] Fixes a missing YAML import in CLI
###### [v0.9.65](https://github.com/parallelvirtualcluster/pvc/releases/tag/v0.9.65)
* [CLI] Fixes a bug in the node list filtering command

View File

@ -27,7 +27,7 @@ from ssl import SSLContext, TLSVersion
from distutils.util import strtobool as dustrtobool
# Daemon version
version = "0.9.65"
version = "0.9.66"
# API version
API_VERSION = 1.0

View File

@ -27,6 +27,8 @@ from os import environ, makedirs, path
from pkg_resources import get_distribution
from lxml.etree import fromstring, tostring
from re import sub
from yaml import load as yload
from yaml import SafeLoader as SafeYAMLLoader
from pvc.cli.helpers import *
from pvc.cli.waiters import *
@ -4510,7 +4512,7 @@ def cli_provisioner_userdata_add(name, filename):
userdata = filename.read()
filename.close()
try:
yaml.load(userdata, Loader=yaml.SafeLoader)
yload(userdata, Loader=SafeYAMLLoader)
except Exception as e:
echo("Error: Userdata document is malformed")
cleanup(False, e)
@ -4599,7 +4601,7 @@ def cli_provisioner_userdata_modify(name, filename, editor):
filename.close()
try:
yaml.load(userdata, Loader=yaml.SafeLoader)
yload(userdata, Loader=SafeYAMLLoader)
except Exception as e:
echo("Error: Userdata document is malformed")
cleanup(False, e)

View File

@ -2,7 +2,7 @@ from setuptools import setup
setup(
name="pvc",
version="0.9.65",
version="0.9.66",
packages=["pvc.cli", "pvc.lib"],
install_requires=[
"Click",

6
debian/changelog vendored
View File

@ -1,3 +1,9 @@
pvc (0.9.66-0) unstable; urgency=high
* [CLI] Fixes a missing YAML import in CLI
-- Joshua M. Boniface <joshua@boniface.me> Sun, 27 Aug 2023 11:36:05 -0400
pvc (0.9.65-0) unstable; urgency=high
* [CLI] Fixes a bug in the node list filtering command

View File

@ -49,7 +49,7 @@ import re
import json
# Daemon version
version = "0.9.65"
version = "0.9.66"
##########################################################