mirror of
https://github.com/theupdateframework/python-tuf
synced 2026-05-24 10:08:28 +00:00
Specification version now only lives in tuf/__init__.py, and will only be derived from there. Specification version info is no longer in tuf.formats, where it was previously moved from tuf.updater, since this was redundant. Also finally corrects spec version testing in test_updater.py. Signed-off-by: Sebastien Awwad <sebastien.awwad@gmail.com>
13 lines
682 B
Python
Executable file
13 lines
682 B
Python
Executable file
# This value is used in the requests user agent.
|
|
# setup.py has it hard-coded separately.
|
|
# Currently, when the version is changed, it must be set in both locations.
|
|
# TODO: Single-source the version number.
|
|
__version__ = "0.11.2.dev3"
|
|
|
|
# This reference implementation produces metadata intended to conform to
|
|
# version 1.0 of the TUF specification, and is expected to consume metadata
|
|
# conforming to version 1.0 of the TUF specification.
|
|
# All downloaded metadata must be equal to our supported major version of 1.
|
|
# For example, "1.4.3" and "1.0.0" are supported. "2.0.0" is not supported.
|
|
# See https://github.com/theupdateframework/specification
|
|
SPECIFICATION_VERSION = '1.0'
|