From eb59a9f86f08158cdf995ff452dd1957dc060e36 Mon Sep 17 00:00:00 2001 From: ptmcg Date: Tue, 7 Mar 2023 19:10:52 -0600 Subject: Staging for 3.1.0a1 release --- CHANGES | 8 +++++--- pyparsing/__init__.py | 2 +- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/CHANGES b/CHANGES index f82f7f3..eab5285 100644 --- a/CHANGES +++ b/CHANGES @@ -2,8 +2,8 @@ Change Log ========== -Version 3.1.0 - (in development) ---------------------------------- +Version 3.1.0a1 - March, 2023 +----------------------------- NOTE: In the future release 3.2.0, use of many of the pre-PEP8 methods (such as `ParserElement.parseString`) will start to raise `DeprecationWarnings`. 3.2.0 should get released some time later in 2023. I currently plan to completely @@ -12,6 +12,8 @@ at least late 2023 if not 2024. So there is plenty of time to convert existing p the new function names before the old functions are completely removed. (Big help from Devin J. Pohly in structuring the code to enable this peaceful transition.) +Version 3.2.0 will also discontinue support for Python versions 3.6 and 3.7. + - API ENHANCEMENT: `Optional(expr)` may now be written as `expr | ""` This will make this code: @@ -63,7 +65,7 @@ help from Devin J. Pohly in structuring the code to enable this peaceful transit that creates a sequence of `Literals`, `Keywords`, or other `ParserElement` subclasses. - For instance, to define suppressable punctuation, you would previously + For instance, to define suppressible punctuation, you would previously write: LPAR, RPAR, LBRACE, RBRACE, SEMI = map(Suppress, "(){};") diff --git a/pyparsing/__init__.py b/pyparsing/__init__.py index 336041e..bec6347 100644 --- a/pyparsing/__init__.py +++ b/pyparsing/__init__.py @@ -121,7 +121,7 @@ class version_info(NamedTuple): __version_info__ = version_info(3, 1, 0, "alpha", 1) -__version_time__ = "07 Mar 2023 06:50 UTC" +__version_time__ = "08 Mar 2023 01:10 UTC" __version__ = __version_info__.__version__ __versionTime__ = __version_time__ __author__ = "Paul McGuire " -- cgit v1.2.1