From f6f3c51c1cc5facf6db948d2bea02e29208a16d1 Mon Sep 17 00:00:00 2001 From: IAlibay Date: Wed, 9 Nov 2022 14:16:59 +0000 Subject: [PATCH] Update CI and docs for Python up to py311 --- .github/workflows/python-package.yml | 11 +++++++---- setup.cfg | 3 --- setup.py | 2 ++ 3 files changed, 9 insertions(+), 7 deletions(-) diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index 36b9bee..c26fffd 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -8,6 +8,9 @@ on: branches: '**' pull_request: branches: '**' + schedule: + # 3 am Tuesdays and Fridays + - cron: "0 3 * * 2,5" jobs: build: @@ -15,7 +18,7 @@ jobs: runs-on: ubuntu-latest strategy: 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: - uses: actions/checkout@v2 @@ -26,9 +29,9 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip setuptools wheel - pip install flake8 pytest - pip install coverage - if [ -f requirements.txt ]; then pip install -r requirements.txt; fi + python -m pip install flake8 pytest + python -m pip install coverage + if [ -f requirements.txt ]; then python -m pip install -r requirements.txt; fi - name: Lint with flake8 run: | # stop the build if there are Python syntax errors or undefined names diff --git a/setup.cfg b/setup.cfg index 84cbbc6..e974c2e 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,6 +1,3 @@ -[bdist_wheel] -universal=1 - [versioneer] VCS = git style = pep440 diff --git a/setup.py b/setup.py index 3a20dc4..1729160 100755 --- a/setup.py +++ b/setup.py @@ -50,6 +50,8 @@ See http://propka.org/ for the PROPKA web server. 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', + 'Programming Language :: Python :: 3.10', + 'Programming Language :: Python :: 3.11', 'Topic :: Scientific/Engineering :: Bio-Informatics', 'Topic :: Scientific/Engineering :: Chemistry', ],