removed_in: 2.6 is valid (#40399) (#40407)

(cherry picked from commit fe4368ce15)
This commit is contained in:
John R Barker 2018-05-18 16:23:50 +01:00 committed by GitHub
parent 778cb5bd8b
commit 54413642db
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -92,7 +92,7 @@ def deprecation_schema():
# Deprecation cycle changed at 2.4 (though not retroactively) # Deprecation cycle changed at 2.4 (though not retroactively)
# 2.3 -> removed_in: "2.5" + n for docs stub # 2.3 -> removed_in: "2.5" + n for docs stub
# 2.4 -> removed_in: "2.8" + n for docs stub # 2.4 -> removed_in: "2.8" + n for docs stub
Required('removed_in'): Any("2.2", "2.3", "2.4", "2.5", "2.8", "2.9", "2.10"), Required('removed_in'): Any("2.2", "2.3", "2.4", "2.5", "2.6", "2.8", "2.9", "2.10"),
Required('why'): Any(*string_types), Required('why'): Any(*string_types),
Required('alternative'): Any(*string_types), Required('alternative'): Any(*string_types),
'removed': Any(True), 'removed': Any(True),