-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #17 from thehyve/poetry2-upgrade
Poetry2 upgrade
- Loading branch information
Showing
10 changed files
with
555 additions
and
484 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 |
---|---|---|
@@ -1,11 +1,12 @@ | ||
[tool.poetry] | ||
[project] | ||
name = "omop-cdm" | ||
version = "0.3.0" | ||
version = "0.3.1" | ||
description = "SQLAlchemy ORM of the OHDSI OMOP CDM" | ||
authors = [ | ||
"Spayralbe <[email protected]>", | ||
{name = "Spayralbe", email = "[email protected]"}, | ||
] | ||
readme = "README.md" | ||
requires-python = ">=3.9,<4.0" | ||
classifiers = [ | ||
"Intended Audience :: Developers", | ||
"Operating System :: OS Independent", | ||
|
@@ -20,34 +21,31 @@ classifiers = [ | |
"Programming Language :: Python :: 3.13", | ||
"Programming Language :: Python :: Implementation :: CPython", | ||
] | ||
dependencies = [ | ||
"sqlalchemy >= 2.0", | ||
] | ||
|
||
[tool.poetry.urls] | ||
[project.urls] | ||
"Repository" = "https://github.com/thehyve/omop-cdm" | ||
"Documentation" = "https://github.com/thehyve/omop-cdm/blob/main/docs/README.md" | ||
"Bug Tracker" = "https://github.com/thehyve/omop-cdm/issues" | ||
"Changelog" = "https://github.com/thehyve/omop-cdm/blob/main/CHANGELOG.md" | ||
|
||
[tool.poetry.dependencies] | ||
python = "^3.9" | ||
sqlalchemy = "^2.0.4" | ||
|
||
[tool.poetry.group.dev.dependencies] | ||
nox = "^2024.4.15" | ||
ruff = "^0.3.2" | ||
pre-commit = "^3.5.0" | ||
nox = "^2024.10.9" | ||
ruff = "^0.9.3" | ||
pre-commit = "^4.1.0" | ||
|
||
[tool.poetry.group.test.dependencies] | ||
pytest = "^8.1.1" | ||
pytest-cov = "^4.1.0" | ||
testcontainers = {version = ">=3.7.1", extras = ["postgres"]} | ||
pytest = "^8.3.4" | ||
pytest-cov = "^6.0.0" | ||
testcontainers = "^4.9.1" | ||
psycopg2-binary = "^2.9.9" | ||
|
||
|
||
[build-system] | ||
requires = ["poetry-core"] | ||
requires = ["poetry-core>=2.0"] | ||
build-backend = "poetry.core.masonry.api" | ||
|
||
|
||
[tool.pytest.ini_options] | ||
addopts = "--import-mode=importlib" | ||
pythonpath = [ | ||
|
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 +1,7 @@ | ||
"""OMOP CDM SQLAlchemy model.""" | ||
|
||
import importlib.metadata | ||
|
||
from omop_cdm.constants import NAMING_CONVENTION | ||
|
||
__version__ = importlib.metadata.version("omop-cdm") |
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.