From f5872f90a4740c5d3cea745bc417514b4e06227f Mon Sep 17 00:00:00 2001 From: Arthur de Jong Date: Sun, 8 Sep 2024 19:07:05 +0200 Subject: Get files ready for 1.3 release --- ChangeLog | 130 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ NEWS | 9 ++++ README | 2 +- docs/conf.py | 2 +- pskc/__init__.py | 4 +- 5 files changed, 143 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index cdab6cc..1913593 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,133 @@ +2024-09-08 Arthur de Jong + + * [d790ba4] tests/test_misc.doctest: Remove tests reliance on + current time + + This ensures that the tests that compare the current time to + expiry times should either set an explicity current time or use + values relative to the current time. + +2024-09-08 Arthur de Jong + + * [c002d92] setup.cfg, tests/test_write.doctest, tox.ini: Have + tests fail on missing coverage + + This also only prints missed coverage on the terminal after + the tests. + + Fixes 1d6e115 (removed requirement) and e99f7c8 (reduced coverage + below 100%) + +2024-09-08 Arthur de Jong + + * [c3f744d] tox.ini: Stop testing pypy (not 3) + +2024-08-27 Arthur de Jong + + * [ea5db6b] pskc/scripts/csv2pskc.py, + tests/certificate/README, tests/certificate/ca-certificate.pem, + tests/certificate/ca-key.pem, tests/certificate/certificate.pem, + tests/certificate/key.pem, tests/certificate/request.pem, + tests/certificate/ss-certificate.pem, tox.ini: Replace test + certificates + + The cryptography library now requires certificates to be in X509v3 + format and also requires certain X509v3 extensions to be present. + +2024-07-17 Arthur de Jong + + * [e99f7c8] .github/workflows/test.yml, pskc/crypto/aeskw.py, + pskc/encryption.py, pskc/key.py, pskc/serialiser.py, setup.py, + tox.ini: Drop Python 2 support + + It is getting more and more annoying to support Python 2 due to + difficulty in testing. + +2024-05-19 Arthur de Jong + + * [5cbd43f] .github/workflows/test.yml, setup.py, tox.ini: Drop + support for Python 3.5 + + We don't have an easy way to test with Python 3.5 any more. + +2023-11-12 Arthur de Jong + + * [4257500] .github/workflows/test.yml, setup.cfg, tox.ini: + Configure testing with codespell + +2023-11-12 Arthur de Jong + + * [348781b] pskc/key.py, tests/test_pskc2csv.doctest: Fix typos + (thanks codespell) + +2023-11-12 Arthur de Jong + + * [8f01efd] .github/workflows/test.yml, setup.py, tox.ini: Add + support for Python 3.12 + +2023-03-19 Arthur de Jong + + * [cce7e02] docs/conf.py, setup.cfg, tox.ini: Ensure flake8 is + run on all Python files + + This also fixes code style fixes in the Sphinx configuration file. + +2023-06-27 Arthur de Jong + + * [fa32f6b] .github/workflows/test.yml: Run Python 2.7 tests in + a container for GitHub Actions + + See https://github.com/actions/setup-python/issues/672 + +2023-03-19 Arthur de Jong + + * [b95f075] .github/workflows/test.yml, setup.py, tox.ini: Add + support for Python 3.11 + + This also simplifies the GitHub actions file a bit and updates + the PyPy versions to test. + +2022-12-12 Arthur de Jong + + * [d4a8f09] .github/workflows/test.yml: Run most GitHub tests on + older Ubuntu + + The ubuntu-latest image now points to ubuntu-22.04 instead of + ubuntu-20.04 before and there are some issues regarding that + new image that remain to be worked out. + + This also switches the default Python 3 implementation to + Python 3.9. + +2022-12-03 Arthur de Jong + + * [5690a2b] tox.ini: Support running tests with PyPy 2.7 + + This also applies the fix from bb594fb from Python 2.7 to PyPy. + +2022-12-03 Arthur de Jong + + * [acc6d78] pskc/signature.py: Support newer versions of signxml + + Version 3.0.0 of signxml dropped the default_c14n_algorithm + property from XMLSignatureProcessor. + +2022-12-03 Arthur de Jong + + * [99422c0] tox.ini: Avoid newer flake8 + + The new 6.0.0 contains a number of backwards incompatible changes + for which plugins need to be updated and configuration needs to + be updated. + + Sadly the maintainer no longer accepts contributions or discussion + See https://github.com/PyCQA/flake8/issues/1760 + +2022-09-12 Arthur de Jong + + * [f2f0fb5] ChangeLog, NEWS, README, pskc/__init__.py: Get files + ready for 1.2 release + 2022-09-12 Arthur de Jong * [e95767e] .github/workflows/test.yml: Configure CodeQL code diff --git a/NEWS b/NEWS index bc5cca8..b1553aa 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,12 @@ +changes from 1.2 to 1.3 +----------------------- + +* drop support for Python 2.7 and 3.5 (support Python 3.6 - 3.12) +* typo fixes in documentation +* have test suite not rely on current date/time +* update certificates in tests to support newer cryptography + + changes from 1.1 to 1.2 ----------------------- diff --git a/README b/README index 2a6af17..6dfa34e 100644 --- a/README +++ b/README @@ -55,7 +55,7 @@ private key material. Copyright --------- -Copyright (C) 2014-2022 Arthur de Jong +Copyright (C) 2014-2024 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 diff --git a/docs/conf.py b/docs/conf.py index 98265de..3d479cd 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -39,7 +39,7 @@ master_doc = 'index' # General information about the project. project = u'python-pskc' -copyright = u'2014-2023 Arthur de Jong' +copyright = u'2014-2024 Arthur de Jong' # The version info for the project you're documenting, acts as replacement for # |version| and |release|, also used in various other places throughout the diff --git a/pskc/__init__.py b/pskc/__init__.py index af32674..aa0a9d3 100644 --- a/pskc/__init__.py +++ b/pskc/__init__.py @@ -1,7 +1,7 @@ # __init__.py - main module # coding: utf-8 # -# Copyright (C) 2014-2022 Arthur de Jong +# Copyright (C) 2014-2024 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 @@ -54,7 +54,7 @@ __all__ = ['PSKC', '__version__'] # the version number of the library -__version__ = '1.2' +__version__ = '1.3' class PSKC(object): -- cgit v1.2.3