Skip to content

Commit 4f027af

Browse files
committed
Pinning connexion<3.0; added extra fields in JSON list.
1 parent 1183c6b commit 4f027af

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

packaging/packaging.py

+11-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
1+
import datetime
12
import json
23
import logging
34
from pathlib import Path
45
import pprint
6+
import timezone
57

68
import semver
79

@@ -251,8 +253,14 @@ def find_packages(progress=True):
251253
print("The package database has not changed.")
252254
else:
253255
print("The package database has changed.")
256+
257+
plist = {
258+
"date": datetime.now(timezone.utc),
259+
"doi": "10.5281/zenodo.7860696",
260+
"packages": packages,
261+
}
254262
with path.open("w") as fd:
255-
json.dump(packages, fd, indent=4, sort_keys=True)
263+
json.dump(plist, fd, indent=4, sort_keys=True)
256264
with Path("commit_message.txt").open("w") as fd:
257265
fd.write("New SEAMM package database\n\n")
258266
for i, line in enumerate(message):
@@ -280,6 +288,8 @@ def create_env_files(packages):
280288
281289
# From conda-forge because pip can't install
282290
- psutil
291+
# The Dashboard fails with newer versions, so until fixed.
292+
- connexion<3.0
283293
284294
# Core packages
285295
"""

0 commit comments

Comments
 (0)