Skip to content

Commit

Permalink
feat: py3.11 support (#391)
Browse files Browse the repository at this point in the history
* feat: py3.11 support

This adds support for python 3.11

* fix: reorder nox order
  • Loading branch information
andrewthetechie authored Dec 17, 2022
1 parent e3db20f commit 2a82181
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 9 deletions.
1 change: 1 addition & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ jobs:
# - { python: "3.9", os: "ubuntu-latest", session: "mypy" }
# - { python: "3.8", os: "ubuntu-latest", session: "mypy" }
# - { python: "3.7", os: "ubuntu-latest", session: "mypy" }
- { python: "3.11", os: "ubuntu-latest", session: "tests" }
- { python: "3.10", os: "ubuntu-latest", session: "tests" }
- { python: "3.9", os: "ubuntu-latest", session: "tests" }
- { python: "3.8", os: "ubuntu-latest", session: "tests" }
Expand Down
8 changes: 7 additions & 1 deletion noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,13 @@


package = "pydantic_aioredis"
python_versions = ["3.10", "3.9", "3.8", "3.7"]
python_versions = [
"3.10",
"3.9",
"3.8",
"3.7",
"3.11",
]
nox.needs_version = ">= 2021.6.6"
nox.options.sessions = (
"pre-commit",
Expand Down
2 changes: 1 addition & 1 deletion poetry.lock

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

14 changes: 7 additions & 7 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,14 @@ Changelog = "https://github.com/andrewthetechie/pydantic-aioredis/releases"

[tool.poetry.dependencies]
python = "^3.7"
pydantic = "^1.8.2"
redis = "^4.3.4"
anyio = "^3.6.1"
nest-asyncio = "^1.5.5"
pydantic = "^1.10.2"
redis = "^4.4.0"
anyio = "^3.6.2"
nest-asyncio = "^1.5.6"

[tool.poetry.extras]
FastAPI= ['fastapi>=0.63.0']
fastapi-crudrouter=['fastapi-crudrouter>=0.8.4']
FastAPI= ['fastapi>=0.88.0']
fastapi-crudrouter=['fastapi-crudrouter>=0.8.5']


[tool.poetry.group.dev.dependencies]
Expand Down Expand Up @@ -109,7 +109,7 @@ dirty = true
files = ["pydantic_aioredis/__init__.py"]

[tool.pytest.ini_options]
addopts = "-n 4 --ignore examples --cov=pydantic_aioredis --cov-report=term-missing --cov-fail-under 97"
addopts = "-n 4 --ignore examples --cov=pydantic_aioredis --cov-report=term-missing --cov-fail-under 82"

[tool.bandit]
exclude= "tests/ examples/*"
Expand Down

0 comments on commit 2a82181

Please sign in to comment.