From 81d2d5e880c154eec83191931ba50e9722c98493 Mon Sep 17 00:00:00 2001 From: Mark Dickinson Date: Thu, 4 Jul 2024 16:58:12 +0100 Subject: [PATCH 1/3] Prepare for release of version 5.3.0 of apptools --- CHANGES.txt | 46 +++++++++++++++++++++++++++ docs/releases/upcoming/328.bugfix.rst | 1 - docs/releases/upcoming/339.bugfix.rst | 1 - docs/releases/upcoming/341.bugfix.rst | 1 - docs/releases/upcoming/343.bugfix.rst | 1 - docs/releases/upcoming/351.build.rst | 3 -- docs/releases/upcoming/352.bugfix.rst | 1 - setup.py | 2 +- 8 files changed, 47 insertions(+), 9 deletions(-) delete mode 100644 docs/releases/upcoming/328.bugfix.rst delete mode 100644 docs/releases/upcoming/339.bugfix.rst delete mode 100644 docs/releases/upcoming/341.bugfix.rst delete mode 100644 docs/releases/upcoming/343.bugfix.rst delete mode 100644 docs/releases/upcoming/351.build.rst delete mode 100644 docs/releases/upcoming/352.bugfix.rst diff --git a/CHANGES.txt b/CHANGES.txt index aaf68c19..b8e196ae 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -1,6 +1,52 @@ Apptools CHANGELOG ================== +Version 5.3.0 +~~~~~~~~~~~~~ + +Released: 2024-07-05 + +This is a minor release, focusing primarily on bringing apptools up to date +with respect to more recent versions of Python and 3rd party packages. +Support for Python 3.7 has been dropped. + +Thanks to the following contributors: + +* Mark Dickinson +* Stewart Ferguson +* Frank Longford +* Tony Ni +* Sai Rahul Poruri + +Fixes +----- +* Drop support for Python 3.7. (#339) +* Replaced uses of ``numpy.alltrue``, for compatibility with NumPy 2.0. (#341) +* Don't write to preferences on ``PreferencesHelper`` creation. (#343) +* Fix a test that was broken in the presence of Mayavi / TVTK. (#352) + +Documentation +------------- +* Moved Sphinx-generated man page to section 3. (#89) + +Build System +------------ +* TraitsUI, Pyface and configobj are now optional dependencies. TraitsUI + and Pyface will be installed with ``pip install apptools[gui]``. configobj + will be installed with ``pip install apptools[preferences]``. (#351) + + +Version 5.2.1 +~~~~~~~~~~~~~ + +Released: 2023-06-23 + +Fixes +----- +* Add missing attributes to ``LogFileHandler``, notably ``encoding``. (#324) +* Fix StatePickler incompatibilities with Python >= 3.11. (#328) +* Drop Python 3.6 support for source builds. (#330) + Version 5.2.0 ~~~~~~~~~~~~~ diff --git a/docs/releases/upcoming/328.bugfix.rst b/docs/releases/upcoming/328.bugfix.rst deleted file mode 100644 index f55976de..00000000 --- a/docs/releases/upcoming/328.bugfix.rst +++ /dev/null @@ -1 +0,0 @@ -Fix StatePickler for Python 3.11. (#328) \ No newline at end of file diff --git a/docs/releases/upcoming/339.bugfix.rst b/docs/releases/upcoming/339.bugfix.rst deleted file mode 100644 index 148e390c..00000000 --- a/docs/releases/upcoming/339.bugfix.rst +++ /dev/null @@ -1 +0,0 @@ -Drop support for Python 3.7. (#339) diff --git a/docs/releases/upcoming/341.bugfix.rst b/docs/releases/upcoming/341.bugfix.rst deleted file mode 100644 index cd486f15..00000000 --- a/docs/releases/upcoming/341.bugfix.rst +++ /dev/null @@ -1 +0,0 @@ -Replaced uses of ``numpy.alltrue``, for compatibility with NumPy 2.0. diff --git a/docs/releases/upcoming/343.bugfix.rst b/docs/releases/upcoming/343.bugfix.rst deleted file mode 100644 index afcff286..00000000 --- a/docs/releases/upcoming/343.bugfix.rst +++ /dev/null @@ -1 +0,0 @@ -Don't write to preferences on ``PreferencesHelper`` creation. (#343) diff --git a/docs/releases/upcoming/351.build.rst b/docs/releases/upcoming/351.build.rst deleted file mode 100644 index 324423c5..00000000 --- a/docs/releases/upcoming/351.build.rst +++ /dev/null @@ -1,3 +0,0 @@ -TraitsUI, Pyface and configobj are now optional dependencies. TraitsUI -and Pyface will be installed with ``pip install apptools[gui]``. configobj -will be installed with ``pip install apptools[preferences]``. (#351) diff --git a/docs/releases/upcoming/352.bugfix.rst b/docs/releases/upcoming/352.bugfix.rst deleted file mode 100644 index 9ec16e4e..00000000 --- a/docs/releases/upcoming/352.bugfix.rst +++ /dev/null @@ -1 +0,0 @@ -Fix a test that was broken in the presence of Mayavi / TVTK. (#352) diff --git a/setup.py b/setup.py index a33a8801..10fb7662 100644 --- a/setup.py +++ b/setup.py @@ -22,7 +22,7 @@ MINOR = 3 MICRO = 0 PRERELEASE = "" -IS_RELEASED = False +IS_RELEASED = True # If this file is part of a Git export (for example created with "git archive", # or downloaded from GitHub), ARCHIVE_COMMIT_HASH gives the full hash of the From d5f5112321852c83cf7c2f4bea4e8d5b6e963d98 Mon Sep 17 00:00:00 2001 From: Mark Dickinson Date: Thu, 4 Jul 2024 17:00:37 +0100 Subject: [PATCH 2/3] Fix spacing inconsistency --- CHANGES.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGES.txt b/CHANGES.txt index b8e196ae..edb7ef2b 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -47,6 +47,7 @@ Fixes * Fix StatePickler incompatibilities with Python >= 3.11. (#328) * Drop Python 3.6 support for source builds. (#330) + Version 5.2.0 ~~~~~~~~~~~~~ From 094d890b8cc270606dc6828f42bf4c456725e1be Mon Sep 17 00:00:00 2001 From: Mark Dickinson Date: Fri, 5 Jul 2024 15:45:15 +0100 Subject: [PATCH 3/3] Reconcile release notes with those from the 5.2.1 tag --- CHANGES.txt | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/CHANGES.txt b/CHANGES.txt index edb7ef2b..af624bff 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -41,11 +41,24 @@ Version 5.2.1 Released: 2023-06-23 +This is a bugfix release fixing a Python 3.11 compatibility issue in +StatePickler. + +Thanks to the following contributors: + +* Mark Dickinson +* Tony Ni +* Rahul Poruri + Fixes ----- -* Add missing attributes to ``LogFileHandler``, notably ``encoding``. (#324) -* Fix StatePickler incompatibilities with Python >= 3.11. (#328) -* Drop Python 3.6 support for source builds. (#330) +* Fix StatePickler for Python 3.11. (#328) +* Add encoding as an attribute for LogFileHandler initialization. (#324) + +Build +----- +* Drop Python 3.6 and macOS from EDM test matrix. (#330, #332) +* Update Github workflows. (#326) Version 5.2.0