-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: update poetry to version 2 (#969)
* fix: `poetry shell` is deprecated * chore: update versionin precommit hook * chore: update versionin precommit hook * chore: migrate toml * chore: update version in dockerfile * chore: pre-commit auto fixes [...] * chore: do not use typing deprecated classes according to ruff * build: update `deptry` * build: update `deptry`
- Loading branch information
1 parent
e8724cf
commit 0a958f8
Showing
18 changed files
with
364 additions
and
100 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
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 |
---|---|---|
@@ -1,43 +1,45 @@ | ||
[tool.poetry] | ||
[project] | ||
name = "gentropy" | ||
# !! version is managed by semantic_release | ||
version = "0.0.0" | ||
description = "Open Targets python framework for post-GWAS analysis" | ||
authors = ["Open Targets core team"] | ||
authors = [ | ||
{ name = "Open Targets core team", email = "[email protected]" } | ||
] | ||
license = "Apache-2.0" | ||
readme = "README.md" | ||
documentation = "https://opentargets.github.io/gentropy/" | ||
repository = "https://github.com/opentargets/gentropy" | ||
packages = [{ include = "gentropy", from = "src" }] | ||
requires-poetry = ">=2.0" | ||
requires-python = ">=3.10, <3.11" | ||
dependencies = [ | ||
"pyspark (==3.3.4)", | ||
"scipy (>=1.11.4, <1.12.0)", | ||
"hydra-core (>=1.3.2, <1.4.0)", | ||
"pyliftover (>=0.4, <0.5)", | ||
"numpy (>=1.26.2, <1.27.0)", | ||
"hail (==0.2.127)", | ||
"wandb (>=0.19.0, <0.20.0)", | ||
"google (>=3.0.0, <3.1.0)", | ||
"omegaconf (>=2.3.0, <2.4.0)", | ||
"typing-extensions (>=4.9.0, <4.13.0)", | ||
"scikit-learn (>=1.6.0, <1.7.0)", | ||
"pandas[gcp,parquet] (>=2.2.2, <2.3.0)", | ||
"skops (>=0.11, <0.12)", | ||
"google-cloud-secret-manager (>=2.20.0, <2.22.0)", | ||
"shap (>=0.46.0, <0.47.0)", | ||
"matplotlib (>=3.7.3, <3.8.0)" | ||
] | ||
|
||
[tool.poetry.urls] | ||
[project.urls] | ||
Source = "https://github.com/opentargets/gentropy" | ||
"Bug Tracker" = "http://github.com/opentargets/issues" | ||
"Funding" = "https://www.opentargets.org" | ||
"Documentation" = "https://opentargets.github.io/gentropy/" | ||
Funding = "https://www.opentargets.org" | ||
Documentation = "https://opentargets.github.io/gentropy/" | ||
|
||
[tool.poetry.scripts] | ||
[project.scripts] | ||
gentropy = "gentropy.cli:main" | ||
|
||
[tool.poetry.dependencies] | ||
python = ">=3.10, <3.11" | ||
pyspark = "3.3.4" | ||
scipy = ">=1.11.4, <1.12.0" | ||
hydra-core = ">=1.3.2, <1.4.0" | ||
pyliftover = ">=0.4, <0.5" | ||
numpy = ">=1.26.2, <1.27.0" | ||
hail = "0.2.127" | ||
wandb = ">=0.19.0, <0.20.0" | ||
google = ">=3.0.0, <3.1.0" | ||
omegaconf = ">=2.3.0, <2.4.0" | ||
typing-extensions = ">=4.9.0, <4.13.0" | ||
scikit-learn = ">=1.6.0, <1.7.0" | ||
pandas = { extras = ["gcp", "parquet"], version = ">=2.2.2, <2.3.0" } | ||
skops = ">=0.11, <0.12" | ||
google-cloud-secret-manager = ">=2.20.0, <2.22.0" | ||
shap = ">=0.46.0, <0.47.0" | ||
matplotlib = ">=3.7.3, <3.8.0" | ||
|
||
|
||
[tool.poetry.group.docs.dependencies] | ||
mkdocs = ">=1.5.3, <1.6.0" | ||
mkdocstrings-python = ">=1.12.2, <1.13.0" | ||
|
@@ -67,7 +69,7 @@ ipykernel = ">=6.28.0, <6.30.0" | |
google-cloud-dataproc = ">=5.8.0, <5.16.0" | ||
pydoclint = ">=0.3.8,<0.6.0" | ||
prettier = ">=0.0.7, <0.1.0" | ||
deptry = ">=0.12,<0.21" | ||
deptry = ">=0.22.0, <0.23.0" | ||
yamllint = ">=1.33.0, <1.36.0" | ||
pre-commit = ">=4.0.0, <4.1.0" | ||
mypy = ">=1.13, <1.14" | ||
|
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
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.