Merge pull request #150 from IAlibay/py311
Update CI and docs for Python up to py311
This commit is contained in:
11
.github/workflows/python-package.yml
vendored
11
.github/workflows/python-package.yml
vendored
@@ -8,6 +8,9 @@ on:
|
|||||||
branches: '**'
|
branches: '**'
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: '**'
|
branches: '**'
|
||||||
|
schedule:
|
||||||
|
# 0 am UTC on Sundays
|
||||||
|
- cron: "0 0 * * 0"
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
@@ -15,7 +18,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
python-version: [3.6, 3.7, 3.8, 3.9]
|
python-version: [3.6, 3.7, 3.8, 3.9, "3.10", "3.11"]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
@@ -26,9 +29,9 @@ jobs:
|
|||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
python -m pip install --upgrade pip setuptools wheel
|
python -m pip install --upgrade pip setuptools wheel
|
||||||
pip install flake8 pytest
|
python -m pip install flake8 pytest
|
||||||
pip install coverage
|
python -m pip install coverage
|
||||||
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
|
if [ -f requirements.txt ]; then python -m pip install -r requirements.txt; fi
|
||||||
- name: Lint with flake8
|
- name: Lint with flake8
|
||||||
run: |
|
run: |
|
||||||
# stop the build if there are Python syntax errors or undefined names
|
# stop the build if there are Python syntax errors or undefined names
|
||||||
|
|||||||
@@ -1,6 +1,3 @@
|
|||||||
[bdist_wheel]
|
|
||||||
universal=1
|
|
||||||
|
|
||||||
[versioneer]
|
[versioneer]
|
||||||
VCS = git
|
VCS = git
|
||||||
style = pep440
|
style = pep440
|
||||||
|
|||||||
2
setup.py
2
setup.py
@@ -50,6 +50,8 @@ See http://propka.org/ for the PROPKA web server.
|
|||||||
'Programming Language :: Python :: 3.7',
|
'Programming Language :: Python :: 3.7',
|
||||||
'Programming Language :: Python :: 3.8',
|
'Programming Language :: Python :: 3.8',
|
||||||
'Programming Language :: Python :: 3.9',
|
'Programming Language :: Python :: 3.9',
|
||||||
|
'Programming Language :: Python :: 3.10',
|
||||||
|
'Programming Language :: Python :: 3.11',
|
||||||
'Topic :: Scientific/Engineering :: Bio-Informatics',
|
'Topic :: Scientific/Engineering :: Bio-Informatics',
|
||||||
'Topic :: Scientific/Engineering :: Chemistry',
|
'Topic :: Scientific/Engineering :: Chemistry',
|
||||||
],
|
],
|
||||||
|
|||||||
Reference in New Issue
Block a user