Skip to content

Commit

Permalink
Merge pull request #113 from oslokommune/py38+
Browse files Browse the repository at this point in the history
Require Python 3.8+
  • Loading branch information
simenheg committed Jun 27, 2023
2 parents ab6d3c3 + 80920c4 commit 9fafa4b
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/continous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion DEVELOPMENT.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Setup
```
git clone [email protected]: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
```
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tool.black]
py37 = true
py38 = true
# Keep exclude in sync with flake8 config in tox.ini
exclude = '''
/(
Expand Down
3 changes: 1 addition & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,13 @@
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",
"Programming Language :: Python :: 3.11",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
python_requires=">=3.7",
python_requires=">=3.8",
zip_safe=False,
)
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = py37,py38,py39,py310,py311,flake8,black,mypy
envlist = py38,py39,py310,py311,flake8,black,mypy

[testenv]
deps=
Expand Down

0 comments on commit 9fafa4b

Please sign in to comment.