Skip to content

Commit

Permalink
Merge pull request #74 from kylebgorman/v2.1.6
Browse files Browse the repository at this point in the history
Pynini release v2.1.6
  • Loading branch information
kylebgorman authored Jan 20, 2024
2 parents bcd88c5 + 921da43 commit 7cf70e8
Show file tree
Hide file tree
Showing 111 changed files with 13,230 additions and 12,529 deletions.
2 changes: 1 addition & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
include AUTHORS
include CHEATSHEET
include CONTRIBUTING
include Dockerfile
include LICENSE
include NEWS
include README.md
include requirements.txt
include extensions/*
include pynini/*
Expand Down
19 changes: 16 additions & 3 deletions NEWS
Original file line number Diff line number Diff line change
@@ -1,6 +1,19 @@
v. 2.1.5.post1 (compatible with OpenFst 1.8.2)
v. 2.1.6 (compatible with OpenFst 1.8.3)
========================================

* Simplifies `SymbolTable.read_text` options
* Fixes reversion in MacOS version issue
* Fixes classifiers for Python support

v. 2.1.5.post2 (compatible with OpenFst 1.8.2.post1)
====================================================

* Fixes Cython versioning issue
* Adds support through Python 3.12

v. 2.1.5.post1 (compatible with OpenFst 1.8.2)
==============================================

* Added `pyproject.toml` support
* Sets minimum MacOS version to 10.12

Expand All @@ -14,7 +27,7 @@ v. 2.1.5 (compatible with OpenFst 1.8.2)
boolean argument
* Modifies `push` and `reweight` to take a string (`to_initial`, `to_final`)
rather than a boolean argument
* Removes `int64` (etc.) type shims in place of <cstdint>
* Uses <cstdint> definitions in place of `int64` (etc.) type shims

v. 2.1.4 (compatible with OpenFst 1.8.1)
========================================
Expand Down Expand Up @@ -242,7 +255,7 @@ v. 1.0
to compile the string, rather than assuming the string is a standard arc FST
* Extensive low-level improvements to all string libraries
* Adds traditional getter methods in place of Python properties in nearly all
ases
cases
* Adds `containment` and `leniently_compose` methods
* Adds `epsilon_machine` function
* Adds `from_pywrapfst` method for downcasting pywrapfst FSTs
Expand Down
8 changes: 5 additions & 3 deletions PKG-INFO
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: pynini
Version: 2.1.5.post2
Version: 2.1.6
Summary: Finite-state grammar compilation
Home-page: http://pynini.opengrm.org
Author: Kyle Gorman <[email protected]>
Expand All @@ -14,6 +14,7 @@ Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Development Status :: 5 - Production/Stable
Classifier: Environment :: Other Environment
Classifier: Environment :: Console
Expand Down Expand Up @@ -102,12 +103,13 @@ running `bazel build //:all` anywhere in the source tree.
## Testing

To confirm successful installation, run `pip install -r requirements`, then
`python tests/pynini_test.py`. If all tests pass, the final line will read `OK`.
`python tests/pynini_test.py`. If all tests pass, the final line will read `OK`;
a successful run will log some errors to STDERR (this is working as expected).

## Python version support

Pynini 2.0.0 and onward support Python 3. Pynini 2.1 versions (onward) drop
Python 2 support.
Python 2 support. The current release supports Python 3.6--3.12.

# License

Expand Down
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,12 +71,13 @@ running `bazel build //:all` anywhere in the source tree.
## Testing

To confirm successful installation, run `pip install -r requirements`, then
`python tests/pynini_test.py`. If all tests pass, the final line will read `OK`.
`python tests/pynini_test.py`. If all tests pass, the final line will read `OK`;
a successful run will log some errors to STDERR (this is working as expected).

## Python version support

Pynini 2.0.0 and onward support Python 3. Pynini 2.1 versions (onward) drop
Python 2 support.
Python 2 support. The current release supports Python 3.6--3.12.

# License

Expand Down
4 changes: 2 additions & 2 deletions bazel/workspace.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -115,12 +115,12 @@ def pynini_repositories(name = ""):
# -------------------------------------------------------------------------
# Cython:
# -------------------------------------------------------------------------
cython_version = "0.29.24"
cython_version = "3.0.5"

http_archive(
name = "org_cython",
build_file = _clean_dep("//bazel:cython.BUILD.bazel"),
urls = ["https://github.com/cython/cython/archive/%s.tar.gz" % cython_version],
sha256 = "a5efb97612f0f97164e87c54cc295b2e2d06c539487670079963adeab872de80",
sha256 = "28eafb657bf3f2f8d78eb7948ebb089be31e51ec76119d84925347c4dea68b59",
strip_prefix = "cython-%s" % cython_version,
)
Loading

0 comments on commit 7cf70e8

Please sign in to comment.