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 2021/11/02 10:58:23 UTC

[buildstream] branch juerg/python-3.10 updated (9ebae55 -> 28ba947)

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

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


    omit 9ebae55  tox.ini: Add test environment for Python 3.10
     add 0158798  requirements: Limit grpcio to >= 1.34 and < 1.39
     add 7752c04  .pylintrc, tests and sources: Deal with newly introduced linter errors
     add e20186d  Merge pull request #1531 from apache/tristan/pin-grpc-version
     new 8c9be99  setup.py: Add Python 3.10
     new 28ba947  tox.ini: Add test environment for Python 3.10

This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version.  This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:

 * -- * -- B -- O -- O -- O   (9ebae55)
            \
             N -- N -- N   refs/heads/juerg/python-3.10 (28ba947)

You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.

Any revisions marked "omit" are not gone; other references still
refer to them.  Any revisions marked "discard" are gone forever.

The 2 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.


Summary of changes:
 .pylintrc                         |  1 +
 requirements/cov-requirements.txt |  6 +++---
 requirements/dev-requirements.txt | 19 ++++++++++---------
 requirements/requirements.in      |  5 ++++-
 requirements/requirements.txt     | 13 +++++++------
 setup.py                          |  1 +
 src/buildstream/_frontend/cli.py  |  4 ++--
 src/buildstream/_signals.py       |  4 ++--
 src/buildstream/utils.py          |  2 +-
 tests/frontend/workspace.py       |  3 +--
 10 files changed, 32 insertions(+), 26 deletions(-)

[buildstream] 01/02: setup.py: Add Python 3.10

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.10
in repository https://gitbox.apache.org/repos/asf/buildstream.git

commit 8c9be99a1bd627dab443bfdeeffa7cfe51ce6958
Author: Jürg Billeter <j...@bitron.ch>
AuthorDate: Sat Oct 30 13:57:30 2021 +0200

    setup.py: Add Python 3.10
---
 setup.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/setup.py b/setup.py
index b0935d8..3f48e0d 100755
--- a/setup.py
+++ b/setup.py
@@ -327,6 +327,7 @@ setup(
         "Programming Language :: Python :: 3.7",
         "Programming Language :: Python :: 3.8",
         "Programming Language :: Python :: 3.9",
+        "Programming Language :: Python :: 3.10",
         "Topic :: Software Development :: Build Tools",
     ],
     description="A framework for modelling build pipelines in YAML",

[buildstream] 02/02: tox.ini: Add test environment for Python 3.10

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.10
in repository https://gitbox.apache.org/repos/asf/buildstream.git

commit 28ba94705b1e28d2b8cbfc2ea0ed95fe912f49ae
Author: Jürg Billeter <j...@bitron.ch>
AuthorDate: Sat Oct 30 12:47:16 2021 +0200

    tox.ini: Add test environment for Python 3.10
---
 tox.ini | 38 +++++++++++++++++++-------------------
 1 file changed, 19 insertions(+), 19 deletions(-)

diff --git a/tox.ini b/tox.ini
index 79b46e8..6796c5e 100644
--- a/tox.ini
+++ b/tox.ini
@@ -2,7 +2,7 @@
 # Tox global configuration
 #
 [tox]
-envlist = py{36,37},py38-nocover,py39-nocover
+envlist = py{36,37},py{38,39,310}-nocover
 skip_missing_interpreters = true
 isolated_build = true
 
@@ -18,29 +18,29 @@ BST_PLUGINS_EXPERIMENTAL_VERSION = 1.93.4
 [testenv]
 usedevelop =
     # This is required by Cython in order to get coverage for cython files.
-    py{36,37,38,39}-!nocover: True
+    py{36,37,38,39,310}-!nocover: True
 
 commands =
     # Running with coverage reporting enabled
-    py{36,37,38,39}-!plugins-!nocover: pytest --basetemp {envtmpdir} --cov=buildstream --cov-config .coveragerc {posargs}
+    py{36,37,38,39,310}-!plugins-!nocover: pytest --basetemp {envtmpdir} --cov=buildstream --cov-config .coveragerc {posargs}
     # Running with coverage reporting disabled
-    py{36,37,38,39}-!plugins-nocover: pytest --basetemp {envtmpdir} {posargs}
+    py{36,37,38,39,310}-!plugins-nocover: pytest --basetemp {envtmpdir} {posargs}
     # Running external plugins tests with coverage reporting enabled
-    py{36,37,38,39}-plugins-!nocover: pytest --basetemp {envtmpdir} --cov=buildstream --cov-config .coveragerc --plugins {posargs}
+    py{36,37,38,39,310}-plugins-!nocover: pytest --basetemp {envtmpdir} --cov=buildstream --cov-config .coveragerc --plugins {posargs}
     # Running external plugins tests with coverage disabled
-    py{36,37,38,39}-plugins-nocover: pytest --basetemp {envtmpdir} --plugins {posargs}
+    py{36,37,38,39,310}-plugins-nocover: pytest --basetemp {envtmpdir} --plugins {posargs}
 commands_post:
-    py{36,37,38,39}-!nocover: mkdir -p .coverage-reports
-    py{36,37,38,39}-!nocover: mv {envtmpdir}/.coverage {toxinidir}/.coverage-reports/.coverage.{env:COVERAGE_PREFIX:}{envname}
+    py{36,37,38,39,310}-!nocover: mkdir -p .coverage-reports
+    py{36,37,38,39,310}-!nocover: mv {envtmpdir}/.coverage {toxinidir}/.coverage-reports/.coverage.{env:COVERAGE_PREFIX:}{envname}
 deps =
-    py{36,37,38,39}: -rrequirements/requirements.txt
-    py{36,37,38,39}: -rrequirements/dev-requirements.txt
+    py{36,37,38,39,310}: -rrequirements/requirements.txt
+    py{36,37,38,39,310}: -rrequirements/dev-requirements.txt
 
     # Install local sample plugins for testing pip plugin origins
-    py{36,37,38,39}: {toxinidir}/tests/plugins/sample-plugins
+    py{36,37,38,39,310}: {toxinidir}/tests/plugins/sample-plugins
 
     # Install external plugins for plugin tests
-    py{36,37,38,39}-plugins: git+https://gitlab.com/buildstream/bst-plugins-experimental.git@{env:BST_PLUGINS_EXPERIMENTAL_VERSION:{[config]BST_PLUGINS_EXPERIMENTAL_VERSION}}#egg=bst_plugins_experimental[deb]
+    py{36,37,38,39,310}-plugins: git+https://gitlab.com/buildstream/bst-plugins-experimental.git@{env:BST_PLUGINS_EXPERIMENTAL_VERSION:{[config]BST_PLUGINS_EXPERIMENTAL_VERSION}}#egg=bst_plugins_experimental[deb]
 
     # Only require coverage and pytest-cov when using it
     !nocover: -rrequirements/cov-requirements.txt
@@ -68,17 +68,17 @@ passenv =
 # These keys are not inherited by any other sections
 #
 setenv =
-    py{36,37,38,39}: COVERAGE_FILE = {envtmpdir}/.coverage
-    py{36,37,38,39}: BST_TEST_HOME = {envtmpdir}
-    py{36,37,38,39}: BST_TEST_XDG_CACHE_HOME = {envtmpdir}/cache
-    py{36,37,38,39}: BST_TEST_XDG_CONFIG_HOME = {envtmpdir}/config
-    py{36,37,38,39}: BST_TEST_XDG_DATA_HOME = {envtmpdir}/share
+    py{36,37,38,39,310}: COVERAGE_FILE = {envtmpdir}/.coverage
+    py{36,37,38,39,310}: BST_TEST_HOME = {envtmpdir}
+    py{36,37,38,39,310}: BST_TEST_XDG_CACHE_HOME = {envtmpdir}/cache
+    py{36,37,38,39,310}: BST_TEST_XDG_CONFIG_HOME = {envtmpdir}/config
+    py{36,37,38,39,310}: BST_TEST_XDG_DATA_HOME = {envtmpdir}/share
     # This is required to get coverage for Cython
-    py{36,37,38,39}-!nocover: BST_CYTHON_TRACE = 1
+    py{36,37,38,39,310}-!nocover: BST_CYTHON_TRACE = 1
     randomized: PYTEST_ADDOPTS="--random-order-bucket=global"
 
 whitelist_externals =
-    py{36,37,38,39}:
+    py{36,37,38,39,310}:
         mv
         mkdir