Skip to content
Merged
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
4 changes: 2 additions & 2 deletions .github/workflows/bugwarrior.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
timeout-minutes: 5
strategy:
matrix:
python-version: [3.9, "3.10", 3.11]
python-version: ["3.10", 3.11]
jira-version: [1.0.10, 2.0.0]
steps:
- name: Checkout code
Expand Down Expand Up @@ -46,7 +46,7 @@ jobs:
# Fragile way to only run codecov once.
# See https://github.com/codecov/codecov-action/issues/40.
if: |
matrix.python-version == 3.9 &&
matrix.python-version == 3.10 &&
matrix.jira-version == '2.0.0'
bugwarrior-multiarch-test:
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion bugwarrior/services/jira.py
Original file line number Diff line number Diff line change
Expand Up @@ -434,7 +434,7 @@ def annotations(self, issue, issue_obj):
)

def issues(self):
cases = self.jira.search_issues(self.query, maxResults=False)
cases = self.jira.extended_search_issues(self.query, maxResults=False)

for case in cases:
issue = self.get_issue_for_record(
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "bugwarrior"
version = "2.0.0-alpha"
description = "a command line utility for updating your local taskwarrior database from your forge issue trackers"
readme = "bugwarrior/README.rst"
requires-python = ">3.9,<4"
requires-python = ">=3.10,<4"
license = "GPL-3.0-or-later"
license-files = ["LICENSE.txt"]
keywords=["task", "taskwarrior", "todo", "github"]
Expand Down Expand Up @@ -33,7 +33,7 @@ bts = ["python-debianbts>=2.6.1"]
bugzilla = ["python-bugzilla>=2.0.0"]
gmail = ["google-api-python-client", "google-auth-oauthlib"]
ini2toml = ["ini2toml[full]"]
jira = ["jira>=0.22"]
jira = ["jira>=3.10.0"]
kanboard = ["kanboard"]
keyring = ["keyring"]
phabricator = ["phabricator"]
Expand Down
2 changes: 1 addition & 1 deletion tests/test_jira.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class FakeJiraClient:
def __init__(self, arbitrary_record):
self.arbitrary_record = arbitrary_record

def search_issues(self, *args, **kwargs):
def extended_search_issues(self, *args, **kwargs):
Case = namedtuple('Case', ['raw', 'key'])
return [Case(self.arbitrary_record, self.arbitrary_record['key'])]

Expand Down
Loading