Skip to content

Commit eee133d

Browse files
Alexandre LandeauAlexandre Landeau
authored andcommitted
updated license, rolled back package version changes, updated Makefile to allow run on new python versions
1 parent 1a66e86 commit eee133d

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@
186186
same "printed page" as the copyright notice for easier
187187
identification within third-party archives.
188188

189-
Copyright 2021 Dataiku
189+
Copyright 2023 Dataiku
190190

191191
Licensed under the Apache License, Version 2.0 (the "License");
192192
you may not use this file except in compliance with the License.

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ plugin:
2121
unit-tests:
2222
@echo "Running unit tests..."
2323
@( \
24-
PYTHON_VERSION=`python3 -V 2>&1 | sed 's/[^0-9]*//g' | cut -c 1,2`; \
25-
PYTHON_VERSION_IS_CORRECT=`cat code-env/python/desc.json | python3 -c "import sys, json; print(str($$PYTHON_VERSION) in [x[-2:] for x in json.load(sys.stdin)['acceptedPythonInterpreters']]);"`; \
24+
PYTHON_VERSION=`python3 -c "import sys; print('PYTHON{}{}'.format(sys.version_info.major, sys.version_info.minor))"`; \
25+
PYTHON_VERSION_IS_CORRECT=`cat code-env/python/desc.json | python3 -c "import sys, json; print('$$PYTHON_VERSION' in json.load(sys.stdin)['acceptedPythonInterpreters']);"`; \
2626
if [ $$PYTHON_VERSION_IS_CORRECT == "False" ]; then echo "Python version $$PYTHON_VERSION is not in acceptedPythonInterpreters"; exit 1; else echo "Python version $$PYTHON_VERSION is in acceptedPythonInterpreters"; fi; \
2727
)
2828
@( \

code-env/python/spec/requirements.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ pyvi==0.1
66
regex==2021.4.4
77
spacy[lookups,ja,th]==3.0.7; python_version < '3.9'
88
spacy[lookups,ja,th]==3.5.2; python_version >= '3.9'
9-
emoji==0.6.0
9+
emoji==1.2.0
1010
tqdm==4.60.0
1111
matplotlib==3.3.1
1212
wordcloud==1.8.0; python_version < '3.9'
1313
wordcloud==1.8.2.2; python_version >= '3.9'
1414
fonttools==4.14.0
1515
pathvalidate==2.3.0
16-
fastcore==1.3.1
16+
fastcore==1.3.19
1717
sudachipy==0.6.0; python_version == '3.6'

0 commit comments

Comments
 (0)