Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Python 3.11 and taskwarrior 2.6.2 #167

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 3 additions & 9 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,8 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.5, 3.6, 3.7, 3.8]
taskwarrior-version: [2.5.0, 2.5.1, 2.5.3]
exclude:
# Taskwarriror 3.5.3 only supported on Python 3.7+.
- python-version: 3.5
taskwarrior-version: 2.5.3
- python-version: 3.6
taskwarrior-version: 2.5.3
python-version: ["3.8", "3.9", "3.10", "3.11"]
taskwarrior-version: [2.6.2]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{matrix.python-version}}
Expand All @@ -25,7 +19,7 @@ jobs:
python-version: ${{matrix.python-version}}
- name: Install Taskwarrior ${{matrix.taskwarrior-version}}
run: |
sudo apt-get install -y python-dev cmake build-essential libgnutls28-dev uuid-dev gnutls-bin chrpath libssl-dev libfontconfig1-dev
sudo apt-get install -y python3-dev cmake build-essential libgnutls28-dev uuid-dev gnutls-bin chrpath libssl-dev libfontconfig1-dev
git clone https://github.com/GothenburgBitFactory/taskwarrior.git
cd taskwarrior
git checkout v${{matrix.taskwarrior-version}}
Expand Down
7 changes: 3 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,10 @@
classifiers=[
"Development Status :: 5 - Production/Stable",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"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",
"Programming Language :: Python :: 3.11",
"License :: OSI Approved :: GNU General Public License (GPL)",
"Intended Audience :: Developers",
],
Expand Down
2 changes: 1 addition & 1 deletion test_requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
pytest
tox<3
tox>=4
12 changes: 5 additions & 7 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,20 +1,18 @@
[tox]
envlist = py{35,36,37,38}-tw{250,251} py{38}-tw{253}
env_list = py{38,39,310,311}-tw{262}
downloadcache = {toxworkdir}/_download/

[testenv]
basepython =
py35: python3.5
py36: python3.6
py37: python3.7
py38: python3.8
py39: python3.9
py310: python3.10
py311: python3.11
deps =
-r{toxinidir}/requirements.txt
-r{toxinidir}/test_requirements.txt
setenv =
tw250: TASKWARRIOR=v2.5.0
tw251: TASKWARRIOR=v2.5.1
tw253: TASKWARRIOR=v2.5.3
tw262: TASKWARRIOR=v2.6.2
sitepackages = False
commands =
{toxinidir}/.tox_build_taskwarrior.sh "{envdir}" "{toxinidir}"
Expand Down