invenio-app-rdm 13.0.0rc8__py2.py3-none-any.whl → 13.0.1__py2.py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -17,6 +17,6 @@
17
17
  #
18
18
  # See PEP 0440 for details - https://www.python.org/dev/peps/pep-0440
19
19
 
20
- __version__ = "13.0.0rc8"
20
+ __version__ = "13.0.1"
21
21
 
22
22
  __all__ = ("__version__",)
@@ -84,10 +84,12 @@ def get_form_pids_config(record=None):
84
84
  optional_doi_transitions["message"] = optional_doi_transitions.get(
85
85
  "message"
86
86
  ).format(sitename=sitename)
87
- if set(optional_doi_transitions["allowed_providers"]) - set(
88
- ["external", "not_needed"]
87
+ if (
88
+ "external" not in optional_doi_transitions["allowed_providers"]
89
+ and "not_needed"
90
+ not in optional_doi_transitions["allowed_providers"]
89
91
  ):
90
- # In case we have locally managed provider as an allowed one, we need to
92
+ # In case we have locally managed provider(s) as allowed ones, we need to
91
93
  # select it by default. That is relevant for the case when the
92
94
  # user creates a new version of the record and the previous version
93
95
  # had a datacite DOI.
@@ -72,7 +72,7 @@ def run_upgrade(has, migrate):
72
72
  if draft_error_counter > 0 or record_error_counter > 0:
73
73
  db.session.rollback()
74
74
  secho(
75
- f"{record_error_counter} records had failures and {draft_error_counter} drafts had failures",
75
+ f"Migration failed: {record_error_counter} records had failures and {draft_error_counter} drafts had failures",
76
76
  fg="red",
77
77
  )
78
78
  secho(
@@ -83,7 +83,7 @@ def run_upgrade(has, migrate):
83
83
  elif draft_success_counter > 0 or record_success_counter > 0:
84
84
  db.session.commit()
85
85
  secho(
86
- f"Migration completed: {record_success_counter} records have been updated and {draft_error_counter} drafts have been updated",
86
+ f"Migration completed: {record_success_counter} records have been updated and {draft_success_counter} drafts have been updated",
87
87
  fg="green",
88
88
  )
89
89
  else:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: invenio-app-rdm
3
- Version: 13.0.0rc8
3
+ Version: 13.0.1
4
4
  Summary: Invenio Research Data Management.
5
5
  Home-page: https://github.com/inveniosoftware/invenio-app-rdm
6
6
  Author: CERN
@@ -101,6 +101,22 @@ https://inveniordm.docs.cern.ch
101
101
  Changes
102
102
  =======
103
103
 
104
+ Version v13.0.1 (released 2025-07-31)
105
+
106
+ - fix(deposits): update doi default option only if managed
107
+ * Fix logic for selecting default DOI option in deposit form when creating new versions
108
+ * Only set managed DOI provider as default when external and not_needed are not in allowed providers
109
+ * Improves user experience when versioning records with DataCite DOIs
110
+
111
+ Version v13.0.0 (released 2025-07-23)
112
+
113
+ - Official release of InvenioRDM v13. Contains all pre-release changes. See
114
+ [release notes](https://inveniordm.docs.cern.ch/releases/v13/version-v13.0.0/)
115
+
116
+ Version v13.0.0rc9 (released 2025-07-23)
117
+
118
+ - fix(migration): wrong variable used
119
+
104
120
  Version v13.0.0rc8 (released 2025-07-23)
105
121
 
106
122
  - migration: improve text in v13 upgrade script
@@ -1,4 +1,4 @@
1
- invenio_app_rdm/__init__.py,sha256=bjmxRWRrRWsmr4nTkdClzO7KZBR60b9TtcA-oQvPvko,700
1
+ invenio_app_rdm/__init__.py,sha256=4Hx5n7RvVq-x0IaLAC1ioudUYMQNfakhMnTPPofid3w,697
2
2
  invenio_app_rdm/cli.py,sha256=G6QqNU2W6n6ICtTMnpeKFXIsdorncDmVXwwwsGH5F2k,2746
3
3
  invenio_app_rdm/config.py,sha256=MQYHg0C5p5xAphuGOh3lqxp7k9Dboi27uxn7WHkv2JU,52040
4
4
  invenio_app_rdm/ext.py,sha256=K7syn5CU5If7yOclFeNOCZX_u5q6VB7NJEQVm41mlng,5286
@@ -86,7 +86,7 @@ invenio_app_rdm/records_ui/templates/semantic-ui/invenio_app_rdm/records/macros/
86
86
  invenio_app_rdm/records_ui/templates/semantic-ui/invenio_app_rdm/records/macros/version.html,sha256=eA8-n81XUezkwPXvcG5v2sgLPQNTgr7hB36-_Gr-tVI,758
87
87
  invenio_app_rdm/records_ui/views/__init__.py,sha256=9DaDls04IQv7fYttDjLofIWGsRRjk-FwUYnIfxV3OWk,5840
88
88
  invenio_app_rdm/records_ui/views/decorators.py,sha256=MUUmgGuigmFMigcpyJbNvM0yPKUyeAw5LE6MJ69BoFA,15883
89
- invenio_app_rdm/records_ui/views/deposits.py,sha256=2yUaZIeaGzogztpg0cXInK_twU2n6oP6J60ZA2cz2nA,22394
89
+ invenio_app_rdm/records_ui/views/deposits.py,sha256=26rZSuR5AE8-uDwP6hbgmq6OtLi7BbEkFuZmr5ipb6A,22486
90
90
  invenio_app_rdm/records_ui/views/filters.py,sha256=zKuqjM_Yb9MmBmloStjasASYCwVG7mUe0eolI2MtPXg,6998
91
91
  invenio_app_rdm/records_ui/views/records.py,sha256=u3zvyMk5ADvzC6WhUlxFqjdJMIcuBAwh7PdV_TPg2KE,16454
92
92
  invenio_app_rdm/redirector/__init__.py,sha256=AYCTGmfbmkHW3YJXMqXlWBXcBrUsta-QmL9ULX2bjwA,243
@@ -461,7 +461,7 @@ invenio_app_rdm/upgrade_scripts/fix_migrated_records_from_1_0_to_2_0.py,sha256=S
461
461
  invenio_app_rdm/upgrade_scripts/fix_migrated_records_from_8_0_to_9_0.py,sha256=p6qTNjUMAJ-0tnrSwar7jtDX_sg6V9kFj7fzH-wrbkY,2769
462
462
  invenio_app_rdm/upgrade_scripts/migrate_10_0_to_11_0.py,sha256=TX6FCWXY4qM4z7IYzDO5qaMTheo3zAjFrmR1sXaEf4U,1333
463
463
  invenio_app_rdm/upgrade_scripts/migrate_11_0_to_12_0.py,sha256=Tp7jfT2JHrYCFzF2qIYqG7yr7k-GhX2zkw61CWJGA78,6941
464
- invenio_app_rdm/upgrade_scripts/migrate_12_0_to_13_0.py,sha256=ZIFz0fFu0LQK4Ts8yS9YvZdnvWiO3-piFunLHJ0rrRA,4544
464
+ invenio_app_rdm/upgrade_scripts/migrate_12_0_to_13_0.py,sha256=iE5oJsCslLIACdShhgNJP3vmsUc4Sgvroj0T6rb3aAU,4564
465
465
  invenio_app_rdm/upgrade_scripts/migrate_1_0_records_to_2_0.py,sha256=mRDv_Ao5zMgA6X0aogMfvhspO1CIApKtDW_ziJp5fjI,3325
466
466
  invenio_app_rdm/upgrade_scripts/migrate_2_0_to_3_0.py,sha256=jL_2I61Q9qt3fjBzYYueeT4EMQ9FlNPxYE4nzDQbLEY,2698
467
467
  invenio_app_rdm/upgrade_scripts/migrate_3_0_to_4_0.py,sha256=BNjGufwLBvLHnu0gz5b_Are-FuxYjXlCtkLgNQckV3U,4768
@@ -482,9 +482,9 @@ invenio_app_rdm/users_ui/views/__init__.py,sha256=SMdY2NJj9GICfr3Xuok7qdNYVtA2bJ
482
482
  invenio_app_rdm/users_ui/views/dashboard.py,sha256=iUn2PrODAwb8ugmMosJKAjPhUzjCiWiAWoXQr9RUFuc,1793
483
483
  invenio_app_rdm/users_ui/views/ui.py,sha256=W_eXM8dLVIrNHQB2UEh37C9BYoHauft6RyvcDNFHovA,1742
484
484
  invenio_app_rdm/utils/files.py,sha256=CruDyO2gDVadSlWEJD-WHpWHeOQ0juh-Ei9jz3D9yjc,3923
485
- invenio_app_rdm-13.0.0rc8.dist-info/licenses/LICENSE,sha256=AZXFHRrZa5s4m9DV7zZr4bPGTMUvcEPCodeV_AmFI8k,1204
486
- invenio_app_rdm-13.0.0rc8.dist-info/METADATA,sha256=ko-V8DgpIWF5rzORsfBm9WtZA0GXIjkpkblfGZjUOo0,18442
487
- invenio_app_rdm-13.0.0rc8.dist-info/WHEEL,sha256=JNWh1Fm1UdwIQV075glCn4MVuCRs0sotJIq-J6rbxCU,109
488
- invenio_app_rdm-13.0.0rc8.dist-info/entry_points.txt,sha256=rfzEeOEdtGy99NlpWzeW-32CoO5XrEpBvlZwLD2Th88,2158
489
- invenio_app_rdm-13.0.0rc8.dist-info/top_level.txt,sha256=quZejDUw2vLfKQboNIuVLJ9fxZifdnCT_s2PNf1dfmk,16
490
- invenio_app_rdm-13.0.0rc8.dist-info/RECORD,,
485
+ invenio_app_rdm-13.0.1.dist-info/licenses/LICENSE,sha256=AZXFHRrZa5s4m9DV7zZr4bPGTMUvcEPCodeV_AmFI8k,1204
486
+ invenio_app_rdm-13.0.1.dist-info/METADATA,sha256=ycl_PA7qy5IR7Yzr_AD0dtyr-3-1lQcuTp9u4bq9ynw,19087
487
+ invenio_app_rdm-13.0.1.dist-info/WHEEL,sha256=JNWh1Fm1UdwIQV075glCn4MVuCRs0sotJIq-J6rbxCU,109
488
+ invenio_app_rdm-13.0.1.dist-info/entry_points.txt,sha256=rfzEeOEdtGy99NlpWzeW-32CoO5XrEpBvlZwLD2Th88,2158
489
+ invenio_app_rdm-13.0.1.dist-info/top_level.txt,sha256=quZejDUw2vLfKQboNIuVLJ9fxZifdnCT_s2PNf1dfmk,16
490
+ invenio_app_rdm-13.0.1.dist-info/RECORD,,