invenio-subjects-mesh-lite 2025.1.15__tar.gz → 2025.1.15.2__tar.gz

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.
Files changed (19) hide show
  1. {invenio_subjects_mesh_lite-2025.1.15 → invenio_subjects_mesh_lite-2025.1.15.2}/CHANGES.md +5 -0
  2. {invenio_subjects_mesh_lite-2025.1.15/invenio_subjects_mesh_lite.egg-info → invenio_subjects_mesh_lite-2025.1.15.2}/PKG-INFO +46 -8
  3. {invenio_subjects_mesh_lite-2025.1.15 → invenio_subjects_mesh_lite-2025.1.15.2}/README.md +35 -5
  4. {invenio_subjects_mesh_lite-2025.1.15 → invenio_subjects_mesh_lite-2025.1.15.2/invenio_subjects_mesh_lite.egg-info}/PKG-INFO +46 -8
  5. invenio_subjects_mesh_lite-2025.1.15.2/invenio_subjects_mesh_lite.egg-info/requires.txt +15 -0
  6. {invenio_subjects_mesh_lite-2025.1.15 → invenio_subjects_mesh_lite-2025.1.15.2}/pyproject.toml +23 -2
  7. {invenio_subjects_mesh_lite-2025.1.15 → invenio_subjects_mesh_lite-2025.1.15.2}/tests/test_invenio_subjects_mesh_lite.py +3 -5
  8. invenio_subjects_mesh_lite-2025.1.15/invenio_subjects_mesh_lite.egg-info/requires.txt +0 -8
  9. {invenio_subjects_mesh_lite-2025.1.15 → invenio_subjects_mesh_lite-2025.1.15.2}/LICENSE +0 -0
  10. {invenio_subjects_mesh_lite-2025.1.15 → invenio_subjects_mesh_lite-2025.1.15.2}/MANIFEST.in +0 -0
  11. {invenio_subjects_mesh_lite-2025.1.15 → invenio_subjects_mesh_lite-2025.1.15.2}/invenio_subjects_mesh_lite/__init__.py +0 -0
  12. {invenio_subjects_mesh_lite-2025.1.15 → invenio_subjects_mesh_lite-2025.1.15.2}/invenio_subjects_mesh_lite/vocabularies/__init__.py +0 -0
  13. {invenio_subjects_mesh_lite-2025.1.15 → invenio_subjects_mesh_lite-2025.1.15.2}/invenio_subjects_mesh_lite/vocabularies/subjects_mesh.csv +0 -0
  14. {invenio_subjects_mesh_lite-2025.1.15 → invenio_subjects_mesh_lite-2025.1.15.2}/invenio_subjects_mesh_lite/vocabularies/vocabularies.yaml +0 -0
  15. {invenio_subjects_mesh_lite-2025.1.15 → invenio_subjects_mesh_lite-2025.1.15.2}/invenio_subjects_mesh_lite.egg-info/SOURCES.txt +0 -0
  16. {invenio_subjects_mesh_lite-2025.1.15 → invenio_subjects_mesh_lite-2025.1.15.2}/invenio_subjects_mesh_lite.egg-info/dependency_links.txt +0 -0
  17. {invenio_subjects_mesh_lite-2025.1.15 → invenio_subjects_mesh_lite-2025.1.15.2}/invenio_subjects_mesh_lite.egg-info/entry_points.txt +0 -0
  18. {invenio_subjects_mesh_lite-2025.1.15 → invenio_subjects_mesh_lite-2025.1.15.2}/invenio_subjects_mesh_lite.egg-info/top_level.txt +0 -0
  19. {invenio_subjects_mesh_lite-2025.1.15 → invenio_subjects_mesh_lite-2025.1.15.2}/setup.cfg +0 -0
@@ -1,5 +1,10 @@
1
1
  # Changes
2
2
 
3
+ Version 2025.1.15.2 (released 2025-07-15)
4
+
5
+ - Compatible with InvenioRDM v13
6
+ - Switch versioning pattern
7
+
3
8
  Version 2025.1.15 (released 2025-01-15)
4
9
 
5
10
  - MeSH 2025
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.2
1
+ Metadata-Version: 2.4
2
2
  Name: invenio-subjects-mesh-lite
3
- Version: 2025.1.15
3
+ Version: 2025.1.15.2
4
4
  Summary: MeSH subject terms without qualifiers
5
5
  Author-email: Northwestern University <DL_FSM_GDS@e.northwestern.edu>
6
6
  License: MIT License
@@ -38,16 +38,24 @@ Classifier: Programming Language :: Python :: 3
38
38
  Classifier: Programming Language :: Python :: 3.9
39
39
  Classifier: Programming Language :: Python :: 3.11
40
40
  Classifier: Programming Language :: Python :: 3.12
41
+ Classifier: Programming Language :: Python :: 3.13
41
42
  Requires-Python: >=3.9
42
43
  Description-Content-Type: text/markdown
43
44
  License-File: LICENSE
44
- Requires-Dist: galter-subjects-utils<2.0,>=0.4.2
45
+ Requires-Dist: galter-subjects-utils<2.0,>=0.7.0
45
46
  Provides-Extra: dev
46
47
  Requires-Dist: check-manifest>=0.49; extra == "dev"
47
48
  Requires-Dist: invenio-search[opensearch2]<3.0,>=2.1.0; extra == "dev"
48
49
  Requires-Dist: invoke<3.0,>=2.2; extra == "dev"
49
50
  Requires-Dist: pyyaml>=5.4.1; extra == "dev"
50
51
  Requires-Dist: pytest-invenio<3.0.0,>=2.1.1; extra == "dev"
52
+ Provides-Extra: dev-pre
53
+ Requires-Dist: check-manifest>=0.49; extra == "dev-pre"
54
+ Requires-Dist: invenio-search[opensearch2]<4.0.0,>=3.0.0; extra == "dev-pre"
55
+ Requires-Dist: invoke<3.0,>=2.2; extra == "dev-pre"
56
+ Requires-Dist: pyyaml>=5.4.1; extra == "dev-pre"
57
+ Requires-Dist: pytest-invenio<4.0.0,>=3.3.0; extra == "dev-pre"
58
+ Dynamic: license-file
51
59
 
52
60
  # invenio-subjects-mesh-lite
53
61
 
@@ -79,13 +87,32 @@ This will add it to your Pipfile.
79
87
 
80
88
  ## Versions
81
89
 
82
- This repository follows [calendar versioning](https://calver.org/) for year and month:
90
+ **From 2025.1.15.2 onwards**
83
91
 
84
- `2021.06.18` is both a valid semantic version and an indicator of the year-month corresponding to the loaded MeSH terms.
85
- `18` here is a patch number (not a day).
92
+ This package follows the following format for versions: `YYYY.mm.dd.patch` where
93
+
94
+ - `YYYY.mm.dd` is the date of retrieval of the MeSH terms with `mm` and `dd` NOT being 0-prefixed.
95
+ - `patch` is the patch number (0-indexed) so that multiple releases can be done on the same day (bug/security fixes) and non-subject related releases can be done as well.
96
+
97
+ This follows [calendar versioning](https://calver.org/) (for year, month, and day) and adds a patch number at the end. The package is typically updated on a quarterly basis. The following are illustrative (fictitious) examples of how to understand the versioning of this distribution package:
98
+
99
+ | Last MeSH update included | patch number | version of this project |
100
+ | ------------------------- | ------------ | ----------------------- |
101
+ | 2025-06-31 | 2 | 2025.6.31.2 |
102
+ | 2025-12-01 | 0 | 2025.12.1.0 |
103
+
104
+ **Prior to 2025.1.15.2**
105
+
106
+ This repository follows [calendar versioning](https://calver.org/) for year and month. It does a "best effort" attempt at tracking the MeSH updates in an *up-to-and-including* version date manner. The following are illustrative cases of how to understand the versioning of this distribution package:
107
+
108
+ | Last MeSH update included | version of this project | date of release of this project |
109
+ | ------------------------- | ----------------------- | ------------------------------- |
110
+ | 2024-01-31 | 2024.1.X | any time after 2024-01-31 |
111
+ | 2023-12-31 | 2023.12.X | any time after 2023-12-31 |
86
112
 
87
- So far the package is compatible with InvenioRDM 9.1+'s subjects "ABI". If there is a breaking change, a compatibility
88
- table will be provided to indicate version cross-compatibility.
113
+
114
+ `2021.06.18` is both a valid semantic version and an indicator of the year-month corresponding to the loaded terms.
115
+ `18` here is a patch number (not a day).
89
116
 
90
117
  ## Usage
91
118
 
@@ -156,6 +183,17 @@ Run tests:
156
183
  pipenv run inv test
157
184
  ```
158
185
 
186
+ Test compatibility with the pre-release version of InvenioRDM (invenio-app-rdm):
187
+
188
+ ```bash
189
+ # Step 1 - install the pre-release dependencies
190
+ (venv) pip install --pre -e .[dev_pre]
191
+ # Step 2 - Run the pre-release tests
192
+ (venv) inv test
193
+ # if using uv run:
194
+ uv run --extra dev_pre --prerelease=allow inv test
195
+ ```
196
+
159
197
  Check manifest:
160
198
 
161
199
  ```bash
@@ -28,13 +28,32 @@ This will add it to your Pipfile.
28
28
 
29
29
  ## Versions
30
30
 
31
- This repository follows [calendar versioning](https://calver.org/) for year and month:
31
+ **From 2025.1.15.2 onwards**
32
32
 
33
- `2021.06.18` is both a valid semantic version and an indicator of the year-month corresponding to the loaded MeSH terms.
34
- `18` here is a patch number (not a day).
33
+ This package follows the following format for versions: `YYYY.mm.dd.patch` where
34
+
35
+ - `YYYY.mm.dd` is the date of retrieval of the MeSH terms with `mm` and `dd` NOT being 0-prefixed.
36
+ - `patch` is the patch number (0-indexed) so that multiple releases can be done on the same day (bug/security fixes) and non-subject related releases can be done as well.
37
+
38
+ This follows [calendar versioning](https://calver.org/) (for year, month, and day) and adds a patch number at the end. The package is typically updated on a quarterly basis. The following are illustrative (fictitious) examples of how to understand the versioning of this distribution package:
39
+
40
+ | Last MeSH update included | patch number | version of this project |
41
+ | ------------------------- | ------------ | ----------------------- |
42
+ | 2025-06-31 | 2 | 2025.6.31.2 |
43
+ | 2025-12-01 | 0 | 2025.12.1.0 |
44
+
45
+ **Prior to 2025.1.15.2**
46
+
47
+ This repository follows [calendar versioning](https://calver.org/) for year and month. It does a "best effort" attempt at tracking the MeSH updates in an *up-to-and-including* version date manner. The following are illustrative cases of how to understand the versioning of this distribution package:
48
+
49
+ | Last MeSH update included | version of this project | date of release of this project |
50
+ | ------------------------- | ----------------------- | ------------------------------- |
51
+ | 2024-01-31 | 2024.1.X | any time after 2024-01-31 |
52
+ | 2023-12-31 | 2023.12.X | any time after 2023-12-31 |
35
53
 
36
- So far the package is compatible with InvenioRDM 9.1+'s subjects "ABI". If there is a breaking change, a compatibility
37
- table will be provided to indicate version cross-compatibility.
54
+
55
+ `2021.06.18` is both a valid semantic version and an indicator of the year-month corresponding to the loaded terms.
56
+ `18` here is a patch number (not a day).
38
57
 
39
58
  ## Usage
40
59
 
@@ -105,6 +124,17 @@ Run tests:
105
124
  pipenv run inv test
106
125
  ```
107
126
 
127
+ Test compatibility with the pre-release version of InvenioRDM (invenio-app-rdm):
128
+
129
+ ```bash
130
+ # Step 1 - install the pre-release dependencies
131
+ (venv) pip install --pre -e .[dev_pre]
132
+ # Step 2 - Run the pre-release tests
133
+ (venv) inv test
134
+ # if using uv run:
135
+ uv run --extra dev_pre --prerelease=allow inv test
136
+ ```
137
+
108
138
  Check manifest:
109
139
 
110
140
  ```bash
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.2
1
+ Metadata-Version: 2.4
2
2
  Name: invenio-subjects-mesh-lite
3
- Version: 2025.1.15
3
+ Version: 2025.1.15.2
4
4
  Summary: MeSH subject terms without qualifiers
5
5
  Author-email: Northwestern University <DL_FSM_GDS@e.northwestern.edu>
6
6
  License: MIT License
@@ -38,16 +38,24 @@ Classifier: Programming Language :: Python :: 3
38
38
  Classifier: Programming Language :: Python :: 3.9
39
39
  Classifier: Programming Language :: Python :: 3.11
40
40
  Classifier: Programming Language :: Python :: 3.12
41
+ Classifier: Programming Language :: Python :: 3.13
41
42
  Requires-Python: >=3.9
42
43
  Description-Content-Type: text/markdown
43
44
  License-File: LICENSE
44
- Requires-Dist: galter-subjects-utils<2.0,>=0.4.2
45
+ Requires-Dist: galter-subjects-utils<2.0,>=0.7.0
45
46
  Provides-Extra: dev
46
47
  Requires-Dist: check-manifest>=0.49; extra == "dev"
47
48
  Requires-Dist: invenio-search[opensearch2]<3.0,>=2.1.0; extra == "dev"
48
49
  Requires-Dist: invoke<3.0,>=2.2; extra == "dev"
49
50
  Requires-Dist: pyyaml>=5.4.1; extra == "dev"
50
51
  Requires-Dist: pytest-invenio<3.0.0,>=2.1.1; extra == "dev"
52
+ Provides-Extra: dev-pre
53
+ Requires-Dist: check-manifest>=0.49; extra == "dev-pre"
54
+ Requires-Dist: invenio-search[opensearch2]<4.0.0,>=3.0.0; extra == "dev-pre"
55
+ Requires-Dist: invoke<3.0,>=2.2; extra == "dev-pre"
56
+ Requires-Dist: pyyaml>=5.4.1; extra == "dev-pre"
57
+ Requires-Dist: pytest-invenio<4.0.0,>=3.3.0; extra == "dev-pre"
58
+ Dynamic: license-file
51
59
 
52
60
  # invenio-subjects-mesh-lite
53
61
 
@@ -79,13 +87,32 @@ This will add it to your Pipfile.
79
87
 
80
88
  ## Versions
81
89
 
82
- This repository follows [calendar versioning](https://calver.org/) for year and month:
90
+ **From 2025.1.15.2 onwards**
83
91
 
84
- `2021.06.18` is both a valid semantic version and an indicator of the year-month corresponding to the loaded MeSH terms.
85
- `18` here is a patch number (not a day).
92
+ This package follows the following format for versions: `YYYY.mm.dd.patch` where
93
+
94
+ - `YYYY.mm.dd` is the date of retrieval of the MeSH terms with `mm` and `dd` NOT being 0-prefixed.
95
+ - `patch` is the patch number (0-indexed) so that multiple releases can be done on the same day (bug/security fixes) and non-subject related releases can be done as well.
96
+
97
+ This follows [calendar versioning](https://calver.org/) (for year, month, and day) and adds a patch number at the end. The package is typically updated on a quarterly basis. The following are illustrative (fictitious) examples of how to understand the versioning of this distribution package:
98
+
99
+ | Last MeSH update included | patch number | version of this project |
100
+ | ------------------------- | ------------ | ----------------------- |
101
+ | 2025-06-31 | 2 | 2025.6.31.2 |
102
+ | 2025-12-01 | 0 | 2025.12.1.0 |
103
+
104
+ **Prior to 2025.1.15.2**
105
+
106
+ This repository follows [calendar versioning](https://calver.org/) for year and month. It does a "best effort" attempt at tracking the MeSH updates in an *up-to-and-including* version date manner. The following are illustrative cases of how to understand the versioning of this distribution package:
107
+
108
+ | Last MeSH update included | version of this project | date of release of this project |
109
+ | ------------------------- | ----------------------- | ------------------------------- |
110
+ | 2024-01-31 | 2024.1.X | any time after 2024-01-31 |
111
+ | 2023-12-31 | 2023.12.X | any time after 2023-12-31 |
86
112
 
87
- So far the package is compatible with InvenioRDM 9.1+'s subjects "ABI". If there is a breaking change, a compatibility
88
- table will be provided to indicate version cross-compatibility.
113
+
114
+ `2021.06.18` is both a valid semantic version and an indicator of the year-month corresponding to the loaded terms.
115
+ `18` here is a patch number (not a day).
89
116
 
90
117
  ## Usage
91
118
 
@@ -156,6 +183,17 @@ Run tests:
156
183
  pipenv run inv test
157
184
  ```
158
185
 
186
+ Test compatibility with the pre-release version of InvenioRDM (invenio-app-rdm):
187
+
188
+ ```bash
189
+ # Step 1 - install the pre-release dependencies
190
+ (venv) pip install --pre -e .[dev_pre]
191
+ # Step 2 - Run the pre-release tests
192
+ (venv) inv test
193
+ # if using uv run:
194
+ uv run --extra dev_pre --prerelease=allow inv test
195
+ ```
196
+
159
197
  Check manifest:
160
198
 
161
199
  ```bash
@@ -0,0 +1,15 @@
1
+ galter-subjects-utils<2.0,>=0.7.0
2
+
3
+ [dev]
4
+ check-manifest>=0.49
5
+ invenio-search[opensearch2]<3.0,>=2.1.0
6
+ invoke<3.0,>=2.2
7
+ pyyaml>=5.4.1
8
+ pytest-invenio<3.0.0,>=2.1.1
9
+
10
+ [dev_pre]
11
+ check-manifest>=0.49
12
+ invenio-search[opensearch2]<4.0.0,>=3.0.0
13
+ invoke<3.0,>=2.2
14
+ pyyaml>=5.4.1
15
+ pytest-invenio<4.0.0,>=3.3.0
@@ -18,9 +18,10 @@ classifiers = [
18
18
  "Programming Language :: Python :: 3.9",
19
19
  "Programming Language :: Python :: 3.11",
20
20
  "Programming Language :: Python :: 3.12",
21
+ "Programming Language :: Python :: 3.13",
21
22
  ]
22
23
  dependencies = [
23
- "galter-subjects-utils>=0.4.2,<2.0"
24
+ "galter-subjects-utils>=0.7.0,<2.0"
24
25
  ]
25
26
  description = "MeSH subject terms without qualifiers"
26
27
  keywords = ["invenio", "inveniordm", "subjects", "MeSH"]
@@ -29,7 +30,7 @@ name = "invenio-subjects-mesh-lite"
29
30
  readme = "README.md"
30
31
  requires-python = ">=3.9"
31
32
  urls = {Repository = "https://github.com/galterlibrary/invenio-subjects-mesh-lite"}
32
- version = "2025.1.15"
33
+ version = "2025.1.15.2"
33
34
 
34
35
  [project.optional-dependencies]
35
36
  dev = [
@@ -40,6 +41,15 @@ dev = [
40
41
  "pytest-invenio>=2.1.1,<3.0.0",
41
42
  ]
42
43
 
44
+ dev_pre = [
45
+ "check-manifest>=0.49",
46
+ "invenio-search[opensearch2]>=3.0.0,<4.0.0", # Needs to be specified separately as it's up to instance
47
+ "invoke>=2.2,<3.0",
48
+ "pyyaml>=5.4.1",
49
+ "pytest-invenio>=3.3.0,<4.0.0",
50
+ # pytest-invenio includes pytest & co and docker-services-cli
51
+ ]
52
+
43
53
  [project.entry-points."invenio_rdm_records.fixtures"]
44
54
  invenio_subjects_mesh_lite = "invenio_subjects_mesh_lite.vocabularies"
45
55
 
@@ -47,6 +57,17 @@ invenio_subjects_mesh_lite = "invenio_subjects_mesh_lite.vocabularies"
47
57
  [tool.setuptools]
48
58
  packages = ["invenio_subjects_mesh_lite", "invenio_subjects_mesh_lite.vocabularies"]
49
59
 
60
+ [tool.uv]
61
+ # this is needed so that `uv run --extra dev_pre` doesn't
62
+ # raise an incompatibility error according to uv.
63
+ # See https://docs.astral.sh/uv/concepts/projects/config/#conflicting-dependencies
64
+ conflicts = [
65
+ [
66
+ { extra = "dev" },
67
+ { extra = "dev_pre" },
68
+ ],
69
+ ]
70
+
50
71
  [tool.check-manifest]
51
72
  ignore = [
52
73
  ".*-requirements.txt",
@@ -1,6 +1,6 @@
1
1
  # -*- coding: utf-8 -*-
2
2
  #
3
- # Copyright (C) 2021-2023 Northwestern University.
3
+ # Copyright (C) 2021-2025 Northwestern University.
4
4
  #
5
5
  # invenio-subjects-mesh-lite is free software; you can redistribute it and/or
6
6
  # modify it under the terms of the MIT License; see LICENSE file for more
@@ -10,7 +10,7 @@
10
10
 
11
11
  from pathlib import Path
12
12
 
13
- import pkg_resources
13
+ import importlib_metadata
14
14
  import yaml
15
15
 
16
16
 
@@ -18,9 +18,7 @@ def test_vocabularies_yaml():
18
18
  """Test vocabularies.yaml structure."""
19
19
  extensions = [
20
20
  ep.load() for ep in
21
- # Specifically testing "deprecated" pkg_resources because that's what
22
- # InvenioRDM uses.
23
- pkg_resources.iter_entry_points('invenio_rdm_records.fixtures')
21
+ importlib_metadata.entry_points(group='invenio_rdm_records.fixtures')
24
22
  ]
25
23
 
26
24
  assert len(extensions) == 1
@@ -1,8 +0,0 @@
1
- galter-subjects-utils<2.0,>=0.4.2
2
-
3
- [dev]
4
- check-manifest>=0.49
5
- invenio-search[opensearch2]<3.0,>=2.1.0
6
- invoke<3.0,>=2.2
7
- pyyaml>=5.4.1
8
- pytest-invenio<3.0.0,>=2.1.1