Skip to content

Commit

Permalink
fix: asynccasbin doesn't support 3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
thearchitector committed Nov 23, 2023
1 parent 079cc08 commit 79ab93e
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 71 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
steps:
- uses: actions/checkout@v3
- name: Adjust container
Expand Down
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# Changelog

## [1.2.1] - 2023-11-23

# Added

- Support for Python 3.11.

### Fixed

- Support for Python 3.7. (credit @hubertshelley with [PR.#6](https://github.com/thearchitector/casbin-tortoise-adapter/pull/6))

## [1.2.0] - 2022-06-22

### Added
Expand Down
67 changes: 1 addition & 66 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 1 addition & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,7 @@ tortoise-orm = [
[tool.poetry.dev-dependencies]
pytest = "^6.2.4"
pytest-asyncio = "^0.15.1"
asyncpg = [
{ version = "^0.28.0", python = ">=3.7,<3.12" },
{ version = "^0.29.0", python = ">=3.12" }
]
asyncpg = "^0.28.0"

[tool.pytest.ini_options]
addopts = "-ra -svv"
Expand Down

0 comments on commit 79ab93e

Please sign in to comment.