lists.arthurdejong.org
RSS feed

python-pskc branch master updated. 1.1-7-g543520a

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

python-pskc branch master updated. 1.1-7-g543520a



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  543520a44d8b5248ef10f70e38d1c55ba24a2a5b (commit)
       via  09979e36bfa4b09f53daa0822099b8951c46df1a (commit)
       via  fca4ee1f729bf239c45dc6d615a894dec5322103 (commit)
       via  9acc2163c520fd98ee0413129a36445e8db6c62e (commit)
       via  ddf3ab1240a560ce30ff9f55a6fbb58c4ed39620 (commit)
      from  86dccc4119839790d9a11ddb7b0c20843fee582e (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=543520a44d8b5248ef10f70e38d1c55ba24a2a5b

commit 543520a44d8b5248ef10f70e38d1c55ba24a2a5b
Author: Arthur de Jong <arthur@arthurdejong.org>
Date:   Fri Aug 16 12:47:28 2019 +0200

    Add pypy3 tests to tox

diff --git a/tox.ini b/tox.ini
index 2f225d8..1783d83 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,5 +1,5 @@
 [tox]
-envlist = 
py{27,35,36,37,py}-signxml,py{27,35,36,37,py}{-legacy,-lxml}{,-defusedxml},flake8,docs
+envlist = 
py{27,35,36,37,py,py3}-signxml,py{27,35,36,37,py,py3}{-legacy,-lxml}{,-defusedxml},flake8,docs
 skip_missing_interpreters = True
 
 [testenv]

https://arthurdejong.org/git/python-pskc/commit/?id=09979e36bfa4b09f53daa0822099b8951c46df1a

commit 09979e36bfa4b09f53daa0822099b8951c46df1a
Author: Arthur de Jong <arthur@arthurdejong.org>
Date:   Fri Aug 16 12:45:15 2019 +0200

    Drop explicit support for Python 3.4
    
    Recent versions of lxml (since 4.4) no longer support Python 3.4 so we
    no longer run tests for that version of Python.

diff --git a/.travis.yml b/.travis.yml
index 2498cc6..73419d2 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -3,7 +3,6 @@ cache: pip
 sudo: false
 python:
   - 2.7
-  - 3.4
   - 3.5
   - 3.6
   - 3.7
diff --git a/setup.py b/setup.py
index 8040f3a..8470616 100755
--- a/setup.py
+++ b/setup.py
@@ -2,7 +2,7 @@
 
 # setup.py - python-pskc installation script
 #
-# Copyright (C) 2014-2018 Arthur de Jong
+# Copyright (C) 2014-2019 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
@@ -58,7 +58,6 @@ setup(
         'Programming Language :: Python :: 2',
         'Programming Language :: Python :: 2.7',
         'Programming Language :: Python :: 3',
-        'Programming Language :: Python :: 3.4',
         'Programming Language :: Python :: 3.5',
         'Programming Language :: Python :: 3.6',
         'Programming Language :: Python :: 3.7',
diff --git a/tox.ini b/tox.ini
index 68be6ce..2f225d8 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,5 +1,5 @@
 [tox]
-envlist = 
py{27,34,35,36,37,py}-signxml,py{27,34,35,36,37,py}{-legacy,-lxml}{,-defusedxml},flake8,docs
+envlist = 
py{27,35,36,37,py}-signxml,py{27,35,36,37,py}{-legacy,-lxml}{,-defusedxml},flake8,docs
 skip_missing_interpreters = True
 
 [testenv]

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

commit fca4ee1f729bf239c45dc6d615a894dec5322103
Author: Arthur de Jong <arthur@arthurdejong.org>
Date:   Mon Aug 12 18:49:15 2019 +0200

    Use default dist for Python 3.7 build
    
    Travis now defaults to using xenial.

diff --git a/.travis.yml b/.travis.yml
index 1f91815..2498cc6 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -6,6 +6,7 @@ python:
   - 3.4
   - 3.5
   - 3.6
+  - 3.7
   - pypy
   - pypy3
 env:
@@ -28,9 +29,6 @@ matrix:
     env: FLAVOUR=lxml
   - python: 3.6
     env: FLAVOUR=lxml-defusedxml
-  - python: 3.7
-    dist: xenial
-    env: FLAVOUR=signxml
   - python: 3.6
     env: TOXENV=flake8
   - python: 3.6

https://arthurdejong.org/git/python-pskc/commit/?id=9acc2163c520fd98ee0413129a36445e8db6c62e

commit 9acc2163c520fd98ee0413129a36445e8db6c62e
Author: Arthur de Jong <arthur@arthurdejong.org>
Date:   Mon Aug 12 18:19:16 2019 +0200

    Force sorting of namespace definitions
    
    This ensures that namespace declarations in the generated XML files are
    ordered alphabetically when using lxml (mostly so our tests are
    reproducible).

diff --git a/pskc/xml.py b/pskc/xml.py
index c7ed2a8..02bd711 100644
--- a/pskc/xml.py
+++ b/pskc/xml.py
@@ -1,7 +1,7 @@
 # xml.py - module for parsing and writing XML for PSKC files
 # coding: utf-8
 #
-# Copyright (C) 2014-2017 Arthur de Jong
+# Copyright (C) 2014-2019 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
@@ -198,6 +198,7 @@ def move_namespaces(element):
         nsmap = {}
         for e in element.iter():
             nsmap.update(e.nsmap)
+        nsmap = OrderedDict(sorted(nsmap.items()))
         # replace toplevel element with all namespaces
         e = Element(element.tag, attrib=element.attrib, nsmap=nsmap)
         for a in element:

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

commit ddf3ab1240a560ce30ff9f55a6fbb58c4ed39620
Author: Arthur de Jong <arthur@arthurdejong.org>
Date:   Mon Aug 12 14:33:10 2019 +0200

    Drop pinning of pydocstyle now flake8-docstrings has been fixed
    
    Reverts e5ec0a1

diff --git a/tox.ini b/tox.ini
index bb19c74..68be6ce 100644
--- a/tox.ini
+++ b/tox.ini
@@ -32,9 +32,6 @@ deps = flake8
        flake8-tidy-imports
        flake8-tuple
        pep8-naming
-       # Keep the following until this is fixed:
-       # https://gitlab.com/pycqa/flake8-docstrings/issues/36
-       pydocstyle<4
 commands = flake8 pskc
 
 [testenv:docs]

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

Summary of changes:
 .travis.yml | 5 +----
 pskc/xml.py | 3 ++-
 setup.py    | 3 +--
 tox.ini     | 5 +----
 4 files changed, 5 insertions(+), 11 deletions(-)


hooks/post-receive
-- 
python-pskc