Skip to content

Commit 599d59a

Browse files
committed
Add Python 3.11 and taskwarrior 2.6.2
1 parent 3256c92 commit 599d59a

File tree

4 files changed

+12
-21
lines changed

4 files changed

+12
-21
lines changed

.github/workflows/test.yml

+3-9
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,8 @@ jobs:
99
runs-on: ubuntu-latest
1010
strategy:
1111
matrix:
12-
python-version: [3.5, 3.6, 3.7, 3.8]
13-
taskwarrior-version: [2.5.0, 2.5.1, 2.5.3]
14-
exclude:
15-
# Taskwarriror 3.5.3 only supported on Python 3.7+.
16-
- python-version: 3.5
17-
taskwarrior-version: 2.5.3
18-
- python-version: 3.6
19-
taskwarrior-version: 2.5.3
12+
python-version: ["3.8", "3.9", "3.10", "3.11"]
13+
taskwarrior-version: [2.6.2]
2014
steps:
2115
- uses: actions/checkout@v2
2216
- name: Set up Python ${{matrix.python-version}}
@@ -25,7 +19,7 @@ jobs:
2519
python-version: ${{matrix.python-version}}
2620
- name: Install Taskwarrior ${{matrix.taskwarrior-version}}
2721
run: |
28-
sudo apt-get install -y python-dev cmake build-essential libgnutls28-dev uuid-dev gnutls-bin chrpath libssl-dev libfontconfig1-dev
22+
sudo apt-get install -y python3-dev cmake build-essential libgnutls28-dev uuid-dev gnutls-bin chrpath libssl-dev libfontconfig1-dev
2923
git clone https://github.com/GothenburgBitFactory/taskwarrior.git
3024
cd taskwarrior
3125
git checkout v${{matrix.taskwarrior-version}}

setup.py

+3-4
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,10 @@
4444
classifiers=[
4545
"Development Status :: 5 - Production/Stable",
4646
"Programming Language :: Python :: 3",
47-
"Programming Language :: Python :: 3.4",
48-
"Programming Language :: Python :: 3.5",
49-
"Programming Language :: Python :: 3.6",
50-
"Programming Language :: Python :: 3.7",
5147
"Programming Language :: Python :: 3.8",
48+
"Programming Language :: Python :: 3.9",
49+
"Programming Language :: Python :: 3.10",
50+
"Programming Language :: Python :: 3.11",
5251
"License :: OSI Approved :: GNU General Public License (GPL)",
5352
"Intended Audience :: Developers",
5453
],

test_requirements.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
pytest
2-
tox<3
2+
tox>=4

tox.ini

+5-7
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,18 @@
11
[tox]
2-
envlist = py{35,36,37,38}-tw{250,251} py{38}-tw{253}
2+
env_list = py{38,39,310,311}-tw{262}
33
downloadcache = {toxworkdir}/_download/
44

55
[testenv]
66
basepython =
7-
py35: python3.5
8-
py36: python3.6
9-
py37: python3.7
107
py38: python3.8
8+
py39: python3.9
9+
py310: python3.10
10+
py311: python3.11
1111
deps =
1212
-r{toxinidir}/requirements.txt
1313
-r{toxinidir}/test_requirements.txt
1414
setenv =
15-
tw250: TASKWARRIOR=v2.5.0
16-
tw251: TASKWARRIOR=v2.5.1
17-
tw253: TASKWARRIOR=v2.5.3
15+
tw262: TASKWARRIOR=v2.6.2
1816
sitepackages = False
1917
commands =
2018
{toxinidir}/.tox_build_taskwarrior.sh "{envdir}" "{toxinidir}"

0 commit comments

Comments
 (0)