commit:     557fde0f24ea2dcd58425c405570460cf8585bb4
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sun Jun  1 07:02:20 2025 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sun Jun  1 07:02:20 2025 +0000
URL:        
https://gitweb.gentoo.org/proj/pkgcore/pkgcore.git/commit/?id=557fde0f

update min python version, test on py3.14

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

 .github/workflows/doc.yml     |  4 ++--
 .github/workflows/release.yml |  4 ++--
 .github/workflows/test.yml    | 26 +++++++++++++-------------
 README.rst                    |  4 ++--
 pyproject.toml                |  6 +++---
 tox.ini                       | 16 +---------------
 6 files changed, 23 insertions(+), 37 deletions(-)

diff --git a/.github/workflows/doc.yml b/.github/workflows/doc.yml
index e8675659..2c3cf41c 100644
--- a/.github/workflows/doc.yml
+++ b/.github/workflows/doc.yml
@@ -22,10 +22,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 1ea3ff1f..0578679b 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.11
+    - name: Set up Python 3.13
       uses: actions/setup-python@v5
       with:
-        python-version: "3.11"
+        python-version: "3.13"
         cache: 'pip'
         cache-dependency-path: pyproject.toml
 

diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index e7d38792..037196b9 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -13,20 +13,20 @@ jobs:
     strategy:
       matrix:
         os: [ubuntu-latest]
-        python-version: ['3.10', '3.11', '3.12']
+        python-version: ['3.13', '3.12', '3.13']
         deps: [newest-deps]
         experimental: [false]
         include:
           - os: ubuntu-latest
-            python-version: '3.11'
+            python-version: '3.13'
             deps: minimal-deps
             experimental: false
-          #- os: ubuntu-latest
-          #  python-version: '3.13-dev'
-          #  deps: newest-deps
-          #  experimental: true
+          - os: ubuntu-latest
+            python-version: '3.14-dev'
+            deps: newest-deps
+            experimental: true
           - os: macos-latest
-            python-version: '3.11'
+            python-version: '3.13'
             deps: newest-deps
             experimental: false
       fail-fast: false
@@ -87,10 +87,10 @@ jobs:
         repository: pkgcore/pkgcheck
         path: pkgcheck
 
-    - 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'
         cache: 'pip'
         cache-dependency-path: |
           pkgcore/pyproject.toml
@@ -122,10 +122,10 @@ jobs:
         repository: pkgcore/pkgdev
         path: pkgdev
 
-    - 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'
         cache: 'pip'
         cache-dependency-path: |
           pkgcore/pyproject.toml
@@ -166,10 +166,10 @@ jobs:
         repository: gentoo/gentoo
         path: gentoo
 
-    - 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 pip dependencies
       run: |

diff --git a/README.rst b/README.rst
index e02156aa..098994db 100644
--- a/README.rst
+++ b/README.rst
@@ -34,7 +34,7 @@ Tools
 Requirements
 ============
 
-At least python version 3.10, and snakeoil_ — a utility library split out of
+At least python version 3.11, and snakeoil_ — a utility library split out of
 pkgcore for others to use.
 
 Installing
@@ -73,7 +73,7 @@ environments just execute **tox** in the root directory of a 
repo or unpacked
 tarball. Otherwise, for a specific python version execute something similar to
 the following::
 
-    tox -e py311
+    tox -e py313
 
 Docs
 ====

diff --git a/pyproject.toml b/pyproject.toml
index c1c5602f..5ff41216 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -11,7 +11,7 @@ name = "pkgcore"
 description = "package managing framework"
 readme = "README.rst"
 license = {file = "LICENSE"}
-requires-python = "~=3.10"
+requires-python = "~=3.11"
 # alphabetical order.
 authors = [
        {name = "Michał Górny", email = "[email protected]"},
@@ -25,9 +25,10 @@ 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"]
 
@@ -43,7 +44,6 @@ test = [
 ]
 doc = [
        "sphinx",
-       "tomli; python_version < '3.11'"
 ]
 formatter = [
        "ruff"

diff --git a/tox.ini b/tox.ini
index 4bc6bce3..35a08239 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,22 +1,8 @@
 [tox]
-envlist = py310, py311, py312
+envlist = py311, py312, py313, py314
 [testenv]
 # force latest virtualenv/pip
 download = true
 extras = test
 commands =
        pytest --cov {posargs:-v}
-
-# build docs
-[testenv:docs]
-skip_install = true
-extras = doc
-commands =
-       python setup.py build_docs
-
-# build dist files
-[testenv:dist]
-skip_install = true
-commands =
-       python setup.py sdist
-       python setup.py bdist_wheel

Reply via email to