Skip to content

Commit 35b59a5

Browse files
authored
Bump min version of Python (#192)
* bumped min py ver * specified conf.py * corrected ymls * test mpl ver * reset mpl ver
1 parent 924c8fc commit 35b59a5

File tree

7 files changed

+12
-8
lines changed

7 files changed

+12
-8
lines changed

.github/workflows/ci-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
fail-fast: false
2323
matrix:
2424
os: [ "ubuntu-latest" ]
25-
version: [ "py38", "py39", "py310", "py311"]
25+
version: ["py310", "py311"]
2626
session: [ "test" ]
2727
include:
2828
- version: "py311"

.readthedocs.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
11
version: 2
2+
sphinx:
3+
# path to conf file
4+
configuration: docs/source/conf.py
5+
fail_on_warning: false
26

37
build:
48
os: "ubuntu-22.04"
59
tools:
6-
python: "mambaforge-22.9"
10+
python: "mambaforge-23.11"
711

812
conda:
913
environment: requirements/rtd.yml

environment.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@ name: tephi-binder
22
channels:
33
- conda-forge
44
dependencies:
5-
- python>=3.6
5+
- python>=3.10
66
- tephi

pyproject.toml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@ classifiers = [
1818
"License :: OSI Approved :: BSD License",
1919
"Programming Language :: Python",
2020
"Programming Language :: Python :: 3",
21-
"Programming Language :: Python :: 3.8",
22-
"Programming Language :: Python :: 3.9",
2321
"Programming Language :: Python :: 3.10",
2422
"Programming Language :: Python :: 3.11",
2523
"Topic :: Scientific/Engineering :: Atmospheric Science",
@@ -38,7 +36,7 @@ keywords = [
3836
]
3937
license = {text = "BSD-3-Clause"}
4038
name = "tephi"
41-
requires-python = ">=3.8"
39+
requires-python = ">=3.10"
4240
dependencies = ["matplotlib", "numpy", "scipy"]
4341

4442
[project.urls]
@@ -49,7 +47,7 @@ Docs = "https://tephi.readthedocs.io/en/latest/"
4947

5048
[tool.black]
5149
line-length = 79
52-
target-version = ["py38", "py39", "py310", "py311"]
50+
target-version = ["py310", "py311"]
5351
include = '\.pyi?$'
5452

5553
[tool.mypy]

requirements/dev.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
name: tephi-dev
22
channels:
33
- conda-forge
4+
- nodefaults
45
dependencies:
56
- matplotlib
67
- numpy

requirements/rtd.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
name: tephi-docs
22
channels:
33
- conda-forge
4+
- nodefaults
45
dependencies:
56
- matplotlib
67
- numpy

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ requires =
33
tox-conda
44
isolated_build = True
55

6-
[testenv:py{38,39,310,311}-test]
6+
[testenv:py{310,311}-test]
77
description = invoke pytest to run automated tests
88
deps =
99
pytest

0 commit comments

Comments
 (0)