MAINT Order package entries by names in packages.json (#1772)

This commit is contained in:
Roman Yurchak 2021-08-03 17:01:29 +02:00 committed by GitHub
parent 03b07d2d1c
commit cdd2db03d3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -301,6 +301,9 @@ def generate_packages_json(pkg_map: Dict[str, BasePackage]) -> Dict:
if "soupsieve" in package_data["packages"]:
package_data["packages"]["soupsieve"]["depends"].append("beautifulsoup4")
# re-order packages by name
package_data["packages"] = dict(sorted(package_data["packages"].items()))
return package_data