-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Closes #260 ### Summary - Updates Pydantic to v2.5, along with some other packages to allow this - Updates fixtures, scripts, and migrate related code - Updates tests - curie expansion fails: on omim, ensembl, uberon, and wormbase (potentially unrelated?)
- Loading branch information
1 parent
388f597
commit 2e3e930
Showing
47 changed files
with
13,008 additions
and
16,278 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,44 +5,42 @@ description = "Python package for interacting with Monarch Initiative knowledge | |
authors = [ | ||
"glass-ships <[email protected]>", | ||
"kevin schaper <[email protected]>", | ||
"The Monarch Initiative <[email protected]>" | ||
"The Monarch Initiative <[email protected]>", | ||
] | ||
|
||
|
||
packages = [ | ||
{ include = "monarch_py", from = "src" } | ||
] | ||
packages = [{ include = "monarch_py", from = "src" }] | ||
|
||
|
||
[tool.poetry.dependencies] | ||
### Core dependencies | ||
python = "^3.9" | ||
pydantic = "^1.10.2" | ||
pydantic = "^2" | ||
curies = "<1" | ||
linkml = ">=1.6.3" | ||
prefixmaps = "^0.1.7" | ||
linkml = "^1.6" | ||
prefixmaps = "^0.2" | ||
bioregistry = "^0.10.57" | ||
oaklib = ">=0.5.22" | ||
|
||
requests = "^2.28.1" | ||
typer = "^0.7.0" | ||
typer-cli = "^0.0.13" | ||
rich = "*" | ||
docker = "^6.0.1" | ||
pystow = ">=0.5.0" | ||
loguru = "*" | ||
fastapi = "^0.103.1" | ||
oaklib = ">=0.5.19" | ||
gunicorn = "^21.2.0" | ||
bioregistry = "^0.10.57" | ||
loguru = "*" | ||
pystow = ">=0.5.0" | ||
requests = "^2.28.1" | ||
rich = "*" | ||
typer = "^0.7.0" | ||
typer-cli = "^0.0.13" | ||
|
||
|
||
[tool.poetry.group.dev.dependencies] | ||
pytest = "^7.2.0" | ||
mkdocs = ">=1.4.2" | ||
mkdocs-material = ">=9.1.16" | ||
mkdocstrings = {extras = ["python"], version = ">=0.22.0"} | ||
mkdocstrings = { extras = ["python"], version = ">=0.22.0" } | ||
black = "^22.10.0" | ||
ruff = "*" | ||
uvicorn = {extras = ["standard"], version = "^0.20.0"} | ||
uvicorn = { extras = ["standard"], version = "^0.20.0" } | ||
httpx = "^0.24.1" | ||
scholarly = "*" | ||
habanero = "*" | ||
|
@@ -51,18 +49,15 @@ manubot = "*" | |
|
||
[tool.poetry.scripts] | ||
monarch = "monarch_py.cli:app" | ||
monarch-api = { callable = "monarch_py.api.main:run"} | ||
monarch-api = { callable = "monarch_py.api.main:run" } | ||
|
||
|
||
[tool.ruff] | ||
line-length = 120 | ||
ignore = [ | ||
"F541", # f-strings with no placeholders | ||
] | ||
exclude = [ | ||
"tests/fixtures/*.py", | ||
"src/monarch_py/datamodels/model.py" | ||
] | ||
exclude = ["tests/fixtures/*.py", "src/monarch_py/datamodels/model.py"] | ||
# per-file-ignores = {"" = ""} | ||
|
||
|
||
|
@@ -78,4 +73,4 @@ style = "pep440" | |
|
||
|
||
[tool.pytest.ini_options] | ||
pythonpath = ["src"] | ||
pythonpath = ["src"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.