diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 50b21299..05615f93 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -22,8 +22,6 @@ jobs: - dj41 - dj42 include: - - python-version: 3.7 - tox-environment: dj32 - python-version: '3.10' tox-environment: djmain - python-version: '3.11' diff --git a/.readthedocs.yaml b/.readthedocs.yaml index 3035aaaa..e31f59e3 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -1,6 +1,11 @@ # See https://docs.readthedocs.io/en/stable/config-file/v2.html for details version: 2 +build: + os: ubuntu-22.04 + tools: + python: "3.11" + python: install: - requirements: docs/requirements.txt diff --git a/pyproject.toml b/pyproject.toml index b72aaa18..79de7fba 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "django-phonenumber-field" -requires-python = ">=3.7" +requires-python = ">=3.8" description = "An international phone number field for django models." readme = "README.rst" authors = [ @@ -24,7 +24,6 @@ classifiers = [ "Programming Language :: Python", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", diff --git a/tox.ini b/tox.ini index d0b7bd46..8047c7ba 100644 --- a/tox.ini +++ b/tox.ini @@ -30,7 +30,7 @@ commands = [testenv:black] basepython = python3 commands = - black --target-version=py37 --check --diff . + black --target-version=py38 --check --diff . deps = black skip_install = true