Update CI and docs for Python up to py311

This commit is contained in:
IAlibay
2022-11-09 14:16:59 +00:00
parent 8acfb4fe1b
commit f6f3c51c1c
3 changed files with 9 additions and 7 deletions

View File

@@ -8,6 +8,9 @@ on:
branches: '**' branches: '**'
pull_request: pull_request:
branches: '**' branches: '**'
schedule:
# 3 am Tuesdays and Fridays
- cron: "0 3 * * 2,5"
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

View File

@@ -1,6 +1,3 @@
[bdist_wheel]
universal=1
[versioneer] [versioneer]
VCS = git VCS = git
style = pep440 style = pep440

View File

@@ -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',
], ],