Skip to content
Snippets Groups Projects
Forked from Platform / Development / swh-core
55 commits behind the upstream repository.
Jérémy Bobbio (Lunar)'s avatar
Jérémy Bobbio (Lunar) authored
YAML mappings are converted in Python as dict. The order
of the keys in dicts returned by `load_from_envvar()` were
not stable from one Python run to the next.

Since Python 3.6, dicts are ordered by default, and `yaml.safe_load()`
will always return keys in the same order. The culprit was
`merge_configs` which created a set (which are unordered) of keys
to perform the merge.
32e534f1
History

Software Heritage - Core foundations

Low-level utilities and helpers used by almost all other modules in the stack.

core library for swh's modules:

  • config parser
  • serialization
  • logging mechanism
  • database connection
  • http-based RPC client/server