diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index f6f6cfd..0aa17e0 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -10,6 +10,7 @@ repos: stages: [commit] - id: end-of-file-fixer stages: [commit] + exclude: ChangeLog-spell-corrected.diff - id: trailing-whitespace - id: check-json exclude: mathics_scanner/data/characters.json diff --git a/CHANGES.rst b/CHANGES.rst index 74a4e4e..6d94c8c 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -1,8 +1,13 @@ CHANGES ======= -Note: after the 1.3.0 release support for running on Python 3.6 will be dropped. Python -3.7 support will be dropped soon as well. +1.3.1 +------ + +Python 3.8 is now the minimum Python supported. Various dependecies elsehwere force this. + + +Packaging was redone to be able to support Python 3.12. 1.3.0 diff --git a/ChangeLog-spell-corrected.diff b/ChangeLog-spell-corrected.diff new file mode 100644 index 0000000..4816c9a --- /dev/null +++ b/ChangeLog-spell-corrected.diff @@ -0,0 +1,131 @@ +--- ChangeLog-spell-corrected 2024-08-08 19:19:04.496248094 -0400 ++++ ChangeLog 2024-08-08 19:21:45.572417148 -0400 +@@ -97,7 +97,7 @@ + 2023-12-17 rocky + + * admin-tools/pyenv-versions, +- mathics_scanner/data/named-characters.yml, test/test_tokeniser.py: ++ mathics_scanner/data/named-characters.yml, test/test_tokeniser.py: + Administrivia: typos and bump versions + + 2023-08-23 rocky +@@ -425,18 +425,18 @@ + 2021-06-29 rocky + + * mathics_scanner/data/named-characters.yml, +- test/test_general_yaml_sanity.py, test/test_table_consistency.py: ++ test/test_general_yaml_sanity.py, test/test_table_consistency.py: + Appease current checker... The checker may change in the future. + + 2021-06-29 rocky + +- * mathics_scanner/data/named-characters.yml: We now have one more source ++ * mathics_scanner/data/named-characters.yml: Noe one more source + + 2021-06-29 rocky + + * mathics_scanner/data/named-characters.yml, + mathics_scanner/generate/build_tables.py: Add ApplyTo and reqularize +- unicode-equivalent Also adjust Tilde ++ unicode-equivalent Also adust Tilde + + 2021-06-28 rocky + +@@ -457,7 +457,7 @@ + + 2021-06-27 rocky + +- * CHANGES.rst, MANIFEST.in, mathics_scanner/version.py, setup.py: ++ * CHANGES.rst, MANIFEST.in, mathics_scanner/version.py, setup.py: + Get ready for release 1.2.3 + + 2021-06-26 rocky +@@ -547,7 +547,7 @@ + mathics_scanner/tokeniser.py, mathics_scanner/version.py, setup.py, + test/test_has_unicode_inverse_sanity.py, + test/test_letterlikes_sanity.py, test/test_table_consistency.py, +- test/test_translation_regressions.py, test/test_wl_to_ascii.py: ++ test/test_translation_regressions.py, test/test_wl_to_ascii.py: + Blacken files + + 2021-06-21 rocky +@@ -588,7 +588,7 @@ + + * .github/workflows/osx.yaml, .github/workflows/ubuntu.yaml, + .github/workflows/windows.yml, mathics_scanner/characters.py, +- mathics_scanner/version.py, requirements-dev.txt, setup.py: ++ mathics_scanner/version.py, requirements-dev.txt, setup.py: + Administrivia & make ujson optional * It's not clear that pyston-2.2 support ujson so make it optional * In github workflows use requirements-dev.txt * revise requirement-dev to remove click (in setup.py) and add ujson * setup.py make ujson optional * version.py: bump to dev + + 2021-05-14 rocky +@@ -788,7 +788,7 @@ + + * .github/workflows/osx.yaml, Makefile, + mathics_scanner/data/named-characters.yml, setup.py, +- test/test_general_yaml_sanity.py, test/test_table_consistency.py: ++ test/test_general_yaml_sanity.py, test/test_table_consistency.py: + Start tagging operators Note: use WL name when there is no conflict for name of symbol. A number of other small corrections: - Mark some symbols which are invertable when they are. However this should be redone and invertability should be detected automatically. - small correction in macos CI - AUTHORS.txt reduced to those who worked in this, rather than + Mathics in general - in tests prefer top-level tests when that is possible (i.e. test + is not parameterized) - use relative import as "test" can be ambiguous and lead to +@@ -889,7 +889,7 @@ + + 2021-01-31 Pablo Emilio Escobar Gaviria + +- * README.rst, implementation.rst, mathics_scanner/characters.py: ++ * README.rst, implementation.rst, mathics_scanner/characters.py: + Added an awfull lot of documentation + + 2021-01-31 Pablo Emilio Escobar Gaviria +@@ -922,7 +922,7 @@ + + 2021-01-31 Pablo Emilio Escobar Gaviria + +- * mathics_scanner/data/named-characters.yml, test/test_roundtrip.py: ++ * mathics_scanner/data/named-characters.yml, test/test_roundtrip.py: + Fixed another errors in the YAML table + + 2021-02-02 Pablo Emilio Escobar Gaviria +@@ -945,7 +945,7 @@ + + 2021-02-01 Pablo Emilio Escobar Gaviria + +- * mathics_scanner/errors.py, mathics_scanner/tokeniser.py: ++ * mathics_scanner/errors.py, mathics_scanner/tokeniser.py: + Documented stuff used by Mathics + + 2021-01-31 Pablo Emilio Escobar Gaviria +@@ -965,7 +965,7 @@ + + 2021-01-31 Pablo Emilio Escobar Gaviria + +- * test/test_general_yaml_sanity.py, test/test_letterlikes_sanity.py: ++ * test/test_general_yaml_sanity.py, test/test_letterlikes_sanity.py: + Improved the general tests for YAML + + 2021-01-31 Pablo Emilio Escobar Gaviria +@@ -994,22 +994,22 @@ + + 2021-01-31 Pablo Emilio Escobar Gaviria + +- * test/test_has_unicode_inverse_sanity.py, test/test_roundtrip.py: ++ * test/test_has_unicode_inverse_sanity.py, test/test_roundtrip.py: + Fixed typos + + 2021-01-31 Pablo Emilio Escobar Gaviria + +- * test/test_has_unicode_inverse_sanity.py, test/test_roundtrip.py: ++ * test/test_has_unicode_inverse_sanity.py, test/test_roundtrip.py: + Improved the sanity checks for has-unicode-inverse + + 2021-01-31 Pablo Emilio Escobar Gaviria + +- * test/test_has_unicode_inverse_sanity.py, test/test_roundtrip.py: ++ * test/test_has_unicode_inverse_sanity.py, test/test_roundtrip.py: + Fixed and improved the roundtrip tests + + 2021-01-31 Pablo Emilio Escobar Gaviria + +- * test/test_has_unicode_inverse_sanity.py, test/test_roundtrip.py: ++ * test/test_has_unicode_inverse_sanity.py, test/test_roundtrip.py: + Added sanity check for has-unicode-inverse and fixed the reound trip + tests diff --git a/Makefile b/Makefile index 294d9d6..15a6c71 100644 --- a/Makefile +++ b/Makefile @@ -82,3 +82,4 @@ rmChangeLog: #: Create a ChangeLog from git via git log and git2cl ChangeLog: rmChangeLog git log --pretty --numstat --summary | $(GIT2CL) >$@ + patch -R ChangeLog < ChangeLog-spell-corrected.diff diff --git a/pyproject.toml b/pyproject.toml index f743689..200bef3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -31,6 +31,7 @@ classifiers = [ "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy", "Topic :: Scientific/Engineering",