commit:     4cb05a0729070e5f65fad3c7c1f59b7a309dcb87
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sat Jun 14 09:08:43 2025 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sat Jun 14 09:08:43 2025 +0000
URL:        
https://gitweb.gentoo.org/proj/pkgcore/pkgdev.git/commit/?id=4cb05a07

update minimal python & deps

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 .github/workflows/doc.yml         |  4 ++--
 .github/workflows/release.yml     |  4 ++--
 .github/workflows/test.yml        |  6 +++---
 pyproject.toml                    | 15 ++++++++-------
 src/pkgdev/scripts/pkgdev_bugs.py |  6 +-----
 5 files changed, 16 insertions(+), 19 deletions(-)

diff --git a/.github/workflows/doc.yml b/.github/workflows/doc.yml
index 2b22257..1252d17 100644
--- a/.github/workflows/doc.yml
+++ b/.github/workflows/doc.yml
@@ -21,10 +21,10 @@ jobs:
     - name: Checkout code
       uses: actions/checkout@v4
 
-    - name: Set up Python 3.11
+    - name: Set up Python 3.13
       uses: actions/setup-python@v5
       with:
-        python-version: '3.11'
+        python-version: '3.13'
 
     - name: Install dependencies
       run: |

diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 17f5720..ffc56e7 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -20,10 +20,10 @@ jobs:
     - name: Checkout code
       uses: actions/checkout@v4
 
-    - name: Set up Python 3.10
+    - name: Set up Python 3.13
       uses: actions/setup-python@v5
       with:
-        python-version: "3.10"
+        python-version: "3.13"
 
     - name: Install dependencies
       run: |

diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index 04f5a75..c4487ae 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -13,14 +13,14 @@ jobs:
     strategy:
       matrix:
         os: [ubuntu-latest]
-        python-version: ['3.10', '3.11', '3.12']
+        python-version: ['3.11', '3.12', '3.13']
         experimental: [false]
         include:
           - os: ubuntu-latest
-            python-version: '3.13-dev'
+            python-version: '3.14-dev'
             experimental: true
           - os: macos-latest
-            python-version: '3.11'
+            python-version: '3.13'
             experimental: true
       fail-fast: false
 

diff --git a/pyproject.toml b/pyproject.toml
index 8c61da1..ecbdb7f 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -1,7 +1,7 @@
 [build-system]
 requires = [
        "flit_core >=3.8,<4",
-       "snakeoil ~=0.10.8",
+       "snakeoil ~=0.10.11",
 ]
 build-backend = "py_build"
 backend-path = ["."]
@@ -11,7 +11,7 @@ name = "pkgdev"
 description = "collection of tools for Gentoo development"
 readme = "README.rst"
 license = {file = "LICENSE"}
-requires-python = "~=3.10"
+requires-python = "~=3.11"
 authors = [
        {name = "Tim Harder", email = "[email protected]"},
        {name = "Arthur Zamarin", email = "[email protected]"},
@@ -21,15 +21,17 @@ maintainers = [
 ]
 classifiers = [
        "License :: OSI Approved :: BSD License",
-       "Programming Language :: Python :: 3.10",
        "Programming Language :: Python :: 3.11",
+       "Programming Language :: Python :: 3.12",
+       "Programming Language :: Python :: 3.13",
+       "Programming Language :: Python :: 3.14",
 ]
 dynamic = ["version"]
 
 dependencies = [
-       "snakeoil~=0.10.8",
-       "pkgcore~=0.12.23",
-       "pkgcheck~=0.10.30",
+       "snakeoil~=0.10.1",
+       "pkgcore~=0.12.30",
+       "pkgcheck~=0.10.36",
 ]
 
 [project.optional-dependencies]
@@ -39,7 +41,6 @@ test = [
 ]
 doc = [
        "sphinx",
-       "tomli; python_version < '3.11'"
 ]
 tatt = [
        "nattka",

diff --git a/src/pkgdev/scripts/pkgdev_bugs.py 
b/src/pkgdev/scripts/pkgdev_bugs.py
index 6d9a2a2..271c793 100644
--- a/src/pkgdev/scripts/pkgdev_bugs.py
+++ b/src/pkgdev/scripts/pkgdev_bugs.py
@@ -7,6 +7,7 @@ import shlex
 import subprocess
 import sys
 import tempfile
+import tomllib
 import urllib.request as urllib
 from collections import defaultdict
 from datetime import datetime
@@ -38,11 +39,6 @@ from snakeoil.osutils import pjoin
 from ..cli import ArgumentParser
 from .argparsers import _determine_cwd_repo, cwd_repo_argparser, BugzillaApiKey
 
-if sys.version_info >= (3, 11):
-    import tomllib
-else:
-    import tomli as tomllib
-
 bugs = ArgumentParser(
     prog="pkgdev bugs",
     description=__doc__,

Reply via email to