You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildstream.apache.org by ju...@apache.org on 2024/12/20 13:11:30 UTC

(buildstream-plugins) branch juerg/python-3.13 created (now 2271385)

This is an automated email from the ASF dual-hosted git repository.

juergbi pushed a change to branch juerg/python-3.13
in repository https://gitbox.apache.org/repos/asf/buildstream-plugins.git


      at 2271385  ci: Run tests also on Fedora 41

This branch includes the following new commits:

     new 2c59b70  .github/run-ci.sh: Update last reference of Ubuntu 20.04 to 22.04
     new 2d92cc3  Drop support for Python 3.8
     new 0d9ae1c  tox.ini: Update mypy to match buildstream
     new e4e3943  Add support for Python 3.13
     new 2271385  ci: Run tests also on Fedora 41

The 5 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



(buildstream-plugins) 03/05: tox.ini: Update mypy to match buildstream

Posted by ju...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

juergbi pushed a commit to branch juerg/python-3.13
in repository https://gitbox.apache.org/repos/asf/buildstream-plugins.git

commit 0d9ae1c398d646e0955d0e9958c787970b079383
Author: Jürg Billeter <j...@bitron.ch>
AuthorDate: Fri Dec 20 14:04:50 2024 +0100

    tox.ini: Update mypy to match buildstream
---
 tox.ini | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tox.ini b/tox.ini
index 22c69e0..0603b85 100644
--- a/tox.ini
+++ b/tox.ini
@@ -106,7 +106,7 @@ skip_install = True
 commands =
     mypy {posargs}
 deps =
-    mypy==1.11.0
+    mypy==1.13.0
     types-protobuf
     types-python-dateutil
     types-setuptools


(buildstream-plugins) 01/05: .github/run-ci.sh: Update last reference of Ubuntu 20.04 to 22.04

Posted by ju...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

juergbi pushed a commit to branch juerg/python-3.13
in repository https://gitbox.apache.org/repos/asf/buildstream-plugins.git

commit 2c59b70d799f9a848599790eb1e3bce71c1922ca
Author: Jürg Billeter <j...@bitron.ch>
AuthorDate: Fri Dec 20 13:59:16 2024 +0100

    .github/run-ci.sh: Update last reference of Ubuntu 20.04 to 22.04
---
 .github/run-ci.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/run-ci.sh b/.github/run-ci.sh
index 3b3bb36..ce31ab5 100755
--- a/.github/run-ci.sh
+++ b/.github/run-ci.sh
@@ -67,7 +67,7 @@ function runTest() {
 
 
 if [ -z "${test_names}" ]; then
-    for test_name in "mypy debian-11 fedora-40 fedora-missing-deps ubuntu-20.04"; do
+    for test_name in "mypy debian-11 fedora-40 fedora-missing-deps ubuntu-22.04"; do
 	if ! runTest "${test_name}"; then
 	    echo "Tests failed"
 	    exit 1


(buildstream-plugins) 04/05: Add support for Python 3.13

Posted by ju...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

juergbi pushed a commit to branch juerg/python-3.13
in repository https://gitbox.apache.org/repos/asf/buildstream-plugins.git

commit e4e3943acd6d4f29a8c6141e7911f867a70ef415
Author: Jürg Billeter <j...@bitron.ch>
AuthorDate: Fri Dec 20 14:07:00 2024 +0100

    Add support for Python 3.13
---
 .github/common.env |  4 ++--
 setup.py           |  1 +
 tox.ini            | 10 +++++-----
 3 files changed, 8 insertions(+), 7 deletions(-)

diff --git a/.github/common.env b/.github/common.env
index e9d9f0a..3c65591 100644
--- a/.github/common.env
+++ b/.github/common.env
@@ -1,5 +1,5 @@
 # Shared common variables
 
 CI_IMAGE_VERSION=master-1571408207
-CI_TOXENV_ALL=py39,py310,py311,py312
-CI_TOXENV_MASTER=py39-bst-master,py310-bst-master,py311-bst-master,py312-bst-master
+CI_TOXENV_ALL=py39,py310,py311,py312,py313
+CI_TOXENV_MASTER=py39-bst-master,py310-bst-master,py311-bst-master,py312-bst-master,py313-bst-master
diff --git a/setup.py b/setup.py
index 61a9ca9..55bc4d7 100755
--- a/setup.py
+++ b/setup.py
@@ -57,6 +57,7 @@ setup(
         "Programming Language :: Python :: 3.10",
         "Programming Language :: Python :: 3.11",
         "Programming Language :: Python :: 3.12",
+        "Programming Language :: Python :: 3.13",
         "Topic :: Software Development :: Build Tools",
     ],
     description="A collection of plugins for BuildStream.",
diff --git a/tox.ini b/tox.ini
index 0603b85..a248d6e 100644
--- a/tox.ini
+++ b/tox.ini
@@ -16,7 +16,7 @@
 # Tox global configuration
 #
 [tox]
-envlist = py{39,310,311,312}-{bst-fixed,bst-master}
+envlist = py{39,310,311,312,313}-{bst-fixed,bst-master}
 skip_missing_interpreters = true
 
 #
@@ -55,14 +55,14 @@ passenv =
 # These keys are not inherited by any other sections
 #
 setenv =
-    py{39,310,311,312}: XDG_CACHE_HOME = {envtmpdir}/cache
-    py{39,310,311,312}: XDG_CONFIG_HOME = {envtmpdir}/config
-    py{39,310,311,312}: XDG_DATA_HOME = {envtmpdir}/share
+    py{39,310,311,312,313}: XDG_CACHE_HOME = {envtmpdir}/cache
+    py{39,310,311,312,313}: XDG_CONFIG_HOME = {envtmpdir}/config
+    py{39,310,311,312,313}: XDG_DATA_HOME = {envtmpdir}/share
     !master: BST_VERSION = 2.2.1
     master: BST_VERSION = master
 
 allowlist_externals =
-    py{39,310,311,312}:
+    py{39,310,311,312,313}:
         mv
         mkdir
 	./tests/bzr_wrapper


(buildstream-plugins) 02/05: Drop support for Python 3.8

Posted by ju...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

juergbi pushed a commit to branch juerg/python-3.13
in repository https://gitbox.apache.org/repos/asf/buildstream-plugins.git

commit 2d92cc366751290bb7b505de3eeffeba3bb06ed7
Author: Jürg Billeter <j...@bitron.ch>
AuthorDate: Fri Dec 20 14:02:20 2024 +0100

    Drop support for Python 3.8
    
    Python 3.8 is no longer maintained upstream and some Python packages
    have dropped support for it.
---
 .github/common.env |  4 ++--
 setup.py           |  1 -
 tox.ini            | 10 +++++-----
 3 files changed, 7 insertions(+), 8 deletions(-)

diff --git a/.github/common.env b/.github/common.env
index 91f1cb5..e9d9f0a 100644
--- a/.github/common.env
+++ b/.github/common.env
@@ -1,5 +1,5 @@
 # Shared common variables
 
 CI_IMAGE_VERSION=master-1571408207
-CI_TOXENV_ALL=py38,py39,py310,py311,py312
-CI_TOXENV_MASTER=py38-bst-master,py39-bst-master,py310-bst-master,py311-bst-master,py312-bst-master
+CI_TOXENV_ALL=py39,py310,py311,py312
+CI_TOXENV_MASTER=py39-bst-master,py310-bst-master,py311-bst-master,py312-bst-master
diff --git a/setup.py b/setup.py
index 5417244..61a9ca9 100755
--- a/setup.py
+++ b/setup.py
@@ -53,7 +53,6 @@ setup(
         "License :: OSI Approved :: Apache Software License",
         "Operating System :: POSIX",
         "Programming Language :: Python :: 3",
-        "Programming Language :: Python :: 3.8",
         "Programming Language :: Python :: 3.9",
         "Programming Language :: Python :: 3.10",
         "Programming Language :: Python :: 3.11",
diff --git a/tox.ini b/tox.ini
index 5b97c50..22c69e0 100644
--- a/tox.ini
+++ b/tox.ini
@@ -16,7 +16,7 @@
 # Tox global configuration
 #
 [tox]
-envlist = py{38,39,310,311,312}-{bst-fixed,bst-master}
+envlist = py{39,310,311,312}-{bst-fixed,bst-master}
 skip_missing_interpreters = true
 
 #
@@ -55,14 +55,14 @@ passenv =
 # These keys are not inherited by any other sections
 #
 setenv =
-    py{38,39,310,311,312}: XDG_CACHE_HOME = {envtmpdir}/cache
-    py{38,39,310,311,312}: XDG_CONFIG_HOME = {envtmpdir}/config
-    py{38,39,310,311,312}: XDG_DATA_HOME = {envtmpdir}/share
+    py{39,310,311,312}: XDG_CACHE_HOME = {envtmpdir}/cache
+    py{39,310,311,312}: XDG_CONFIG_HOME = {envtmpdir}/config
+    py{39,310,311,312}: XDG_DATA_HOME = {envtmpdir}/share
     !master: BST_VERSION = 2.2.1
     master: BST_VERSION = master
 
 allowlist_externals =
-    py{38,39,310,311,312}:
+    py{39,310,311,312}:
         mv
         mkdir
 	./tests/bzr_wrapper


(buildstream-plugins) 05/05: ci: Run tests also on Fedora 41

Posted by ju...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

juergbi pushed a commit to branch juerg/python-3.13
in repository https://gitbox.apache.org/repos/asf/buildstream-plugins.git

commit 2271385f018f8302196e226e3c8eabf7bd9e4383
Author: Jürg Billeter <j...@bitron.ch>
AuthorDate: Fri Dec 20 14:08:21 2024 +0100

    ci: Run tests also on Fedora 41
    
    This extends test coverage to Python 3.13.
---
 .github/compose/ci.docker-compose.yml | 4 ++++
 .github/run-ci.sh                     | 2 +-
 .github/workflows/ci.yml              | 1 +
 3 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/.github/compose/ci.docker-compose.yml b/.github/compose/ci.docker-compose.yml
index f22b14b..6f69d52 100644
--- a/.github/compose/ci.docker-compose.yml
+++ b/.github/compose/ci.docker-compose.yml
@@ -30,6 +30,10 @@ services:
     <<: *tests-template
     image: registry.gitlab.com/buildstream/buildstream-docker-images/testsuite-fedora:40-${CI_IMAGE_VERSION:-latest}
 
+  fedora-41:
+    <<: *tests-template
+    image: registry.gitlab.com/buildstream/buildstream-docker-images/testsuite-fedora:41-${CI_IMAGE_VERSION:-latest}
+
   ubuntu-22.04:
     <<: *tests-template
     image: registry.gitlab.com/buildstream/buildstream-docker-images/testsuite-ubuntu:22.04-${CI_IMAGE_VERSION:-latest}
diff --git a/.github/run-ci.sh b/.github/run-ci.sh
index ce31ab5..eebbbda 100755
--- a/.github/run-ci.sh
+++ b/.github/run-ci.sh
@@ -67,7 +67,7 @@ function runTest() {
 
 
 if [ -z "${test_names}" ]; then
-    for test_name in "mypy debian-11 fedora-40 fedora-missing-deps ubuntu-22.04"; do
+    for test_name in "mypy debian-11 fedora-40 fedora-41 fedora-missing-deps ubuntu-22.04"; do
 	if ! runTest "${test_name}"; then
 	    echo "Tests failed"
 	    exit 1
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index d76c512..6cd9c20 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -38,6 +38,7 @@ jobs:
         test-name:
           - debian-11
           - fedora-40
+          - fedora-41
           - fedora-missing-deps
           - ubuntu-22.04
           - lint