public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/pkgcore/pkgcore:master commit in: /, .github/workflows/
@ 2022-11-05 19:44 Arthur Zamarin
  0 siblings, 0 replies; 3+ messages in thread
From: Arthur Zamarin @ 2022-11-05 19:44 UTC (permalink / raw
  To: gentoo-commits

commit:     4f4006871258edd5d658bebf0a3ecaca9e7365f0
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sat Nov  5 19:23:22 2022 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sat Nov  5 19:23:38 2022 +0000
URL:        https://gitweb.gentoo.org/proj/pkgcore/pkgcore.git/commit/?id=4f400687

drop py3.8 and make py3.11 official

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

 .github/workflows/test.yml | 10 +++++-----
 setup.py                   |  2 +-
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index 4a01cf127..c928b30f2 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -13,7 +13,7 @@ jobs:
     strategy:
       matrix:
         os: [ubuntu-latest]
-        python-version: ['3.8', '3.9', '3.10']
+        python-version: ['3.9', '3.10', '3.11']
         deps: [newest-deps]
         experimental: [false]
         include:
@@ -21,10 +21,10 @@ jobs:
             python-version: '3.10'
             deps: minimal-deps
             experimental: false
-          - os: ubuntu-latest
-            python-version: '3.11.0-beta - 3.11'
-            deps: newest-deps
-            experimental: true
+          # - os: ubuntu-latest
+          #   python-version: '3.11.0-beta - 3.11'
+          #   deps: newest-deps
+          #   experimental: true
           - os: macos-latest
             python-version: '3.10'
             deps: newest-deps

diff --git a/setup.py b/setup.py
index 58d65dbe1..739160992 100755
--- a/setup.py
+++ b/setup.py
@@ -246,8 +246,8 @@ setup(**dict(
     ),
     classifiers=[
         'License :: OSI Approved :: BSD License',
-        'Programming Language :: Python :: 3.8',
         'Programming Language :: Python :: 3.9',
         'Programming Language :: Python :: 3.10',
+        'Programming Language :: Python :: 3.11',
     ],
 ))


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [gentoo-commits] proj/pkgcore/pkgcore:master commit in: /, .github/workflows/
@ 2023-12-03  5:26 Arthur Zamarin
  0 siblings, 0 replies; 3+ messages in thread
From: Arthur Zamarin @ 2023-12-03  5:26 UTC (permalink / raw
  To: gentoo-commits

commit:     026c17cbbb120eb3329ff03626bc42911b1a1eeb
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sun Dec  3 05:26:30 2023 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sun Dec  3 05:26:30 2023 +0000
URL:        https://gitweb.gentoo.org/proj/pkgcore/pkgcore.git/commit/?id=026c17cb

bump minimal required python to py3.10

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

 .github/workflows/doc.yml     | 4 ++--
 .github/workflows/release.yml | 4 ++--
 .github/workflows/test.yml    | 6 +++---
 README.rst                    | 2 +-
 pyproject.toml                | 4 ++--
 5 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/.github/workflows/doc.yml b/.github/workflows/doc.yml
index a18aecb5e..715042baa 100644
--- a/.github/workflows/doc.yml
+++ b/.github/workflows/doc.yml
@@ -22,10 +22,10 @@ jobs:
     - name: Checkout code
       uses: actions/checkout@v3
 
-    - name: Set up Python 3.10
+    - name: Set up Python 3.11
       uses: actions/setup-python@v4
       with:
-        python-version: '3.10'
+        python-version: '3.11'
 
     - name: Install dependencies
       run: |

diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 833e15760..43e25fb62 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -20,10 +20,10 @@ jobs:
     - name: Checkout code
       uses: actions/checkout@v3
 
-    - name: Set up Python 3.10
+    - name: Set up Python 3.11
       uses: actions/setup-python@v4
       with:
-        python-version: "3.10"
+        python-version: "3.11"
         cache: 'pip'
         cache-dependency-path: pyproject.toml
 

diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index 0888ea521..e2d261dbd 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -13,12 +13,12 @@ jobs:
     strategy:
       matrix:
         os: [ubuntu-latest]
-        python-version: ['3.9', '3.10', '3.11']
+        python-version: ['3.10', '3.11']
         deps: [newest-deps]
         experimental: [false]
         include:
           - os: ubuntu-latest
-            python-version: '3.10'
+            python-version: '3.11'
             deps: minimal-deps
             experimental: false
           - os: ubuntu-latest
@@ -26,7 +26,7 @@ jobs:
             deps: newest-deps
             experimental: true
           - os: macos-latest
-            python-version: '3.10'
+            python-version: '3.11'
             deps: newest-deps
             experimental: false
       fail-fast: false

diff --git a/README.rst b/README.rst
index b95c1c3ef..603f82f8e 100644
--- a/README.rst
+++ b/README.rst
@@ -34,7 +34,7 @@ Tools
 Requirements
 ============
 
-At least python version 3.8, and snakeoil_ — a utility library split out of
+At least python version 3.10, and snakeoil_ — a utility library split out of
 pkgcore for others to use.
 
 Installing

diff --git a/pyproject.toml b/pyproject.toml
index 5f246b0ea..51e6a21ed 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.9"
+requires-python = "~=3.10"
 authors = [
 	{name = "Tim Harder", email = "radhermit@gmail.com"},
 	{name = "Arthur Zamarin", email = "arthurzam@gentoo.org"},
@@ -22,9 +22,9 @@ maintainers = [
 ]
 classifiers = [
 	"License :: OSI Approved :: BSD License",
-	"Programming Language :: Python :: 3.9",
 	"Programming Language :: Python :: 3.10",
 	"Programming Language :: Python :: 3.11",
+	"Programming Language :: Python :: 3.12",
 ]
 dynamic = ["version"]
 


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [gentoo-commits] proj/pkgcore/pkgcore:master commit in: /, .github/workflows/
@ 2024-03-09 18:07 Arthur Zamarin
  0 siblings, 0 replies; 3+ messages in thread
From: Arthur Zamarin @ 2024-03-09 18:07 UTC (permalink / raw
  To: gentoo-commits

commit:     79540b64fa272904ebe23bb44d9f30abe7b1378f
Author:     Brian Harring <ferringb <AT> gmail <DOT> com>
AuthorDate: Fri Jan 26 22:43:55 2024 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sat Mar  9 18:07:10 2024 +0000
URL:        https://gitweb.gentoo.org/proj/pkgcore/pkgcore.git/commit/?id=79540b64

GH: use whatever black version is defined in pyproject.toml

This avoids black releasing a new version and all of our
tests failure due to the formatter changing.

The downside here is we probably want a notification that
black can be upgraded.

Signed-off-by: Brian Harring <ferringb <AT> gmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 .github/workflows/test.yml | 6 +++++-
 pyproject.toml             | 3 +++
 2 files changed, 8 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index ef0d594cc..fa40f4530 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -148,7 +148,11 @@ jobs:
     steps:
     - name: Checkout code
       uses: actions/checkout@v4
-    - uses: psf/black@stable
+    - name: Install black version
+      run: |
+        python -m pip install --upgrade pip
+        pip install -e .[formatter]
+        black --check --diff .
 
   gentoo-regen:
     runs-on: ubuntu-latest

diff --git a/pyproject.toml b/pyproject.toml
index b129bd9a9..6ad4fb98e 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -45,6 +45,9 @@ doc = [
 	"sphinx",
 	"tomli; python_version < '3.11'"
 ]
+formatter = [
+	"black ~= 24.1"
+]
 
 [project.urls]
 Homepage = "https://github.com/pkgcore/pkgcore"


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-03-09 18:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-09 18:07 [gentoo-commits] proj/pkgcore/pkgcore:master commit in: /, .github/workflows/ Arthur Zamarin
  -- strict thread matches above, loose matches on Subject: below --
2023-12-03  5:26 Arthur Zamarin
2022-11-05 19:44 Arthur Zamarin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox