From c17449b5d581b68ebd8f8ef974701433d7b45924 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 1 Oct 2024 01:06:40 +0000 Subject: [PATCH 1/4] build(deps): bump invenio-theme from 3.3.0 to 3.4.1 Bumps [invenio-theme](https://github.com/inveniosoftware/invenio-theme) from 3.3.0 to 3.4.1. - [Release notes](https://github.com/inveniosoftware/invenio-theme/releases) - [Changelog](https://github.com/inveniosoftware/invenio-theme/blob/master/CHANGES.rst) - [Commits](https://github.com/inveniosoftware/invenio-theme/compare/v3.3.0...v3.4.1) --- updated-dependencies: - dependency-name: invenio-theme dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 39d660fe..0ce40844 100644 --- a/requirements.txt +++ b/requirements.txt @@ -15,7 +15,7 @@ invenio-oauthclient==4.0.0 invenio-pidstore==1.3.1 invenio-records==2.3.0 invenio-search[opensearch2]==2.4.1 -invenio-theme==3.3.0 +invenio-theme==3.4.1 invenio-userprofiles==3.0.0 python-twitter-v2==0.9.1 responses==0.25.3 From 0d635d0b4518bc89d9e9728013f3d5d6d87e4d2e Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 1 Oct 2024 12:04:14 +0000 Subject: [PATCH 2/4] build(deps): bump invenio-accounts from 5.1.1 to 5.1.2 Bumps [invenio-accounts](https://github.com/inveniosoftware/invenio-accounts) from 5.1.1 to 5.1.2. - [Release notes](https://github.com/inveniosoftware/invenio-accounts/releases) - [Changelog](https://github.com/inveniosoftware/invenio-accounts/blob/master/CHANGES.rst) - [Commits](https://github.com/inveniosoftware/invenio-accounts/compare/v5.1.1...v5.1.2) --- updated-dependencies: - dependency-name: invenio-accounts dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 0ce40844..f4c59e65 100644 --- a/requirements.txt +++ b/requirements.txt @@ -5,7 +5,7 @@ gunicorn==23.0.0 hepdata-converter-ws-client==0.2.2 hepdata-validator==0.3.5 invenio-access==2.0.0 # Indirect (needed by invenio-admin) -invenio-accounts==5.1.1 +invenio-accounts==5.1.2 invenio-admin==1.5.0 invenio-assets==3.0.3 invenio-config==1.0.4 From 4469b9879952662078f3b81a25614877e33c9c5d Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 1 Oct 2024 13:33:24 +0000 Subject: [PATCH 3/4] build(deps): bump invenio-oauthclient from 4.0.0 to 4.0.2 Bumps [invenio-oauthclient](https://github.com/inveniosoftware/invenio-oauthclient) from 4.0.0 to 4.0.2. - [Release notes](https://github.com/inveniosoftware/invenio-oauthclient/releases) - [Changelog](https://github.com/inveniosoftware/invenio-oauthclient/blob/master/CHANGES.rst) - [Commits](https://github.com/inveniosoftware/invenio-oauthclient/compare/v4.0.0...v4.0.2) --- updated-dependencies: - dependency-name: invenio-oauthclient dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index f4c59e65..d7d14537 100644 --- a/requirements.txt +++ b/requirements.txt @@ -11,7 +11,7 @@ invenio-assets==3.0.3 invenio-config==1.0.4 invenio-db[postgresql]==1.1.5 invenio-logging[sentry_sdk]==2.1.1 -invenio-oauthclient==4.0.0 +invenio-oauthclient==4.0.2 invenio-pidstore==1.3.1 invenio-records==2.3.0 invenio-search[opensearch2]==2.4.1 From ec42d7c49aeb26374b8178a2209602ef03b604fa Mon Sep 17 00:00:00 2001 From: Graeme Watt Date: Thu, 3 Oct 2024 13:15:17 +0100 Subject: [PATCH 4/4] records: allow for multiple versions (closes #826) --- hepdata/modules/records/utils/analyses.py | 7 ++++--- hepdata/version.py | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/hepdata/modules/records/utils/analyses.py b/hepdata/modules/records/utils/analyses.py index 3893339f..983a407f 100644 --- a/hepdata/modules/records/utils/analyses.py +++ b/hepdata/modules/records/utils/analyses.py @@ -87,9 +87,10 @@ def update_analyses(endpoint=None): else: - # Remove resource from 'analysis_resources' list. - resource = list(filter(lambda a: a.file_location == _resource_url, analysis_resources))[0] - analysis_resources.remove(resource) + # Remove resources from 'analysis_resources' list. + resources = list(filter(lambda a: a.file_location == _resource_url, analysis_resources)) + for resource in resources: + analysis_resources.remove(resource) if num_new_resources: diff --git a/hepdata/version.py b/hepdata/version.py index c4a0bd28..ab77b827 100644 --- a/hepdata/version.py +++ b/hepdata/version.py @@ -28,4 +28,4 @@ and parsed by ``setup.py``. """ -__version__ = "0.9.4dev20240910" +__version__ = "0.9.4dev20241003"