-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
通过将"sparse_lut"包外置,实现向上兼容Python 3.11
- Loading branch information
1 parent
0cd86fb
commit d2ad543
Showing
2 changed files
with
2 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
import warnings | ||
|
||
from .sparse_lut import SparseLUT | ||
from sparse_lut import SparseLUT # Directly import as an outer module that can let PyNARS run in Python 3.11 | ||
from typing import Any |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,4 +16,4 @@ sty>=1.0.0rc2 | |
tqdm<=3.1.4 | ||
typing>=3.7.4.3 | ||
typing_extensions>=4.0.1 | ||
sparse-lut | ||
sparse-lut>=1.0.0 |