Skip to content

Commit 4f9602e

Browse files
committed
parsing v2.0.0
This release includes significant refactoring to modernize the codebase and improve parser generation performance by a factor of 7 to 15 depending on whether the mypycified version is used. There are breaking changes in the exported classes: * `Symbol`, `Token`, and `Nonterm` no longer take `parser` as the argument. * The `Spec` class is no longer subclassable. This is mostly due to its mypycification, but also because it's supposed to be an opaque piece of parser state. Changelog ========= * Droped support for Python <= 3.7 (by @elprans in 4d8c72a) * Reformat with Black (by @elprans in 468ecd0) * Add thorough type annotations (by @elprans in 995c746) * Massively speedup parser table generation (by @elprans in acb3a70) * Stop passing parser instance to Symbol instances (by @elprans in c4ce270) * Add the ability to specify a callback directly after Spec unpickling (by @elprans in bd2e59e) * Add the ability to build parsing with mypyc (by @elprans in 657f3cc)
1 parent bae6922 commit 4f9602e

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.github/workflows/release.yml

+4
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,10 @@ jobs:
7676
os: [ubuntu-latest, macos-latest, windows-latest]
7777
cibw_python: ["cp37-*", "cp38-*", "cp39-*", "cp310-*"]
7878
cibw_arch: ["auto64"]
79+
exclude:
80+
# mypyc seems to be busted on Windows under Python 3.10
81+
- os: windows-latest
82+
cibw_python: "cp310-*"
7983

8084
defaults:
8185
run:

parsing/_version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@
1010
# supported platforms, publish the packages on PyPI, merge the PR
1111
# to the target branch, create a Git tag pointing to the commit.
1212

13-
__version__ = "2.0.0.dev0"
13+
__version__ = "2.0.0"

0 commit comments

Comments
 (0)