Skip to content

Commit

Permalink
Drop support for EOL Python 3.8
Browse files Browse the repository at this point in the history
  • Loading branch information
hugovk committed Nov 1, 2024
1 parent 052a36e commit 6398cdf
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@ env:

jobs:
test:
name: test w/ Python ${{ matrix.python-version }}
name: Python ${{ matrix.python-version }}

runs-on: ubuntu-latest

strategy:
fail-fast: false
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]

steps:
- uses: actions/checkout@v4
Expand Down
6 changes: 3 additions & 3 deletions bedevere/gh_issue.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""Check if a GitHub issue number is specified in the pull request's title."""
import re
from typing import Dict, Literal
from typing import Literal

import gidgethub
from aiohttp import ClientSession
Expand All @@ -20,11 +20,11 @@
SKIP_ISSUE_STATUS = util.create_status(
STATUS_CONTEXT, util.StatusState.SUCCESS, description="Issue report skipped"
)
ISSUE_URL: Dict[IssueKind, str] = {
ISSUE_URL: dict[IssueKind, str] = {
"gh": "https://github.com/python/cpython/issues/{issue_number}",
"bpo": "https://bugs.python.org/issue?@action=redirect&bpo={issue_number}",
}
ISSUE_CHECK_URL: Dict[IssueKind, str] = {
ISSUE_CHECK_URL: dict[IssueKind, str] = {
"gh": "https://api.github.com/repos/python/cpython/issues/{issue_number}",
"bpo": "https://bugs.python.org/issue{issue_number}",
}
Expand Down
4 changes: 2 additions & 2 deletions bedevere/util.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import enum
import re
import sys
from typing import Any, Dict
from typing import Any

import gidgethub
from gidgethub.abc import GitHubAPI
Expand Down Expand Up @@ -163,7 +163,7 @@ def build_issue_body(pr_number: int, body: str) -> str:
async def patch_body(
gh: GitHubAPI,
content_type: str,
pr_or_issue: Dict[str, Any],
pr_or_issue: dict[str, Any],
pr_or_issue_number: int,
) -> Any:
"""Updates the description of a PR/Issue with the gh issue/pr number if it exists.
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = py{312, 311, 310, 39, 38}
envlist = py{313, 312, 311, 310, 39}
toxworkdir={env:TOX_WORK_DIR:.tox}

[testenv]
Expand Down

0 comments on commit 6398cdf

Please sign in to comment.