Skip to content

Commit 6215483

Browse files
authored
Deprecate Python 3.7. (#62)
1 parent 98a39e2 commit 6215483

File tree

4 files changed

+18
-8
lines changed

4 files changed

+18
-8
lines changed

.github/workflows/main.yml

+12-6
Original file line numberDiff line numberDiff line change
@@ -27,16 +27,22 @@ jobs:
2727
fail-fast: false
2828
matrix:
2929
os: ['ubuntu-latest', 'macos-latest', 'windows-latest']
30-
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11']
30+
python-version: ['3.8', '3.9', '3.10', '3.11']
3131

3232
steps:
3333
- uses: actions/checkout@v4
34-
- uses: conda-incubator/setup-miniconda@v2
34+
- uses: mamba-org/setup-micromamba@v1
3535
with:
36-
auto-update-conda: false
37-
python-version: ${{ matrix.python-version }}
38-
channels: conda-forge,nodefaults
39-
miniforge-variant: Mambaforge
36+
environment-name: gha-testing
37+
condarc: |
38+
channels:
39+
- nodefaults
40+
- conda-forge
41+
create-args: >-
42+
python=${{ matrix.python-version }}
43+
mamba
44+
tox-conda
45+
cache-environment: true
4046

4147
- name: Install core dependencies.
4248
shell: bash -l {0}

.pre-commit-config.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ repos:
2727
rev: v3.11.0
2828
hooks:
2929
- id: reorder-python-imports
30-
args: [--py37-plus, --add-import, 'from __future__ import annotations']
30+
args: [--py38-plus, --add-import, 'from __future__ import annotations']
3131
- repo: https://github.com./asottile/setup-cfg-fmt
3232
rev: v2.4.0
3333
hooks:

CHANGES.md

+4
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ chronological order. Releases follow [semantic versioning](https://semver.org/)
55
releases are available on [PyPI](https://pypi.org/project/pytask-parallel) and
66
[Anaconda.org](https://anaconda.org/conda-forge/pytask-parallel).
77

8+
## 0.4.0 - 2023-xx-xx
9+
10+
- {pull}`62` deprecates Python 3.7.
11+
812
## 0.3.1 - 2023-05-27
913

1014
- {pull}`56` refactors the `ProcessPoolExecutor`.

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ ignore_errors = true
2525

2626

2727
[tool.ruff]
28-
target-version = "py37"
28+
target-version = "py38"
2929
select = ["ALL"]
3030
fix = true
3131
extend-ignore = [

0 commit comments

Comments
 (0)