reasoner-validator 4.0.0__tar.gz → 4.0.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 (41) hide show
  1. {reasoner_validator-4.0.0 → reasoner_validator-4.0.2}/PKG-INFO +9 -9
  2. {reasoner_validator-4.0.0 → reasoner_validator-4.0.2}/README.md +3 -3
  3. {reasoner_validator-4.0.0 → reasoner_validator-4.0.2}/pyproject.toml +10 -5
  4. {reasoner_validator-4.0.0 → reasoner_validator-4.0.2}/LICENSE +0 -0
  5. {reasoner_validator-4.0.0 → reasoner_validator-4.0.2}/docs/.nojekyll +0 -0
  6. {reasoner_validator-4.0.0 → reasoner_validator-4.0.2}/docs/Makefile +0 -0
  7. {reasoner_validator-4.0.0 → reasoner_validator-4.0.2}/docs/conf.py +0 -0
  8. {reasoner_validator-4.0.0 → reasoner_validator-4.0.2}/docs/index.rst +0 -0
  9. {reasoner_validator-4.0.0 → reasoner_validator-4.0.2}/docs/make.bat +0 -0
  10. {reasoner_validator-4.0.0 → reasoner_validator-4.0.2}/docs/reasoner_validator.biolink.rst +0 -0
  11. {reasoner_validator-4.0.0 → reasoner_validator-4.0.2}/docs/reasoner_validator.report.rst +0 -0
  12. {reasoner_validator-4.0.0 → reasoner_validator-4.0.2}/docs/reasoner_validator.rst +0 -0
  13. {reasoner_validator-4.0.0 → reasoner_validator-4.0.2}/docs/reasoner_validator.trapi.mapping.rst +0 -0
  14. {reasoner_validator-4.0.0 → reasoner_validator-4.0.2}/docs/reasoner_validator.trapi.rst +0 -0
  15. {reasoner_validator-4.0.0 → reasoner_validator-4.0.2}/docs/reasoner_validator.validation_codes.rst +0 -0
  16. {reasoner_validator-4.0.0 → reasoner_validator-4.0.2}/docs/reasoner_validator.versioning.rst +0 -0
  17. {reasoner_validator-4.0.0 → reasoner_validator-4.0.2}/docs/validation_codes_dictionary.md +0 -0
  18. {reasoner_validator-4.0.0 → reasoner_validator-4.0.2}/reasoner_validator/__init__.py +0 -0
  19. {reasoner_validator-4.0.0 → reasoner_validator-4.0.2}/reasoner_validator/biolink/__init__.py +0 -0
  20. {reasoner_validator-4.0.0 → reasoner_validator-4.0.2}/reasoner_validator/codes.yaml +0 -0
  21. {reasoner_validator-4.0.0 → reasoner_validator-4.0.2}/reasoner_validator/github.py +0 -0
  22. {reasoner_validator-4.0.0 → reasoner_validator-4.0.2}/reasoner_validator/message.py +0 -0
  23. {reasoner_validator-4.0.0 → reasoner_validator-4.0.2}/reasoner_validator/report.py +0 -0
  24. {reasoner_validator-4.0.0 → reasoner_validator-4.0.2}/reasoner_validator/sri/__init__.py +0 -0
  25. {reasoner_validator-4.0.0 → reasoner_validator-4.0.2}/reasoner_validator/sri/util.py +0 -0
  26. {reasoner_validator-4.0.0 → reasoner_validator-4.0.2}/reasoner_validator/trapi/__init__.py +0 -0
  27. {reasoner_validator-4.0.0 → reasoner_validator-4.0.2}/reasoner_validator/trapi/mapping.py +0 -0
  28. {reasoner_validator-4.0.0 → reasoner_validator-4.0.2}/reasoner_validator/validation_codes.py +0 -0
  29. {reasoner_validator-4.0.0 → reasoner_validator-4.0.2}/reasoner_validator/validator.py +0 -0
  30. {reasoner_validator-4.0.0 → reasoner_validator-4.0.2}/reasoner_validator/versioning.py +0 -0
  31. {reasoner_validator-4.0.0 → reasoner_validator-4.0.2}/reasoner_validator/versions.yaml +0 -0
  32. {reasoner_validator-4.0.0 → reasoner_validator-4.0.2}/tests/__init__.py +0 -0
  33. {reasoner_validator-4.0.0 → reasoner_validator-4.0.2}/tests/conftest.py +0 -0
  34. {reasoner_validator-4.0.0 → reasoner_validator-4.0.2}/tests/test_biolink_compliance_validation.py +0 -0
  35. {reasoner_validator-4.0.0 → reasoner_validator-4.0.2}/tests/test_data/patched_trapi_schema_v1.4.0-beta5.yaml +0 -0
  36. {reasoner_validator-4.0.0 → reasoner_validator-4.0.2}/tests/test_response_validator.py +0 -0
  37. {reasoner_validator-4.0.0 → reasoner_validator-4.0.2}/tests/test_semver.py +0 -0
  38. {reasoner_validator-4.0.0 → reasoner_validator-4.0.2}/tests/test_trapi_versioning.py +0 -0
  39. {reasoner_validator-4.0.0 → reasoner_validator-4.0.2}/tests/test_validate.py +0 -0
  40. {reasoner_validator-4.0.0 → reasoner_validator-4.0.2}/tests/test_validation_report.py +0 -0
  41. {reasoner_validator-4.0.0 → reasoner_validator-4.0.2}/tests/test_workflows.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: reasoner-validator
3
- Version: 4.0.0
3
+ Version: 4.0.2
4
4
  Summary: Validation tools for Reasoner API
5
5
  Home-page: https://github.com/NCATSTranslator
6
6
  License: MIT
@@ -9,12 +9,11 @@ Author: Richard Bruskiewich
9
9
  Author-email: richard.bruskiewich@delphinai.com
10
10
  Maintainer: Richard Bruskiewich
11
11
  Maintainer-email: richard.bruskiewich@delphinai.com
12
- Requires-Python: >=3.9,<4.0
12
+ Requires-Python: >=3.10,<4.0
13
13
  Classifier: Intended Audience :: Science/Research
14
14
  Classifier: License :: OSI Approved :: MIT License
15
15
  Classifier: Operating System :: OS Independent
16
16
  Classifier: Programming Language :: Python :: 3
17
- Classifier: Programming Language :: Python :: 3.9
18
17
  Classifier: Programming Language :: Python :: 3.10
19
18
  Classifier: Programming Language :: Python :: 3.11
20
19
  Classifier: Programming Language :: Python :: 3.12
@@ -22,9 +21,10 @@ Classifier: Topic :: Scientific/Engineering :: Bio-Informatics
22
21
  Provides-Extra: docs
23
22
  Provides-Extra: web
24
23
  Requires-Dist: PyYAML (>=6.0,<7.0)
25
- Requires-Dist: bmt (>=1.1.4,<2.0.0)
24
+ Requires-Dist: bioregistry (>=0.11.1,<0.12.0)
25
+ Requires-Dist: bmt (>=1.4.0,<2.0.0)
26
26
  Requires-Dist: dictdiffer (>=0.9.0,<0.10.0)
27
- Requires-Dist: fastapi (>=0.85.0,<0.86.0) ; extra == "web"
27
+ Requires-Dist: fastapi ; extra == "web"
28
28
  Requires-Dist: httpx (>=0.18.2,<0.19.0) ; extra == "web"
29
29
  Requires-Dist: jsonschema (>=4.17.3,<4.18.0)
30
30
  Requires-Dist: myst-parser (>=2.0.0,<3.0.0) ; extra == "docs"
@@ -32,7 +32,7 @@ Requires-Dist: numpydoc (>=1.5.0,<2.0.0) ; extra == "docs"
32
32
  Requires-Dist: opentelemetry-exporter-otlp-proto-http ; extra == "web"
33
33
  Requires-Dist: opentelemetry-instrumentation-fastapi ; extra == "web"
34
34
  Requires-Dist: opentelemetry-instrumentation-httpx ; extra == "web"
35
- Requires-Dist: pydantic (>=1.10.13,<2.0.0)
35
+ Requires-Dist: pydantic (>=2,<3)
36
36
  Requires-Dist: pytest (>=7.2.2,<8.0.0)
37
37
  Requires-Dist: pytest-cov (>=4.0.0,<5.0.0)
38
38
  Requires-Dist: requests (>=2.28.1,<3.0.0)
@@ -115,7 +115,7 @@ For script usage, type:
115
115
 
116
116
  ## Running tests
117
117
 
118
- To run the test locally install with the `dev` dependencies group if not already done:
118
+ To run the test locally install with the `dev` dependencies, if not already done (e.g. by **`--all-extras`** above):
119
119
 
120
120
  ```bash
121
121
  poetry install --extras dev
@@ -158,7 +158,7 @@ python -m http.server 3000 --directory ./htmlcov
158
158
 
159
159
  All paths here are relative to the root project directory.
160
160
 
161
- First install the documentation-specific dependencies.
161
+ First install the documentation-specific dependencies, if not already done (e.g. by **`--all-extras`** above):
162
162
 
163
163
  ```bash
164
164
  poetry install --extras docs # or poetry install --all-extras
@@ -212,7 +212,7 @@ The request body consists of JSON data structure with two top level tag:
212
212
 
213
213
  ### Running the Web Service Directly
214
214
 
215
- First install the web-specific dependencies.
215
+ First install the web-specific dependencies, if not already done (e.g. by **`--all-extras`** above):
216
216
 
217
217
  ```bash
218
218
  poetry install --extras web # or poetry install --all-extras
@@ -67,7 +67,7 @@ For script usage, type:
67
67
 
68
68
  ## Running tests
69
69
 
70
- To run the test locally install with the `dev` dependencies group if not already done:
70
+ To run the test locally install with the `dev` dependencies, if not already done (e.g. by **`--all-extras`** above):
71
71
 
72
72
  ```bash
73
73
  poetry install --extras dev
@@ -110,7 +110,7 @@ python -m http.server 3000 --directory ./htmlcov
110
110
 
111
111
  All paths here are relative to the root project directory.
112
112
 
113
- First install the documentation-specific dependencies.
113
+ First install the documentation-specific dependencies, if not already done (e.g. by **`--all-extras`** above):
114
114
 
115
115
  ```bash
116
116
  poetry install --extras docs # or poetry install --all-extras
@@ -164,7 +164,7 @@ The request body consists of JSON data structure with two top level tag:
164
164
 
165
165
  ### Running the Web Service Directly
166
166
 
167
- First install the web-specific dependencies.
167
+ First install the web-specific dependencies, if not already done (e.g. by **`--all-extras`** above):
168
168
 
169
169
  ```bash
170
170
  poetry install --extras web # or poetry install --all-extras
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "reasoner-validator"
3
- version = "4.0.0"
3
+ version = "4.0.2"
4
4
  description = "Validation tools for Reasoner API"
5
5
  authors = [
6
6
  "Richard Bruskiewich <richard.bruskiewich@delphinai.com>",
@@ -40,9 +40,10 @@ include = [
40
40
  ]
41
41
 
42
42
  [tool.poetry.dependencies]
43
- python = "^3.9"
44
- bmt = "^1.1.4"
43
+ python = "^3.10"
44
+ bmt = "^1.4.0"
45
45
  #bmt = { git = "https://github.com/biolink/biolink-model-toolkit.git" }
46
+ bioregistry = "^0.11.1"
46
47
 
47
48
  # jsonschema needs to be pinned to <= 4.18.0 for now,
48
49
  # since 4.18.0 appeared to break something for the
@@ -51,12 +52,12 @@ jsonschema = "~4.17.3"
51
52
  dictdiffer = "^0.9.0"
52
53
  PyYAML = "^6.0"
53
54
  requests = "^2.28.1"
54
- pydantic = "^1.10.13"
55
+ pydantic = "^2"
55
56
  urllib3 = "^1.26.15"
56
57
  numpydoc = {version = "^1.5.0", optional = true}
57
58
  sphinx = {version = "^6.2.1", optional = true}
58
59
  myst-parser = {version = "^2.0.0", optional = true}
59
- fastapi = {version = "^0.85.0", optional = true}
60
+ fastapi = {version = "*", optional = true}
60
61
  uvicorn = {version = "*", optional = true}
61
62
  pytest-cov = {version = "^4.0.0"}
62
63
  pytest = {version = "^7.2.2"}
@@ -73,6 +74,7 @@ opentelemetry-exporter-otlp-proto-http = {version = "*", optional = true}
73
74
  opentelemetry-instrumentation-fastapi = {version = "*", optional = true}
74
75
  opentelemetry-instrumentation-httpx = {version = "*", optional = true}
75
76
 
77
+
76
78
  [tool.poetry.urls]
77
79
  "Change Log" = "https://github.com/NCATSTranslator/reasoner-validator/blob/master/CHANGELOG.md"
78
80
  "Bug Tracker" = "https://github.com/NCATSTranslator/reasoner-validator/issues"
@@ -81,6 +83,9 @@ opentelemetry-instrumentation-httpx = {version = "*", optional = true}
81
83
  docs = ["numpydoc", "sphinx", "myst-parser", "sphinx-rtd-theme"]
82
84
  web = ["fastapi", "uvicorn", "httpx", "opentelemetry-exporter-otlp-proto-http", "opentelemetry-instrumentation-fastapi", "opentelemetry-instrumentation-httpx"]
83
85
 
86
+ [tool.poetry.group.dev.dependencies]
87
+ setuptools = "^69.5.1"
88
+
84
89
  [tool.coverage.run]
85
90
  source = ["reasoner_validator"]
86
91