Skip to content

Commit

Permalink
mnt: drop python 3.7, 3.8 and support 3.10 (#162)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
Malephilosopher authored Apr 10, 2024
1 parent 68723b0 commit 2d4d31a
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 13 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
python-version: [3.7, 3.8, 3.9]
python-version: ["3.9", "3.10"]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Display python version
Expand Down
6 changes: 5 additions & 1 deletion .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,14 @@ version: 2

formats: []

build:
os: "ubuntu-22.04"
tools:
python: "3.10"

sphinx:
configuration: docs/conf.py

python:
version: 3.7
install:
- requirements: docs/requirements.txt
1 change: 1 addition & 0 deletions build_tools/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
pytest==7.1.1
numpy==1.22.4
flake8
pytest-cov
click==8.0.3
Expand Down
7 changes: 4 additions & 3 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
sphinx==3.2.*
sphinx-panels==0.5.*
sphinx==5.0
sphinx-panels
sphinxemoji==0.1.8
sphinx_rtd_theme
sphinx-copybutton
m2r2==0.2.7
m2r2
mistune==0.8.4
Jinja2<3.1
Numpy
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
requires = [
"setuptools>=42",
"wheel",
"numpy>=1.13.3,<1.20.0",
"numpy>=1.22.4",
"torch>=1.4.0",
"torchvision>=0.2.2",
"scikit-learn>=0.23.0"
Expand Down
7 changes: 2 additions & 5 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,15 +80,12 @@ def run(self):
"Operating System :: POSIX",
"Operating System :: Unix",
"Operating System :: MacOS",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
],
keywords=["Deep Learning", "PyTorch", "Ensemble Learning"],
packages=find_packages(),
cmdclass=cmdclass,
python_requires=">=3.6",
python_requires=">=3.9",
install_requires=install_requires,
)

0 comments on commit 2d4d31a

Please sign in to comment.