lists.arthurdejong.org
RSS feed

python-pskc branch master updated. 1.2-5-gb95f075

[Date Prev][Date Next] [Thread Prev][Thread Next]

python-pskc branch master updated. 1.2-5-gb95f075



This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "python-pskc".

The branch, master has been updated
       via  b95f075c64e3c23c5bc4e18f0934dd50be345f8c (commit)
      from  d4a8f0932a66b2152cbf769e7ff1394ff8cb762b (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
https://arthurdejong.org/git/python-pskc/commit/?id=b95f075c64e3c23c5bc4e18f0934dd50be345f8c

commit b95f075c64e3c23c5bc4e18f0934dd50be345f8c
Author: Arthur de Jong <arthur@arthurdejong.org>
Date:   Sun Mar 19 17:07:08 2023 +0100

    Add support for Python 3.11
    
    This also simplifies the GitHub actions file a bit and updates the PyPy
    versions to test.

diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index 97463ec..73115d4 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -14,7 +14,7 @@ jobs:
     strategy:
       fail-fast: false
       matrix:
-        python-version: [2.7, 3.5, 3.6, 3.7, 3.8, 3.9, '3.10', pypy2.7, 
pypy3.6, pypy3.7]
+        python-version: [2.7, 3.5, 3.6, 3.7, 3.8, 3.9, '3.10', 3.11, pypy2.7, 
pypy3.8, pypy3.9]
         flavour: [signxml]
     steps:
       - uses: actions/checkout@v3
@@ -34,7 +34,7 @@ jobs:
     strategy:
       fail-fast: false
       matrix:
-        python-version: [2.7, 3.9]
+        python-version: [2.7, 3.11]
         flavour: [legacy, legacy-defusedxml, lxml, lxml-defusedxml]
     steps:
       - uses: actions/checkout@v3
@@ -46,30 +46,22 @@ jobs:
         run: python -m pip install --upgrade pip tox
       - name: Run tox
         run: tox -e "$(echo py${{ matrix.python-version }}-${{ matrix.flavour 
}} | sed -e 's/[.]//g;s/pypypy/pypy/')" --skip-missing-interpreters false
-  docs:
-    runs-on: ubuntu-latest
-    steps:
-      - uses: actions/checkout@v3
-      - name: Set up Python 3.x
-        uses: actions/setup-python@v4
-        with:
-          python-version: 3.x
-      - name: Install dependencies
-        run: python -m pip install --upgrade pip tox
-      - name: Run tox
-        run: tox -e docs --skip-missing-interpreters false
-  flake8:
+  tox_job:
     runs-on: ubuntu-latest
+    strategy:
+      fail-fast: false
+      matrix:
+        tox_job: [docs, flake8]
     steps:
       - uses: actions/checkout@v3
-      - name: Set up Python 3.x
+      - name: Set up Python
         uses: actions/setup-python@v4
         with:
           python-version: 3.x
       - name: Install dependencies
         run: python -m pip install --upgrade pip tox
-      - name: Tox
-        run: tox -e flake8 --skip-missing-interpreters false
+      - name: Run tox ${{ matrix.tox_job }}
+        run: tox -e ${{ matrix.tox_job }} --skip-missing-interpreters false
   CodeQL:
     runs-on: ubuntu-latest
     permissions:
diff --git a/setup.py b/setup.py
index d9a68f6..4d0bee5 100755
--- a/setup.py
+++ b/setup.py
@@ -2,7 +2,7 @@
 
 # setup.py - python-pskc installation script
 #
-# Copyright (C) 2014-2019 Arthur de Jong
+# Copyright (C) 2014-2023 Arthur de Jong
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
@@ -66,6 +66,7 @@ setup(
         'Programming Language :: Python :: 3.8',
         'Programming Language :: Python :: 3.9',
         'Programming Language :: Python :: 3.10',
+        'Programming Language :: Python :: 3.11',
         'Programming Language :: Python :: Implementation :: PyPy',
         'Topic :: Security :: Cryptography',
         'Topic :: Software Development :: Libraries :: Python Modules',
diff --git a/tox.ini b/tox.ini
index 4972253..3c5b5a5 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,5 +1,5 @@
 [tox]
-envlist = 
py{27,35,36,37,38,39,310,py,py3}-signxml,py{27,35,36,37,38,39,310,py,py3}{-legacy,-lxml}{,-defusedxml},flake8,docs
+envlist = 
py{27,35,36,37,38,39,310,py,py3}-signxml,py{27,35,36,37,38,39,310,311,py,py3}{-legacy,-lxml}{,-defusedxml},flake8,docs
 skip_missing_interpreters = true
 
 [testenv]
@@ -24,7 +24,7 @@ skip_install = true
 deps = flake8<6.0
        flake8-author
        flake8-blind-except
-       py{35,36,37,38,39,310}: flake8-bugbear
+       py{35,36,37,38,39,310,311}: flake8-bugbear
        flake8-class-newline
        flake8-commas
        flake8-deprecated

-----------------------------------------------------------------------

Summary of changes:
 .github/workflows/test.yml | 28 ++++++++++------------------
 setup.py                   |  3 ++-
 tox.ini                    |  4 ++--
 3 files changed, 14 insertions(+), 21 deletions(-)


hooks/post-receive
-- 
python-pskc