Skip to content

Commit 2d4d31a

Browse files
mnt: drop python 3.7, 3.8 and support 3.10 (#162)
* doc:remove python 3.7, 3.8 and add 3.10 * doc:upgrade github action plugin version * doc:bug fix * doc:use updated numpy * doc:upgrade numpy * doc:upgrade numpy * doc:upgrade numpy in pyproject.toml * doc:update .readthedocs.yml * conf: add build.os in .readthedocs.yml * conf: update .readthedocs.yml * conf: update .readthedocs.yml * conf: update .readthedocs.yml * conf: update .readthedocs.yml * upgrade sphinx version in docs/requirement.txt * upgrade sphinx-panels and emoji version in docs/requirement.txt * upgrade sphinx-panels version in docs/requirement.txt * upgrade m2r2 version in docs/requirement.txt * conf: add sphinx_rtd_theme in docs/requirement.txt * doc:update meta info in setup.py
1 parent 68723b0 commit 2d4d31a

File tree

6 files changed

+16
-13
lines changed

6 files changed

+16
-13
lines changed

Diff for: .github/workflows/build-and-test.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@ jobs:
1212
strategy:
1313
matrix:
1414
os: [ubuntu-latest, windows-latest]
15-
python-version: [3.7, 3.8, 3.9]
15+
python-version: ["3.9", "3.10"]
1616
steps:
17-
- uses: actions/checkout@v2
17+
- uses: actions/checkout@v4
1818
- name: Set up Python
19-
uses: actions/setup-python@v2
19+
uses: actions/setup-python@v5
2020
with:
2121
python-version: ${{ matrix.python-version }}
2222
- name: Display python version

Diff for: .readthedocs.yml

+5-1
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,14 @@ version: 2
22

33
formats: []
44

5+
build:
6+
os: "ubuntu-22.04"
7+
tools:
8+
python: "3.10"
9+
510
sphinx:
611
configuration: docs/conf.py
712

813
python:
9-
version: 3.7
1014
install:
1115
- requirements: docs/requirements.txt

Diff for: build_tools/requirements.txt

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
pytest==7.1.1
2+
numpy==1.22.4
23
flake8
34
pytest-cov
45
click==8.0.3

Diff for: docs/requirements.txt

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
1-
sphinx==3.2.*
2-
sphinx-panels==0.5.*
1+
sphinx==5.0
2+
sphinx-panels
33
sphinxemoji==0.1.8
4+
sphinx_rtd_theme
45
sphinx-copybutton
5-
m2r2==0.2.7
6+
m2r2
67
mistune==0.8.4
78
Jinja2<3.1
89
Numpy

Diff for: pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
requires = [
33
"setuptools>=42",
44
"wheel",
5-
"numpy>=1.13.3,<1.20.0",
5+
"numpy>=1.22.4",
66
"torch>=1.4.0",
77
"torchvision>=0.2.2",
88
"scikit-learn>=0.23.0"

Diff for: setup.py

+2-5
Original file line numberDiff line numberDiff line change
@@ -80,15 +80,12 @@ def run(self):
8080
"Operating System :: POSIX",
8181
"Operating System :: Unix",
8282
"Operating System :: MacOS",
83-
"Programming Language :: Python :: 3",
84-
"Programming Language :: Python :: 3.6",
85-
"Programming Language :: Python :: 3.7",
86-
"Programming Language :: Python :: 3.8",
8783
"Programming Language :: Python :: 3.9",
84+
"Programming Language :: Python :: 3.10",
8885
],
8986
keywords=["Deep Learning", "PyTorch", "Ensemble Learning"],
9087
packages=find_packages(),
9188
cmdclass=cmdclass,
92-
python_requires=">=3.6",
89+
python_requires=">=3.9",
9390
install_requires=install_requires,
9491
)

0 commit comments

Comments
 (0)