Skip to content

Commit

Permalink
* Removing support for ruamel.yaml < 0.17
Browse files Browse the repository at this point in the history
  • Loading branch information
cdgriffith committed Jan 21, 2022
1 parent e07f8a1 commit ddb9041
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pythonpublish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
deploy-cython:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
os: [macos-latest, windows-latest]
python-version: ["3.7", "3.8", "3.9", "3.10"]
runs-on: ${{ matrix.os }}

Expand Down
1 change: 1 addition & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ Version 6.0.0
* Changing `update` and `merge_update` to not use a keyword that could cause issues in rare circumstances
* Fixing internal `_safe_key` logic to be twice as fast
* Removing support for 3.6 as it is EOL
* Removing support for ruamel.yaml < 0.17

Version 5.4.1
-------------
Expand Down
2 changes: 1 addition & 1 deletion box/converters.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ def _to_yaml(
elif pyyaml_available:
return yaml.dump(obj, default_flow_style=default_flow_style, **yaml_kwargs)
else:
raise BoxError("No YAML Parser available, please install ruamel.yaml>0.15 or PyYAML")
raise BoxError("No YAML Parser available, please install ruamel.yaml>0.17 or PyYAML")


def _from_yaml(
Expand Down
2 changes: 1 addition & 1 deletion requirements-test.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ coverage>=5.0.4
msgpack>=1.0
pytest>=5.4.1
pytest-cov>=2.8.1
ruamel.yaml>=0.16,<0.17
ruamel.yaml>=0.17
toml>=0.10.2
types-PyYAML>=6.0.3
types-toml>=0.1.3
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
msgpack>=1.0.0
ruamel.yaml>=0.15
ruamel.yaml>=0.17
toml>=0.10.2
6 changes: 3 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,9 @@
"Topic :: Software Development :: Libraries :: Python Modules",
],
extras_require={
"all": ["ruamel.yaml", "toml", "msgpack"],
"yaml": ["ruamel.yaml"],
"ruamel.yaml": ["ruamel.yaml"],
"all": ["ruamel.yaml>=0.17", "toml", "msgpack"],
"yaml": ["ruamel.yaml>=0.17"],
"ruamel.yaml": ["ruamel.yaml>=0.17"],
"PyYAML": ["PyYAML"],
"toml": ["toml"],
"msgpack": ["msgpack"],
Expand Down

0 comments on commit ddb9041

Please sign in to comment.