Skip to content

Commit

Permalink
通过将"sparse_lut"包外置,实现向上兼容Python 3.11
Browse files Browse the repository at this point in the history
  • Loading branch information
ARCJ137442 committed Nov 30, 2022
1 parent 0cd86fb commit d2ad543
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pynars/utils/SparseLUT/__init__.py
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
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit d2ad543

Please sign in to comment.