-
Notifications
You must be signed in to change notification settings - Fork 3
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 #7 from sampingantech/enhancement/migrate-to-poetry
enchancement: migrate to poetry and upgrade depedencies
- Loading branch information
Showing
8 changed files
with
581 additions
and
11 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
3.9.13 |
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[virtualenvs] | ||
in-project = true | ||
prefer-active-python = true |
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 |
---|---|---|
@@ -0,0 +1,26 @@ | ||
[tool.poetry] | ||
name = "databases-casbin-adapter" | ||
version = "0.1.0" | ||
description = "An adapter for PyCasbin that implemented by Databases library which support async process" | ||
authors = ["isasetiawan <10252610+isasetiawan@users.noreply.github.com>"] | ||
license = "MIT" | ||
readme = "README.md" | ||
packages = [{include = "databases_casbin_adapter"}] | ||
|
||
[tool.poetry.dependencies] | ||
python = "^3.9" | ||
SQLAlchemy = "1.4.46" | ||
databases = "0.7.0" | ||
asynccasbin = "1.1.8" | ||
|
||
|
||
[tool.poetry.group.test.dependencies] | ||
pytest = "7.2.0" | ||
pytest-cov = "4.0.0" | ||
alt-pytest-asyncio = "0.6.0" | ||
aiosqlite = "0.18.0" | ||
mypy = "0.991" | ||
|
||
[build-system] | ||
requires = ["poetry-core"] | ||
build-backend = "poetry.core.masonry.api" |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.