diff --git a/.github/workflows/release_tests.yml b/.github/workflows/release_tests.yml index 62d34ea0f6..c161badf75 100644 --- a/.github/workflows/release_tests.yml +++ b/.github/workflows/release_tests.yml @@ -45,6 +45,6 @@ jobs: # FIXME: c.f. https://github.com/proycon/codemetapy/issues/24 - name: Verify requirements in codemeta.json run: | - python -m pip install jq "codemetapy==0.3.5" - codemetapy --no-extras pyhf > codemeta_generated.json + python -m pip install jq "codemetapy>=2.2.2" + codemetapy --inputtype python --no-extras pyhf > codemeta_generated.json diff <(jq -S .softwareRequirements codemeta.json) <(jq -S .softwareRequirements codemeta_generated.json) diff --git a/codemeta.json b/codemeta.json index 4ed05eed12..10b19f4781 100644 --- a/codemeta.json +++ b/codemeta.json @@ -1,159 +1,145 @@ { "@context": [ - "https://doi.org/10.5063/schema/codemeta-2.0", - "http://schema.org" + "https://raw.githubusercontent.com/codemeta/codemeta/2.0/codemeta.jsonld", + "https://w3id.org/software-iodata", + "https://raw.githubusercontent.com/schemaorg/schemaorg/main/data/releases/13.0/schemaorgcontext.jsonld", + "https://w3id.org/software-types" ], + "@id": "https://github.com/scikit-hep/pyhf", "@type": "SoftwareSourceCode", - "identifier": "pyhf", - "name": "pyhf", - "version": "0.7.0rc4", - "description": "pure-Python HistFactory implementation with tensors and autodiff", - "license": "Apache, OSI Approved :: Apache Software License", + "applicationCategory": [ + "Scientific/Engineering", + "Scientific/Engineering > Physics" + ], + "audience": { + "@id": "/audience/science-research", + "@type": "Audience", + "audienceType": "Science/Research" + }, "author": [ { - "@id": "https://orcid.org/0000-0002-4048-7584", + "@id": "/person/lukas-heinrich", "@type": "Person", - "givenName": "Lukas", + "email": "lukas.heinrich@cern.ch", "familyName": "Heinrich", - "email": "lukas.heinrich@cern.ch" + "givenName": "Lukas", + "identifier": "https://orcid.org/0000-0002-4048-7584", + "position": 1 }, { - "@id": "https://orcid.org/0000-0003-4124-7862", + "@id": "/person/matthew-feickert", "@type": "Person", - "givenName": "Matthew", + "email": "matthew.feickert@cern.ch", "familyName": "Feickert", - "email": "matthew.feickert@cern.ch" + "givenName": "Matthew", + "identifier": "https://orcid.org/0000-0003-4124-7862", + "position": 2 }, { - "@id": "https://orcid.org/0000-0001-6616-3433", + "@id": "/person/giordon-stark", "@type": "Person", - "givenName": "Giordon", + "email": "gstark@cern.ch", "familyName": "Stark", - "email": "gstark@cern.ch" + "givenName": "Giordon", + "identifier": "https://orcid.org/0000-0001-6616-3433", + "position": 3 } ], + "codeRepository": "https://github.com/scikit-hep/pyhf", + "description": "pure-Python HistFactory implementation with tensors and autodiff", + "developmentStatus": "4 - Beta", + "identifier": "pyhf", + "issueTracker": "https://github.com/scikit-hep/pyhf/issues", + "keywords": "physics fitting numpy scipy tensorflow pytorch jax", + "license": "http://spdx.org/licenses/Apache-2.0", + "name": "pyhf", + "releaseNotes": "https://pyhf.readthedocs.io/en/stable/release-notes.html", + "runtimePlatform": [ + "Python 3", + "Python 3 Only", + "Python 3.10", + "Python 3.7", + "Python 3.8", + "Python 3.9", + "Python Implementation CPython" + ], + "softwareHelp": { + "@id": "https://pyhf.readthedocs.io/" + }, "softwareRequirements": [ { + "@id": "/dependency/click-ge-8.0.0", "@type": "SoftwareApplication", - "identifier": "scipy", - "name": "scipy", - "provider": { - "@id": "https://pypi.org", - "@type": "Organization", - "name": "The Python Package Index", - "url": "https://pypi.org" - }, + "identifier": "click", + "name": "click", "runtimePlatform": "Python 3", - "version": ">=1.1.0" + "version": ">=8.0.0" }, { + "@id": "/dependency/importlib-resources-ge-1.4.0", "@type": "SoftwareApplication", - "identifier": "click", - "name": "click", - "provider": { - "@id": "https://pypi.org", - "@type": "Organization", - "name": "The Python Package Index", - "url": "https://pypi.org" - }, + "identifier": "importlib-resources", + "name": "importlib-resources", "runtimePlatform": "Python 3", - "version": ">=8.0.0" + "version": ">=1.4.0" }, { + "@id": "/dependency/jsonpatch-ge-1.15", "@type": "SoftwareApplication", - "identifier": "tqdm", - "name": "tqdm", - "provider": { - "@id": "https://pypi.org", - "@type": "Organization", - "name": "The Python Package Index", - "url": "https://pypi.org" - }, + "identifier": "jsonpatch", + "name": "jsonpatch", "runtimePlatform": "Python 3", - "version": ">=4.56.0" + "version": ">=1.15" }, { + "@id": "/dependency/jsonschema-ge-4.15.0", "@type": "SoftwareApplication", "identifier": "jsonschema", "name": "jsonschema", - "provider": { - "@id": "https://pypi.org", - "@type": "Organization", - "name": "The Python Package Index", - "url": "https://pypi.org" - }, "runtimePlatform": "Python 3", "version": ">=4.15.0" }, { + "@id": "/dependency/pyyaml-ge-5.1", "@type": "SoftwareApplication", - "identifier": "jsonpatch", - "name": "jsonpatch", - "provider": { - "@id": "https://pypi.org", - "@type": "Organization", - "name": "The Python Package Index", - "url": "https://pypi.org" - }, + "identifier": "pyyaml", + "name": "pyyaml", "runtimePlatform": "Python 3", - "version": ">=1.15" + "version": ">=5.1" }, { + "@id": "/dependency/scipy-ge-1.1.0", "@type": "SoftwareApplication", - "identifier": "pyyaml", - "name": "pyyaml", - "provider": { - "@id": "https://pypi.org", - "@type": "Organization", - "name": "The Python Package Index", - "url": "https://pypi.org" - }, + "identifier": "scipy", + "name": "scipy", "runtimePlatform": "Python 3", - "version": ">=5.1" + "version": ">=1.1.0" }, { + "@id": "/dependency/tqdm-ge-4.56.0", "@type": "SoftwareApplication", - "identifier": "importlib-resources", - "name": "importlib-resources", - "provider": { - "@id": "https://pypi.org", - "@type": "Organization", - "name": "The Python Package Index", - "url": "https://pypi.org" - }, + "identifier": "tqdm", + "name": "tqdm", "runtimePlatform": "Python 3", - "version": ">=1.4.0" + "version": ">=4.56.0" }, { + "@id": "/dependency/typing-extensions-ge-3.7.4.3", "@type": "SoftwareApplication", "identifier": "typing-extensions", "name": "typing-extensions", - "provider": { - "@id": "https://pypi.org", - "@type": "Organization", - "name": "The Python Package Index", - "url": "https://pypi.org" - }, "runtimePlatform": "Python 3", "version": ">=3.7.4.3" } ], - "audience": [ - { - "@type": "Audience", - "audienceType": "Science/Research" - } - ], - "provider": { - "@id": "https://pypi.org", - "@type": "Organization", - "name": "The Python Package Index", - "url": "https://pypi.org" + "targetProduct": { + "@id": "/commandlineapplication/pyhf", + "@type": "CommandLineApplication", + "description": "The pyhf command line interface.", + "executableName": "pyhf", + "name": "pyhf", + "runtimePlatform": "Python 3" }, - "runtimePlatform": "Python 3", "url": "https://github.com/scikit-hep/pyhf", - "keywords": "physics fitting numpy scipy tensorflow pytorch jax", - "developmentStatus": "4 - Beta", - "applicationCategory": "Scientific/Engineering, Scientific/Engineering :: Physics", - "programmingLanguage": "Python 3, Python 3 Only, Python 3.7, Python 3.8, Python 3.9, Python 3.10, Python Implementation CPython" + "version": "0.7.0rc4" }