Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

drop support for python 3.7 #585

Merged
merged 4 commits into from
Feb 5, 2024
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
115 changes: 13 additions & 102 deletions poetry.lock

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

4 changes: 1 addition & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,16 +27,14 @@ classifiers = [
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.7'
]

[tool.poetry.dependencies]
python = "^3.7"
python = "^3.8"
jsonschema = "^4.4.0"

[tool.poetry.dev-dependencies]
# Starting from Python 3.8, asynctest is replaced with a unittest.mock.AsyncMock in standard library.
asynctest = { version = "0.13.0", python = "~3.7" }
pytest = "^7"
pytest-asyncio = "^0.20.3"
pytest-cov = "^4.0.0"
Expand Down
7 changes: 1 addition & 6 deletions tests/conftest.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
try:
from unittest.mock import AsyncMock
except ImportError:
# Python 3.7 and below don't include unittest.mock.AsyncMock. Hence,
# we need to resolve to a package on pypi.
from asynctest import CoroutineMock as AsyncMock
from unittest.mock import AsyncMock

import pytest

Expand Down
7 changes: 1 addition & 6 deletions tests/v16/conftest.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
try:
from unittest.mock import AsyncMock
except ImportError:
# Python 3.7 and below don't include unittest.mock.AsyncMock. Hence,
# we need to resolve to a package on pypi.
from asynctest import CoroutineMock as AsyncMock
from unittest.mock import AsyncMock

import pytest

Expand Down
7 changes: 1 addition & 6 deletions tests/v201/conftest.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
try:
from unittest.mock import AsyncMock
except ImportError:
# Python 3.7 and below don't include unittest.mock.AsyncMock. Hence,
# we need to resolve to a package on pypi.
from asynctest import CoroutineMock as AsyncMock
from unittest.mock import AsyncMock

import pytest

Expand Down
Loading