Skip to content

Commit b5e4731

Browse files
author
rootware
committed
made python version 3.7 compatible
1 parent 252d7ff commit b5e4731

File tree

3 files changed

+83
-33
lines changed

3 files changed

+83
-33
lines changed

poetry.lock

Lines changed: 78 additions & 28 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
[tool.poetry]
22
name = "pyredactkit"
3-
version = "0.1.6"
3+
version = "0.1.8"
44
description = "Python cli tool to redact sensitive data"
55
authors = ["brootware <[email protected]>"]
66
license = "GNU"
77

88
[tool.poetry.dependencies]
9-
python = "^3.8"
9+
python = "^3.7"
1010
nltk = "^3.7"
11-
numpy = "^1.22.3"
11+
numpy = "<1.22.0"
1212

1313
[tool.poetry.dev-dependencies]
1414
pytest = "^7.1.2"
@@ -24,7 +24,7 @@ pyparsing = "^3.0.8"
2424
tomli = "^2.0.1"
2525
tqdm = "^4.64.0"
2626
nltk = "^3.7"
27-
numpy = "^1.22.3"
27+
numpy = "<1.22.0"
2828
rich = "^12.4.0"
2929

3030

pyredactkit/__main__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
if major != 3 or (major == 3 and minor < 7):
2222
print(
23-
f"PyRedactKit requires Python 3.8+, you are using {python_version}. Please install a higher Python version."
23+
f"PyRedactKit requires Python 3.7+, you are using {python_version}. Please install a higher Python version."
2424
)
2525
sys.exit(1)
2626

0 commit comments

Comments
 (0)