Replace PyYAML with ruamel.yaml (#1416)

* Remove Python 3.7 and 3.8 from github actions workflows

* Update lockfile after running poetry update a couple times

* Update poetry lock

* Remove Python 3.7 and 3.8 from pyproject.toml and run poetry lock

* Switch from pyyaml to ruamel.yaml

* Remove duplicate editor key in config

* Use ruamel.yaml instead of pyyaml in legacy template.py

* Prevent ruamel from collapsing config YAML

* Run make format
This commit is contained in:
Micah Jerome Ellison 2022-03-12 13:24:31 -08:00 committed by GitHub
parent e46b5a171f
commit d3de5b778b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 154 additions and 129 deletions

View file

@ -37,7 +37,7 @@ keyring = ">=21.0" # https://github.com/jaraco/keyring#integration
parsedatetime = ">=2.6"
python-dateutil = "^2.8" # https://github.com/dateutil/dateutil/blob/master/RELEASING
pyxdg = ">=0.27.0"
pyyaml = ">=5.1"
"ruamel.yaml" = "^0.17.21"
# dayone-only deps
pytz = ">=2020" # https://pythonhosted.org/pytz/#issues-limitations