diff --git a/.github/workflows/continous-integration.yml b/.github/workflows/continous-integration.yml index 3a8e280..cfa8893 100644 --- a/.github/workflows/continous-integration.yml +++ b/.github/workflows/continous-integration.yml @@ -9,7 +9,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python: ['3.7', '3.8', '3.9', '3.10', '3.11'] + python: ['3.8', '3.9', '3.10', '3.11'] steps: - uses: actions/checkout@v2 - name: Set up Python ${{ matrix.python }} diff --git a/CHANGELOG.md b/CHANGELOG.md index 37d969e..cdb822c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,8 @@ +## ?.?.? + +* Dropped support for Python 3.7 which has reached end of life. Python 3.8+ is + now required. + ## 2.4.1 * The optional search filter in `Dataset.get_datasets` has been relaxed to allow diff --git a/DEVELOPMENT.md b/DEVELOPMENT.md index 558ab38..a3ce7ec 100644 --- a/DEVELOPMENT.md +++ b/DEVELOPMENT.md @@ -6,7 +6,7 @@ Setup ``` git clone git@github.com:oslokommune/okdata-sdk-python.git cd okdata-sdk-python -python3.7 -m venv .venv +python3.8 -m venv .venv source .venv/bin/activate make init ``` diff --git a/pyproject.toml b/pyproject.toml index 80cc361..ef55924 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,5 +1,5 @@ [tool.black] -py37 = true +py38 = true # Keep exclude in sync with flake8 config in tox.ini exclude = ''' /( diff --git a/setup.py b/setup.py index 6fed80e..47ce8e0 100644 --- a/setup.py +++ b/setup.py @@ -38,7 +38,6 @@ include_package_data=True, classifiers=[ "Development Status :: 5 - Production/Stable", - "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", @@ -46,6 +45,6 @@ "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", ], - python_requires=">=3.7", + python_requires=">=3.8", zip_safe=False, ) diff --git a/tox.ini b/tox.ini index a9c7580..aab45af 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = py37,py38,py39,py310,py311,flake8,black,mypy +envlist = py38,py39,py310,py311,flake8,black,mypy [testenv] deps=