Skip to content

Commit 8116625

Browse files
chore: Update codemeta (#2173)
* Update codemeta.json to be similar style to the codemetapy v2.4.x output. - Add numpy to codemeta.json. * Update codemetapy to v2.4.1 in the release tests.
1 parent 78884a6 commit 8116625

File tree

2 files changed

+17
-20
lines changed

2 files changed

+17
-20
lines changed

.github/workflows/release_tests.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,6 @@ jobs:
4545
# FIXME: c.f. https://github.com/proycon/codemetapy/issues/24
4646
- name: Verify requirements in codemeta.json
4747
run: |
48-
python -m pip install jq "codemetapy>=2.2.2"
48+
python -m pip install jq "codemetapy>=2.4.1"
4949
codemetapy --inputtype python --no-extras pyhf > codemeta_generated.json
5050
diff <(jq -S .softwareRequirements codemeta.json) <(jq -S .softwareRequirements codemeta_generated.json)

codemeta.json

+16-19
Original file line numberDiff line numberDiff line change
@@ -58,78 +58,75 @@
5858
"Python 3",
5959
"Python 3 Only",
6060
"Python 3.10",
61+
"Python 3.11",
6162
"Python 3.7",
6263
"Python 3.8",
6364
"Python 3.9",
6465
"Python Implementation CPython"
6566
],
66-
"softwareHelp": {
67-
"@id": "https://pyhf.readthedocs.io/"
68-
},
67+
"softwareHelp": "https://pyhf.readthedocs.io/",
6968
"softwareRequirements": [
7069
{
71-
"@id": "/dependency/click-ge-8.0.0",
7270
"@type": "SoftwareApplication",
7371
"identifier": "click",
7472
"name": "click",
7573
"runtimePlatform": "Python 3",
76-
"version": ">=8.0.0"
74+
"version": ">= 8.0.0"
7775
},
7876
{
79-
"@id": "/dependency/importlib-resources-ge-1.4.0",
8077
"@type": "SoftwareApplication",
8178
"identifier": "importlib-resources",
8279
"name": "importlib-resources",
8380
"runtimePlatform": "Python 3",
84-
"version": ">=1.4.0"
81+
"version": ">= 1.4.0"
8582
},
8683
{
87-
"@id": "/dependency/jsonpatch-ge-1.15",
8884
"@type": "SoftwareApplication",
8985
"identifier": "jsonpatch",
9086
"name": "jsonpatch",
9187
"runtimePlatform": "Python 3",
92-
"version": ">=1.15"
88+
"version": ">= 1.15"
9389
},
9490
{
95-
"@id": "/dependency/jsonschema-ge-4.15.0",
9691
"@type": "SoftwareApplication",
9792
"identifier": "jsonschema",
9893
"name": "jsonschema",
9994
"runtimePlatform": "Python 3",
100-
"version": ">=4.15.0"
95+
"version": ">= 4.15.0"
96+
},
97+
{
98+
"@type": "SoftwareApplication",
99+
"identifier": "numpy",
100+
"name": "numpy",
101+
"runtimePlatform": "Python 3"
101102
},
102103
{
103-
"@id": "/dependency/pyyaml-ge-5.1",
104104
"@type": "SoftwareApplication",
105105
"identifier": "pyyaml",
106106
"name": "pyyaml",
107107
"runtimePlatform": "Python 3",
108-
"version": ">=5.1"
108+
"version": ">= 5.1"
109109
},
110110
{
111-
"@id": "/dependency/scipy-ge-1.2.0",
112111
"@type": "SoftwareApplication",
113112
"identifier": "scipy",
114113
"name": "scipy",
115114
"runtimePlatform": "Python 3",
116-
"version": ">=1.2.0"
115+
"version": ">= 1.2.0"
117116
},
118117
{
119-
"@id": "/dependency/tqdm-ge-4.56.0",
120118
"@type": "SoftwareApplication",
121119
"identifier": "tqdm",
122120
"name": "tqdm",
123121
"runtimePlatform": "Python 3",
124-
"version": ">=4.56.0"
122+
"version": ">= 4.56.0"
125123
},
126124
{
127-
"@id": "/dependency/typing-extensions-ge-3.7.4.3",
128125
"@type": "SoftwareApplication",
129126
"identifier": "typing-extensions",
130127
"name": "typing-extensions",
131128
"runtimePlatform": "Python 3",
132-
"version": ">=3.7.4.3"
129+
"version": ">= 3.7.4.3"
133130
}
134131
],
135132
"targetProduct": {

0 commit comments

Comments
 (0)