Skip to content

Commit

Permalink
Get files ready for 1.3 release
Browse files Browse the repository at this point in the history
  • Loading branch information
arthurdejong committed Sep 8, 2024
1 parent d790ba4 commit f5872f9
Show file tree
Hide file tree
Showing 5 changed files with 143 additions and 4 deletions.
130 changes: 130 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,133 @@
2024-09-08 Arthur de Jong <[email protected]>

* [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 <[email protected]>

* [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 <[email protected]>

* [c3f744d] tox.ini: Stop testing pypy (not 3)

2024-08-27 Arthur de Jong <[email protected]>

* [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 <[email protected]>

* [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 <[email protected]>

* [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 <[email protected]>

* [4257500] .github/workflows/test.yml, setup.cfg, tox.ini:
Configure testing with codespell

2023-11-12 Arthur de Jong <[email protected]>

* [348781b] pskc/key.py, tests/test_pskc2csv.doctest: Fix typos
(thanks codespell)

2023-11-12 Arthur de Jong <[email protected]>

* [8f01efd] .github/workflows/test.yml, setup.py, tox.ini: Add
support for Python 3.12

2023-03-19 Arthur de Jong <[email protected]>

* [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 <[email protected]>

* [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 <[email protected]>

* [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 <[email protected]>

* [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 <[email protected]>

* [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 <[email protected]>

* [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 <[email protected]>

* [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 <[email protected]>

* [f2f0fb5] ChangeLog, NEWS, README, pskc/__init__.py: Get files
ready for 1.2 release

2022-09-12 Arthur de Jong <[email protected]>

* [e95767e] .github/workflows/test.yml: Configure CodeQL code
Expand Down
9 changes: 9 additions & 0 deletions NEWS
Original file line number Diff line number Diff line change
@@ -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
-----------------------

Expand Down
2 changes: 1 addition & 1 deletion README
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@

# 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
Expand Down
4 changes: 2 additions & 2 deletions pskc/__init__.py
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -54,7 +54,7 @@


# the version number of the library
__version__ = '1.2'
__version__ = '1.3'


class PSKC(object):
Expand Down

0 comments on commit f5872f9

Please sign in to comment.