Skip to content

Commit 4cb05a0

Browse files
committed
update minimal python & deps
Signed-off-by: Arthur Zamarin <[email protected]>
1 parent 14ba154 commit 4cb05a0

File tree

5 files changed

+16
-19
lines changed

5 files changed

+16
-19
lines changed

.github/workflows/doc.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ jobs:
2121
- name: Checkout code
2222
uses: actions/checkout@v4
2323

24-
- name: Set up Python 3.11
24+
- name: Set up Python 3.13
2525
uses: actions/setup-python@v5
2626
with:
27-
python-version: '3.11'
27+
python-version: '3.13'
2828

2929
- name: Install dependencies
3030
run: |

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ jobs:
2020
- name: Checkout code
2121
uses: actions/checkout@v4
2222

23-
- name: Set up Python 3.10
23+
- name: Set up Python 3.13
2424
uses: actions/setup-python@v5
2525
with:
26-
python-version: "3.10"
26+
python-version: "3.13"
2727

2828
- name: Install dependencies
2929
run: |

.github/workflows/test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,14 @@ jobs:
1313
strategy:
1414
matrix:
1515
os: [ubuntu-latest]
16-
python-version: ['3.10', '3.11', '3.12']
16+
python-version: ['3.11', '3.12', '3.13']
1717
experimental: [false]
1818
include:
1919
- os: ubuntu-latest
20-
python-version: '3.13-dev'
20+
python-version: '3.14-dev'
2121
experimental: true
2222
- os: macos-latest
23-
python-version: '3.11'
23+
python-version: '3.13'
2424
experimental: true
2525
fail-fast: false
2626

pyproject.toml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[build-system]
22
requires = [
33
"flit_core >=3.8,<4",
4-
"snakeoil ~=0.10.8",
4+
"snakeoil ~=0.10.11",
55
]
66
build-backend = "py_build"
77
backend-path = ["."]
@@ -11,7 +11,7 @@ name = "pkgdev"
1111
description = "collection of tools for Gentoo development"
1212
readme = "README.rst"
1313
license = {file = "LICENSE"}
14-
requires-python = "~=3.10"
14+
requires-python = "~=3.11"
1515
authors = [
1616
{name = "Tim Harder", email = "[email protected]"},
1717
{name = "Arthur Zamarin", email = "[email protected]"},
@@ -21,15 +21,17 @@ maintainers = [
2121
]
2222
classifiers = [
2323
"License :: OSI Approved :: BSD License",
24-
"Programming Language :: Python :: 3.10",
2524
"Programming Language :: Python :: 3.11",
25+
"Programming Language :: Python :: 3.12",
26+
"Programming Language :: Python :: 3.13",
27+
"Programming Language :: Python :: 3.14",
2628
]
2729
dynamic = ["version"]
2830

2931
dependencies = [
30-
"snakeoil~=0.10.8",
31-
"pkgcore~=0.12.23",
32-
"pkgcheck~=0.10.30",
32+
"snakeoil~=0.10.1",
33+
"pkgcore~=0.12.30",
34+
"pkgcheck~=0.10.36",
3335
]
3436

3537
[project.optional-dependencies]
@@ -39,7 +41,6 @@ test = [
3941
]
4042
doc = [
4143
"sphinx",
42-
"tomli; python_version < '3.11'"
4344
]
4445
tatt = [
4546
"nattka",

src/pkgdev/scripts/pkgdev_bugs.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
import subprocess
88
import sys
99
import tempfile
10+
import tomllib
1011
import urllib.request as urllib
1112
from collections import defaultdict
1213
from datetime import datetime
@@ -38,11 +39,6 @@
3839
from ..cli import ArgumentParser
3940
from .argparsers import _determine_cwd_repo, cwd_repo_argparser, BugzillaApiKey
4041

41-
if sys.version_info >= (3, 11):
42-
import tomllib
43-
else:
44-
import tomli as tomllib
45-
4642
bugs = ArgumentParser(
4743
prog="pkgdev bugs",
4844
description=__doc__,

0 commit comments

Comments
 (0)