Skip to content

Commit fdb4451

Browse files
Build: Drop support for Python 3.8 (#64)
1 parent fc74fa2 commit fdb4451

30 files changed

+84
-47
lines changed

.codespellrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
[codespell]
2-
skip = .git/*
2+
skip = .git/*,*.pdf

.copier-answers.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Changes here will be overwritten by Copier
22

3-
_commit: 0.1.53
3+
_commit: 0.1.66
44
_src_path: [email protected]:neuromath/python-template.git
55
author_email: ''
66
author_name: Blue Brain Project, EPFL

.github/workflows/commitlint.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,14 @@ jobs:
88
check-pr-title:
99
name: Check PR title
1010
runs-on: ubuntu-latest
11+
env:
12+
PR_TITLE: ${{ github.event.pull_request.title }}
1113
steps:
1214
- uses: actions/checkout@v4
1315
- uses: actions/setup-node@v4
1416
with:
15-
node-version: '16'
17+
node-version: '20'
1618
- run: npm install -g --force commitlint @commitlint/cli commitlint-plugin-cleanfeet
1719
- run: npm install conventional-changelog-conventionalcommits
1820
- run: touch .git/COMMIT_EDITMSG
19-
- run: echo "${{ github.event.pull_request.title }}" | commitlint
21+
- run: echo "$PR_TITLE" | commitlint

.github/workflows/publish-sdist.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ jobs:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- uses: actions/checkout@v4
14-
- name: Set up Python 3.8
14+
- name: Set up Python 3.10
1515
uses: actions/setup-python@v5
1616
with:
17-
python-version: 3.8
17+
python-version: "3.10"
1818
- name: Build a wheel and a source tarball
1919
run: |
2020
pip install setuptools>=42 build setuptools_scm[toml]>=3.4

.github/workflows/run-tox.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@ jobs:
1313
runs-on: ubuntu-latest
1414
strategy:
1515
matrix:
16-
python-version: ["3.8", "3.9", "3.10", "3.11"]
16+
python-version: ["3.9", "3.10", "3.11", "3.12"]
1717
min_versions: ["min_versions", "latest_versions"]
1818
exclude:
1919
- min_versions: "min_versions"
2020
include:
21-
- python-version: "3.8"
21+
- python-version: "3.9"
2222
min_versions: "min_versions"
2323

2424
steps:
@@ -57,7 +57,7 @@ jobs:
5757
pip install tox
5858
tox run -e min_versions
5959
- name: JUnit Report Action
60-
uses: mikepenz/action-junit-report@v4
60+
uses: mikepenz/action-junit-report@v5
6161
if: always() # always run even if the previous step fails
6262
with:
6363
report_paths: 'reports/pytest-*.xml'

.pre-commit-config.yaml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
1-
default_language_version:
2-
python: python3.8
31
repos:
42
- repo: https://github.com/pre-commit/pre-commit-hooks
5-
rev: v4.4.0
3+
rev: v5.0.0
64
hooks:
75
- id: check-added-large-files
86
- id: check-case-conflict
@@ -13,22 +11,22 @@ repos:
1311
- id: end-of-file-fixer
1412
- id: trailing-whitespace
1513
- repo: https://github.com/alessandrojcm/commitlint-pre-commit-hook
16-
rev: v9.5.0
14+
rev: v9.18.0
1715
hooks:
1816
- id: commitlint
1917
stages:
2018
- commit-msg
2119
additional_dependencies: ['conventional-changelog-conventionalcommits']
2220
- repo: https://github.com/pycqa/isort
23-
rev: 5.12.0
21+
rev: 5.13.2
2422
hooks:
2523
- id: isort
2624
- repo: https://github.com/psf/black
27-
rev: 23.9.1
25+
rev: 24.10.0
2826
hooks:
2927
- id: black
3028
- repo: https://github.com/codespell-project/codespell
31-
rev: v2.2.5
29+
rev: v2.3.0
3230
hooks:
3331
- id: codespell
3432
args: ["-x", ".codespellignorelines"]
@@ -38,6 +36,6 @@ repos:
3836
- id: pydocstyle
3937
additional_dependencies: ["tomli"]
4038
- repo: https://github.com/PyCQA/flake8
41-
rev: 6.1.0
39+
rev: 7.1.1
4240
hooks:
4341
- id: flake8

.pylintrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
disable=
33
arguments-differ,
44
invalid-name,
5+
too-many-positional-arguments
56

67
[FORMAT]
78
# Regexp for a line that is allowed to be longer than the limit.

.readthedocs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66
version: 2
77

88
build:
9-
os: ubuntu-20.04
9+
os: ubuntu-22.04
1010
tools:
11-
python: "3.9"
11+
python: "3.11"
1212

1313
sphinx:
1414
configuration: docs/source/conf.py

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ When you wish to contribute to the code base, please consider the following guid
5959
or
6060

6161
```shell
62-
tox -e py38 -e lint -e docs -e check-packaging
62+
tox run -e py39,lint,docs,check-packaging
6363
```
6464

6565
* Commit your changes using a descriptive commit message.

data_validation_framework/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
33
Simple framework to create data validation workflows.
44
"""
5+
56
import importlib.metadata
67

78
from data_validation_framework import result # noqa

0 commit comments

Comments
 (0)