public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/portage:master commit in: /, .github/workflows/
@ 2021-08-07 17:16 Michał Górny
  0 siblings, 0 replies; 5+ messages in thread
From: Michał Górny @ 2021-08-07 17:16 UTC (permalink / raw
  To: gentoo-commits

commit:     1a0df634bf9ae6db13e1d2fd1665c6219445ee84
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Aug  7 16:45:05 2021 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Aug  7 16:50:42 2021 +0000
URL:        https://gitweb.gentoo.org/proj/portage.git/commit/?id=1a0df634

ci: Test using the newest version of PyPy3.7

Do not bind to old version of PyPy3.7, also fix actually running tests
via CI.

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 .github/workflows/ci.yml | 2 +-
 tox.ini                  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index ec2091810..a8466e0f1 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -18,7 +18,7 @@ jobs:
         - '3.8'
         - '3.9'
         - '3.10.0-alpha - 3.10.0'
-        - 'pypy-3.7-v7.3.3'
+        - 'pypy-3.7'
 
     steps:
     - uses: actions/checkout@v2

diff --git a/tox.ini b/tox.ini
index b0cfa7da3..ce43cc7fe 100644
--- a/tox.ini
+++ b/tox.ini
@@ -9,7 +9,7 @@ python =
     3.8: py38
     3.9: py39
     3.10: py310
-    pypy-3.7-v7.3.3: pypy3
+    pypy-3: pypy3
 
 [testenv]
 deps =


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

* [gentoo-commits] proj/portage:master commit in: /, .github/workflows/
@ 2022-05-19  4:09 Sam James
  0 siblings, 0 replies; 5+ messages in thread
From: Sam James @ 2022-05-19  4:09 UTC (permalink / raw
  To: gentoo-commits

commit:     53a5ed7e6886eea8c2b08211cc8bad66f1146982
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu May 19 03:55:03 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu May 19 04:09:01 2022 +0000
URL:        https://gitweb.gentoo.org/proj/portage.git/commit/?id=53a5ed7e

tox.ini, .github: test on available Python 3.11 versions

Signed-off-by: Sam James <sam <AT> gentoo.org>

 .github/workflows/ci.yml | 1 +
 tox.ini                  | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 03cf1fc7f..ad1633a3d 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -18,6 +18,7 @@ jobs:
         - '3.8'
         - '3.9'
         - '3.10'
+        - '3.11.0-alpha - 3.11.0'
         - 'pypy-3.7'
         - 'pypy-3.8'
         - 'pypy-3.9'

diff --git a/tox.ini b/tox.ini
index 84c24396e..a091afae9 100644
--- a/tox.ini
+++ b/tox.ini
@@ -16,7 +16,7 @@ deps =
 	pylint: pylint
 	pygost
 	pyyaml
-	py36,py37,py38,py39,py310,pypy3: lxml!=4.2.0
+	py36,py37,py38,py39,py310,py311,pypy3: lxml!=4.2.0
 setenv =
 	PYTHONPATH={toxinidir}/lib
 commands =


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

* [gentoo-commits] proj/portage:master commit in: /, .github/workflows/
@ 2023-07-26  7:58 Sam James
  0 siblings, 0 replies; 5+ messages in thread
From: Sam James @ 2023-07-26  7:58 UTC (permalink / raw
  To: gentoo-commits

commit:     edb9a6244be524ace95a48282e114d073ff37ad8
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Jul 26 07:51:05 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Jul 26 07:58:30 2023 +0000
URL:        https://gitweb.gentoo.org/proj/portage.git/commit/?id=edb9a624

Increase minimum Python version from Python 3.6/3.7 -> Python 3.9

We don't seem to have been consistent as to whether it was 3.6 or 3.7, but
we weren't testing it consistently anyway.

It feels too soon to go up to 3.10 unfortunately, but 3.6/3.7 are EOL and
3.8 is EOL next year, so let's do 3.9.

Signed-off-by: Sam James <sam <AT> gentoo.org>

 .github/workflows/ci.yml   | 4 ----
 .github/workflows/lint.yml | 2 --
 DEVELOPING                 | 2 +-
 NEWS                       | 3 +++
 README.md                  | 2 +-
 setup.py                   | 2 +-
 tox.ini                    | 4 +---
 7 files changed, 7 insertions(+), 12 deletions(-)

diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index c17e74e91..6bfe4847a 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -12,14 +12,10 @@ jobs:
     strategy:
       matrix:
         python-version:
-          - '3.7'
-          - '3.8'
           - '3.9'
           - '3.10'
           - '3.11'
           - '3.12-dev'
-          - 'pypy-3.7'
-          - 'pypy-3.8'
           - 'pypy-3.9'
       fail-fast: false
     steps:

diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml
index 8263567a1..469cffe37 100644
--- a/.github/workflows/lint.yml
+++ b/.github/workflows/lint.yml
@@ -22,8 +22,6 @@ jobs:
     strategy:
       matrix:
         python-version:
-          - '3.7'
-          - '3.8'
           - '3.9'
           - '3.10'
           - '3.11'

diff --git a/DEVELOPING b/DEVELOPING
index 2f05d49b5..0d414c4da 100644
--- a/DEVELOPING
+++ b/DEVELOPING
@@ -9,7 +9,7 @@ bad habits that exist in the current codebase.
 Python Version
 --------------
 
-Python 3.7 is the minimum supported version.
+Python 3.9 is the minimum supported version.
 
 Dependencies
 ------------

diff --git a/NEWS b/NEWS
index fe59a1ddf..fcbbdb2a5 100644
--- a/NEWS
+++ b/NEWS
@@ -1,6 +1,9 @@
 portage-3.0.50 (UNRELEASED)
 --------------
 
+Breaking changes:
+* The minimum supported Python version is now >= Python 3.9.
+
 Bug fixes:
 * install-qa-check.d/05prefix: Fix prefixifying shebang for >= EAPI 7 ebuilds
   (bug #909147).

diff --git a/README.md b/README.md
index 08b06c10f..481d12bac 100644
--- a/README.md
+++ b/README.md
@@ -52,7 +52,7 @@ git config blame.ignoreRevsFile .git-blame-ignore-revs
 Dependencies
 ============
 
-Python and Bash should be the only hard dependencies. Python 3.7 is the
+Python and Bash should be the only hard dependencies. Python 3.9 is the
 minimum supported version.
 
 Native Extensions

diff --git a/setup.py b/setup.py
index 3c343aabd..4525264c7 100755
--- a/setup.py
+++ b/setup.py
@@ -921,5 +921,5 @@ setup(
         "Programming Language :: Python :: 3",
         "Topic :: System :: Installation/Setup",
     ],
-    python_requires=">=3.6",
+    python_requires=">=3.9",
 )

diff --git a/tox.ini b/tox.ini
index cec7dd833..4ea388e35 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,11 +1,9 @@
 [tox]
-envlist = py{37,38,39,310,311,312}-{pylint,test},pypy3-test
+envlist = py{39,310,311,312}-{pylint,test},pypy3-test
 skipsdist = True
 
 [gh-actions]
 python =
-	3.7: py37
-	3.8: py38
 	3.9: py39
 	3.10: py310
 	3.11: py311


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

* [gentoo-commits] proj/portage:master commit in: /, .github/workflows/
@ 2024-01-12 16:11 Zac Medico
  0 siblings, 0 replies; 5+ messages in thread
From: Zac Medico @ 2024-01-12 16:11 UTC (permalink / raw
  To: gentoo-commits

commit:     0c8634082b20938b4e2eef52b171b8238526ae98
Author:     Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Thu Jan 11 20:25:25 2024 +0000
Commit:     Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Thu Jan 11 20:31:36 2024 +0000
URL:        https://gitweb.gentoo.org/proj/portage.git/commit/?id=0c863408

Test python 3.13

Signed-off-by: Zac Medico <zmedico <AT> gentoo.org>

 .github/workflows/ci.yml | 1 +
 tox.ini                  | 3 ++-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 698b8dcacf..3a897dbeec 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -16,6 +16,7 @@ jobs:
           - '3.10'
           - '3.11'
           - '3.12-dev'
+          - '3.13-dev'
           - 'pypy-3.10'
       fail-fast: false
     steps:

diff --git a/tox.ini b/tox.ini
index dcae3e87b5..23c533c345 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,5 +1,5 @@
 [tox]
-envlist = py{39,310,311,312}-{pylint,test},pypy3-test
+envlist = py{39,310,311,312,313}-{pylint,test},pypy3-test
 skipsdist = True
 
 [gh-actions]
@@ -8,6 +8,7 @@ python =
 	3.10: py310
 	3.11: py311
 	3.12: py312
+	3.13: py313
 	pypy-3: pypy3
 
 [gh-actions:env]


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

* [gentoo-commits] proj/portage:master commit in: /, .github/workflows/
@ 2024-01-28 23:08 Zac Medico
  0 siblings, 0 replies; 5+ messages in thread
From: Zac Medico @ 2024-01-28 23:08 UTC (permalink / raw
  To: gentoo-commits

commit:     e9e2809eeb9bd063b0f36f05b1773435ed7ef7c8
Author:     Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 28 22:58:36 2024 +0000
Commit:     Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Sun Jan 28 23:01:56 2024 +0000
URL:        https://gitweb.gentoo.org/proj/portage.git/commit/?id=e9e2809e

actions: Use psf/black <AT> 23.12.1 and sync pre-commit version

The versions must be consistent, since psf/black@stable now
refers to 24.1.1 which triggers some reformatting relative
to black 23.x.

The consistency should correct lint failures like this:

https://github.com/gentoo/portage/actions/runs/7667403073/job/20950314014?pr=1239

Signed-off-by: Zac Medico <zmedico <AT> gentoo.org>

 .github/workflows/lint.yml | 2 +-
 .pre-commit-config.yaml    | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml
index 69b9578d4b..f75eaa0e7d 100644
--- a/.github/workflows/lint.yml
+++ b/.github/workflows/lint.yml
@@ -13,7 +13,7 @@ jobs:
           echo "::set-output name=missed::$(
           find bin -type f -not -name '*.py' -not -name '*.sh' | \
           xargs grep -l '#!/usr/bin/env python' | tr $'\n' ' ')"
-      - uses: psf/black@stable
+      - uses: psf/black@23.12.1
         with:
             src: . ${{ steps.stragglers.outputs.missed }}
 

diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 53856cb236..72b0df3edd 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -1,7 +1,7 @@
 ---
 repos:
   - repo: https://github.com/psf/black
-    rev: 23.9.1
+    rev: 23.12.1
     hooks:
       - id: black
   - repo: https://github.com/PyCQA/pylint


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

end of thread, other threads:[~2024-01-28 23:08 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-26  7:58 [gentoo-commits] proj/portage:master commit in: /, .github/workflows/ Sam James
  -- strict thread matches above, loose matches on Subject: below --
2024-01-28 23:08 Zac Medico
2024-01-12 16:11 Zac Medico
2022-05-19  4:09 Sam James
2021-08-07 17:16 Michał Górny

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