Skip to content

Commit 10b2728

Browse files
committed
DEP: Drop Python 3.8 support
1 parent 585d523 commit 10b2728

4 files changed

Lines changed: 21 additions & 20 deletions

File tree

.github/workflows/fmu-config.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
runs-on: ubuntu-latest
2020
strategy:
2121
matrix:
22-
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
22+
python-version: ["3.9", "3.10", "3.11", "3.12"]
2323

2424
steps:
2525
- name: Checkout commit locally
@@ -64,7 +64,7 @@ jobs:
6464
run: sphinx-build -b html docs build/docs/html
6565

6666
- name: Update GitHub pages
67-
if: github.repository_owner == 'equinor' && github.ref == 'refs/heads/main' && matrix.python-version == '3.8'
67+
if: github.repository_owner == 'equinor' && github.ref == 'refs/heads/main' && matrix.python-version == '3.11'
6868
run: |
6969
cp -R ./build/docs/html ../html
7070

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ It is very important to be complient to code standards. fmu-config uses
5757
- Start with documentation and tests. Think and communicate first!
5858
- Docstrings shall start and end with """ and use Google style.
5959
- Use pytest as testing engine
60-
- Code shall be be Python 3.8+ compliant
60+
- Code shall be be Python 3.9+ compliant
6161

6262

6363
### Linting

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# fmu-config
22

33
![fmu-config](https://github.com/equinor/fmu-config/workflows/fmu-config/badge.svg)
4-
![Python Version](https://img.shields.io/badge/python-3.8%20|%203.9%20|%203.10%20|%203.11%20|%203.12-blue.svg)
4+
![Python Version](https://img.shields.io/badge/python-3.9%20|%203.10%20|%203.11%20|%203.12-blue.svg)
55
[![License: LGPL v3](https://img.shields.io/github/license/equinor/fmu-tools)](https://www.gnu.org/licenses/lgpl-3.0)
66
[![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff)
77
[![PyPI](https://img.shields.io/pypi/v/fmu-config.svg)](https://pypi.org/project/fmu-config/)

pyproject.toml

Lines changed: 17 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ write_to = "src/fmu/config/version.py"
1212
name = "fmu-config"
1313
description = "Library for various config scripts in FMU scopes"
1414
readme = "README.md"
15-
requires-python = ">=3.8"
15+
requires-python = ">=3.9"
1616
license = { file = "LICENSE" }
1717
authors = [
1818
{ name = "Equinor", email = "jriv@equinor.com" },
@@ -23,7 +23,6 @@ classifiers = [
2323
"Intended Audience :: Developers",
2424
"Natural Language :: English",
2525
"Programming Language :: Python :: 3",
26-
"Programming Language :: Python :: 3.8",
2726
"Programming Language :: Python :: 3.9",
2827
"Programming Language :: Python :: 3.10",
2928
"Programming Language :: Python :: 3.11",
@@ -61,7 +60,7 @@ disallow_untyped_defs = true
6160
exclude = "^((tests|docs|examples|build|tools)/|conftest.py?)"
6261
extra_checks = true
6362
ignore_missing_imports = true
64-
python_version = 3.8
63+
python_version = 3.11
6564
strict_equality = true
6665
warn_redundant_casts = true
6766
warn_unused_configs = true
@@ -95,19 +94,21 @@ ignore = [
9594
"C901",
9695
]
9796
select = [
98-
"B",
99-
"C",
100-
"E",
101-
"F",
102-
"I",
103-
"PIE",
104-
"Q",
105-
"RET",
106-
"RSE",
107-
"SIM",
108-
"W",
109-
"TCH",
110-
"TID",
97+
"B", # flake-8-bugbear
98+
"C", # pylint-convention
99+
"E", # pycodestyle-error
100+
"F", # pyflakes
101+
"I", # isort
102+
"NPY", # numpy
103+
"PIE", # flake8-pie
104+
"Q", # flake8-quotes
105+
"RET", # flake8-return
106+
"RSE", # flake8-raise
107+
"SIM", # flake8-simplify
108+
"TCH", # flake8-type-checking
109+
"TID", # flake8-tidy-imports
110+
# "UP", # pyupgrade
111+
"W", # pylint-warnings
111112
]
112113

113114
[tool.ruff.lint.isort]

0 commit comments

Comments
 (0)