Fix backwards compatible update logic (#1587)

This commit is contained in:
Ofek Lev 2020-09-07 10:41:57 -04:00 committed by GitHub
parent 54d2135162
commit 5ff6bf291f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 1 deletions

View File

@ -58,7 +58,9 @@ Every element SHOULD be an `entry <#entries>`_.
]
Any element MAY be an inline table to support possible future functionality.
Backends MUST silently ignore these until the specification is extended.
Backends MUST error when encountering these until the specification is extended.
Other parsers SHOULD do the same, though they MAY consider the entire enclosing
field as `dynamic`_.
optional-dependencies
---------------------
@ -129,6 +131,7 @@ CC0-1.0-Universal license, whichever is more permissive.
.. _fields defined in PEP 621: https://www.python.org/dev/peps/pep-0621/#dependencies-optional-dependencies
.. _PEP 508 strings: https://www.python.org/dev/peps/pep-0508/
.. _Requires-Dist: https://packaging.python.org/specifications/core-metadata/#requires-dist-multiple-use
.. _dynamic: https://www.python.org/dev/peps/pep-0621/#dynamic
.. _Provides-Extra: https://packaging.python.org/specifications/core-metadata/#provides-extra-multiple-use
.. _docker-compose: https://github.com/docker/compose/blob/789bfb0e8b2e61f15f423d371508b698c64b057f/setup.py#L28-L61