invenio-vocabularies 7.1.0__py2.py3-none-any.whl → 7.2.0__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.
Potentially problematic release.
This version of invenio-vocabularies might be problematic. Click here for more details.
- invenio_vocabularies/__init__.py +1 -1
- invenio_vocabularies/contrib/affiliations/config.py +0 -3
- invenio_vocabularies/contrib/funders/config.py +1 -4
- invenio_vocabularies/contrib/subjects/nvs/datastreams.py +1 -1
- {invenio_vocabularies-7.1.0.dist-info → invenio_vocabularies-7.2.0.dist-info}/METADATA +7 -1
- {invenio_vocabularies-7.1.0.dist-info → invenio_vocabularies-7.2.0.dist-info}/RECORD +11 -11
- {invenio_vocabularies-7.1.0.dist-info → invenio_vocabularies-7.2.0.dist-info}/WHEEL +1 -1
- {invenio_vocabularies-7.1.0.dist-info → invenio_vocabularies-7.2.0.dist-info}/AUTHORS.rst +0 -0
- {invenio_vocabularies-7.1.0.dist-info → invenio_vocabularies-7.2.0.dist-info}/LICENSE +0 -0
- {invenio_vocabularies-7.1.0.dist-info → invenio_vocabularies-7.2.0.dist-info}/entry_points.txt +0 -0
- {invenio_vocabularies-7.1.0.dist-info → invenio_vocabularies-7.2.0.dist-info}/top_level.txt +0 -0
invenio_vocabularies/__init__.py
CHANGED
|
@@ -42,12 +42,9 @@ class AffiliationsSearchOptions(SearchOptions):
|
|
|
42
42
|
# Aliases can sometimes be shorter, so we boost them a bit.
|
|
43
43
|
"aliases^5",
|
|
44
44
|
localized_title,
|
|
45
|
-
"id^2",
|
|
46
45
|
# Allow to search identifiers directly (e.g. ROR)
|
|
47
46
|
"identifiers.identifier",
|
|
48
|
-
"country",
|
|
49
47
|
"country_name",
|
|
50
|
-
"types",
|
|
51
48
|
],
|
|
52
49
|
)
|
|
53
50
|
|
|
@@ -41,13 +41,10 @@ class FundersSearchOptions(SearchOptions):
|
|
|
41
41
|
# Aliases can sometimes be shorter, so we boost them a bit.
|
|
42
42
|
"aliases^5",
|
|
43
43
|
localized_title,
|
|
44
|
-
"id^2",
|
|
45
44
|
# Allow to search identifiers directly (e.g. ROR)
|
|
46
45
|
"identifiers.identifier",
|
|
47
|
-
"country",
|
|
48
46
|
"country_name",
|
|
49
|
-
|
|
50
|
-
]
|
|
47
|
+
],
|
|
51
48
|
)
|
|
52
49
|
|
|
53
50
|
sort_default = "bestmatch"
|
|
@@ -70,7 +70,7 @@ class NVSSubjectsTransformer(RDFTransformer):
|
|
|
70
70
|
subject_data = self._get_subject_data(rdf_graph, subject)
|
|
71
71
|
deprecated = subject_data.get(str(rdflib.namespace.OWL.deprecated), [False])
|
|
72
72
|
if deprecated and str(deprecated[0]).lower() == "true":
|
|
73
|
-
|
|
73
|
+
raise TransformerError(f"Skipping deprecated subject: {subject_data}")
|
|
74
74
|
|
|
75
75
|
notation = subject_data.get(str(self.skos_core.notation), [])
|
|
76
76
|
if notation:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.2
|
|
2
2
|
Name: invenio-vocabularies
|
|
3
|
-
Version: 7.
|
|
3
|
+
Version: 7.2.0
|
|
4
4
|
Summary: Invenio module for managing vocabularies.
|
|
5
5
|
Home-page: https://github.com/inveniosoftware/invenio-vocabularies
|
|
6
6
|
Author: CERN
|
|
@@ -91,6 +91,12 @@ https://invenio-vocabularies.readthedocs.io/
|
|
|
91
91
|
Changes
|
|
92
92
|
=======
|
|
93
93
|
|
|
94
|
+
Version v7.2.0 (released 2025-03-10)
|
|
95
|
+
|
|
96
|
+
- search: fix too many clauses on affiliation search
|
|
97
|
+
- search: remove redundant fields from affiliation and funders search
|
|
98
|
+
- nvs subjects: fix deprecated subjects skipping (raise skipped)
|
|
99
|
+
|
|
94
100
|
Version v7.1.0 (released 2025-02-20)
|
|
95
101
|
|
|
96
102
|
- subjects: renamed bodc to nvs
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
invenio_vocabularies/__init__.py,sha256=
|
|
1
|
+
invenio_vocabularies/__init__.py,sha256=pSBx69wwYxkJc2fKyISdcYUgSDw4RB8psS7oN0z1aFc,429
|
|
2
2
|
invenio_vocabularies/cli.py,sha256=CpXTTIn2GTpUqNfLEMlRAp3JWst8ZjHVxoGYdhuuv_4,5959
|
|
3
3
|
invenio_vocabularies/config.py,sha256=HCX670_PXw-fA1aaTto93N4579dr4M3xRxnA4nHZn18,6967
|
|
4
4
|
invenio_vocabularies/ext.py,sha256=GujJ4UARd4Fxf4z7zznRk9JAgHamZuYCOdrKU5czg00,5987
|
|
@@ -48,7 +48,7 @@ invenio_vocabularies/contrib/__init__.py,sha256=C5eDia6tAVBCrbb5hd_KnxmczyBoF87N
|
|
|
48
48
|
invenio_vocabularies/contrib/affiliations/__init__.py,sha256=rV8YAzBRoSKsBYcVjCNJh6j7ITuPRfurwj9HJHRjkN8,565
|
|
49
49
|
invenio_vocabularies/contrib/affiliations/affiliations.py,sha256=zqFwrAuYhZw7dTfm7dE8bUDxmyPqydUEjKTMPwWSjHk,2096
|
|
50
50
|
invenio_vocabularies/contrib/affiliations/api.py,sha256=5nIOvpfcseuAAg2XgblHc8jb7TAdfU79XOBRpL-p398,326
|
|
51
|
-
invenio_vocabularies/contrib/affiliations/config.py,sha256=
|
|
51
|
+
invenio_vocabularies/contrib/affiliations/config.py,sha256=FFODJwfj6w-yejNQuP0GFVlc42jHtd47nu6lkN9mcVM,2281
|
|
52
52
|
invenio_vocabularies/contrib/affiliations/datastreams.py,sha256=sMvkt9XOBTV7Q0wexMmwWXY5k9kbetcWBNqfS-vx6Mg,9598
|
|
53
53
|
invenio_vocabularies/contrib/affiliations/facets.py,sha256=w316MGvtdyTpRCPOpCEmMxxLraRkbFFb1VvLkFlEc9o,1229
|
|
54
54
|
invenio_vocabularies/contrib/affiliations/models.py,sha256=JUcj-1ydc2Cw2Rsc24JwXE3TFBJ_6fivhUYhGq4rT8A,329
|
|
@@ -92,7 +92,7 @@ invenio_vocabularies/contrib/common/ror/__init__.py,sha256=3u2-fre1SQ-4nz3Ay0nxj
|
|
|
92
92
|
invenio_vocabularies/contrib/common/ror/datastreams.py,sha256=wHpJy5mRKgJ4nQ7IniLyjxoxjTCZKHaEKKKr_OKrqFM,8139
|
|
93
93
|
invenio_vocabularies/contrib/funders/__init__.py,sha256=YxFXBDnT7NM8rFwxT_Ge3xXR2n17EM0alknQq7r_Bt8,478
|
|
94
94
|
invenio_vocabularies/contrib/funders/api.py,sha256=QKGGeSnPHSoBfucvpaVruXT_txYidofZ080G3IxFkIo,306
|
|
95
|
-
invenio_vocabularies/contrib/funders/config.py,sha256=
|
|
95
|
+
invenio_vocabularies/contrib/funders/config.py,sha256=OAP7NB7oF3cmrLBlP9dubrAAtanPWvrQO1XZaImBf98,2242
|
|
96
96
|
invenio_vocabularies/contrib/funders/datastreams.py,sha256=3tOwcN1mK5AVqtdU6KdguouGSUurPTO-FDWTKzK1eRo,2481
|
|
97
97
|
invenio_vocabularies/contrib/funders/facets.py,sha256=a068TVtt74Ncu0latb177LFK8EdnpbMOWecAKozA04M,1245
|
|
98
98
|
invenio_vocabularies/contrib/funders/funders.py,sha256=j4V7lz0fR5rp5XBL3cwmQQElwpopIpv4v37xfi1rU0o,2357
|
|
@@ -161,7 +161,7 @@ invenio_vocabularies/contrib/subjects/mappings/v7/subjects/subject-v1.0.0.json,s
|
|
|
161
161
|
invenio_vocabularies/contrib/subjects/mesh/__init__.py,sha256=P44hmgVNNTN5O_EmWgaeYJ91yqkGNoeKYo0wfif_wE4,241
|
|
162
162
|
invenio_vocabularies/contrib/subjects/mesh/datastreams.py,sha256=6W6bgQ7P_31kf3enkAqCBTFBqgrQ2BlV625vn0N9ibQ,1544
|
|
163
163
|
invenio_vocabularies/contrib/subjects/nvs/__init__.py,sha256=H7joYEPU0lzGN_p72i9FElSRoaQTYHM7PvOn-ZPHyzM,245
|
|
164
|
-
invenio_vocabularies/contrib/subjects/nvs/datastreams.py,sha256=
|
|
164
|
+
invenio_vocabularies/contrib/subjects/nvs/datastreams.py,sha256=PQsHKat9kAeZYAT_gEkVHLcZJLCwlc6TTwfMxewgVek,4273
|
|
165
165
|
invenio_vocabularies/datastreams/__init__.py,sha256=VPefh6k4Q3eYxKIW8I5zXUGucntp7VHxaOR5Vhgkfmg,412
|
|
166
166
|
invenio_vocabularies/datastreams/datastreams.py,sha256=mAi_xUDmDWpc3NyhU1TMOhqVRbwYu_meJ9UY6-wgBKQ,6169
|
|
167
167
|
invenio_vocabularies/datastreams/errors.py,sha256=IDUZ3gNtYGrhcOgApHCms1gNNJTyJzoMPmG5JtIeYNU,678
|
|
@@ -305,10 +305,10 @@ invenio_vocabularies/translations/zh_CN/LC_MESSAGES/messages.mo,sha256=bpqywk-Hn
|
|
|
305
305
|
invenio_vocabularies/translations/zh_CN/LC_MESSAGES/messages.po,sha256=vg8qC8ofpAdJ3mQz7mWM1ylKDpiNWXFs7rlMdSPkgKk,4629
|
|
306
306
|
invenio_vocabularies/translations/zh_TW/LC_MESSAGES/messages.mo,sha256=o3nwy64PXTcRaAbRrJpYMICW5aVQ0sCdGIn2Xy4UccU,600
|
|
307
307
|
invenio_vocabularies/translations/zh_TW/LC_MESSAGES/messages.po,sha256=9ACePz_EpB-LfcIJajZ2kp8Q04tcdrQLOtug162ZUss,4115
|
|
308
|
-
invenio_vocabularies-7.
|
|
309
|
-
invenio_vocabularies-7.
|
|
310
|
-
invenio_vocabularies-7.
|
|
311
|
-
invenio_vocabularies-7.
|
|
312
|
-
invenio_vocabularies-7.
|
|
313
|
-
invenio_vocabularies-7.
|
|
314
|
-
invenio_vocabularies-7.
|
|
308
|
+
invenio_vocabularies-7.2.0.dist-info/AUTHORS.rst,sha256=8d0p_WWE1r9DavvzMDi2D4YIGBHiMYcN3LYxqQOj8sY,291
|
|
309
|
+
invenio_vocabularies-7.2.0.dist-info/LICENSE,sha256=UvI8pR8jGWqe0sTkb_hRG6eIrozzWwWzyCGEpuXX4KE,1062
|
|
310
|
+
invenio_vocabularies-7.2.0.dist-info/METADATA,sha256=b74JZCv3Wt2ICL2A5jvsZ5FlCp7OyXaLrKyl1IDu2UE,13270
|
|
311
|
+
invenio_vocabularies-7.2.0.dist-info/WHEEL,sha256=SrDKpSbFN1G94qcmBqS9nyHcDMp9cUS9OC06hC0G3G0,109
|
|
312
|
+
invenio_vocabularies-7.2.0.dist-info/entry_points.txt,sha256=lget4Ekno9VRTq36oowWReIJA99165gOp0BOiiET60Y,3179
|
|
313
|
+
invenio_vocabularies-7.2.0.dist-info/top_level.txt,sha256=x1gRNbaODF_bCD0SBLM3nVOFPGi06cmGX5X94WKrFKk,21
|
|
314
|
+
invenio_vocabularies-7.2.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
{invenio_vocabularies-7.1.0.dist-info → invenio_vocabularies-7.2.0.dist-info}/entry_points.txt
RENAMED
|
File without changes
|
|
File without changes
|