Skip to content

Commit 52056a1

Browse files
committed
bump minimum ruamel.yaml to 0.16
1 parent 4d25e0f commit 52056a1

File tree

3 files changed

+2
-10
lines changed

3 files changed

+2
-10
lines changed

Makefile

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -183,12 +183,6 @@ list-author-emails:
183183

184184
mypy3: mypy
185185
mypy: $(PYSOURCES)
186-
if ! test -f $(shell python -c 'import ruamel.yaml; import os.path; print(os.path.dirname(ruamel.yaml.__file__))')/py.typed ; \
187-
then \
188-
rm -Rf mypy-stubs/ruamel/yaml ; \
189-
ln -s $(shell python -c 'import ruamel.yaml; import os.path; print(os.path.dirname(ruamel.yaml.__file__))') \
190-
mypy-stubs/ruamel/ ; \
191-
fi # if minimally required ruamel.yaml version is 0.15.99 or greater, than the above can be removed
192186
MYPYPATH=$$MYPYPATH:mypy-stubs mypy $^
193187

194188
mypyc: $(PYSOURCES)

requirements.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
requests>=2.6.1
2-
ruamel.yaml>=0.15.0,<0.18
3-
ruamel.yaml>=0.16;python_version>='3.10'
2+
ruamel.yaml>=0.16.0,<0.18
43
rdflib>=4.2.2,<7.1
54
shellescape>=3.4.1,<3.9
65
schema-salad>=8.4.20230426093816,<9

setup.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,8 +112,7 @@
112112
"setuptools",
113113
"requests >= 2.6.1", # >= 2.6.1 to workaround
114114
# https://github.com/ionrock/cachecontrol/issues/137
115-
"ruamel.yaml >= 0.15, < 0.18",
116-
"ruamel.yaml >= 0.16.0;python_version>='3.10'",
115+
"ruamel.yaml >= 0.16, < 0.18",
117116
"rdflib >= 4.2.2, < 7.1.0",
118117
"shellescape >= 3.4.1, < 3.9",
119118
"schema-salad >= 8.4.20230426093816, < 9",

0 commit comments

Comments
 (0)