Skip to content

Commit

Permalink
Merge pull request #5 from dataiku/chore/update-python-versions
Browse files Browse the repository at this point in the history
Added support for Python versions 3.8 - 3.11
  • Loading branch information
AgatheG authored Apr 27, 2023
2 parents 9bd5ebc + 4b722d0 commit 168e20f
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 5 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## [Version 1.4.0](https://github.com/dataiku/dss-plugin-nlp-summarization/releases/tag/v1.4.0) - Python compatibility - 2023-04

- ✨ Added support for Python versions 3.8, 3.9, 3.10, 3.11

## [Version 1.3.0](https://github.com/dataiku/dss-plugin-nlp-summarization/releases/tag/v1.3.0) - UIF & Py3 Compat - 2022-06

- ✨ Add UIF and Python3 compatibility
13 changes: 11 additions & 2 deletions code-env/python/desc.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,15 @@
{
"acceptedPythonInterpreters": ["PYTHON27", "PYTHON36", "PYTHON37"],
"acceptedPythonInterpreters": [
"PYTHON27",
"PYTHON36",
"PYTHON37",
"PYTHON38",
"PYTHON39",
"PYTHON310",
"PYTHON311"
],
"forceConda": false,
"installCorePackages": true,
"corePackagesSet": "AUTO",
"installJupyterSupport": false
}
}
6 changes: 4 additions & 2 deletions code-env/python/spec/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
nltk==3.4.5
sumy==0.8.1
nltk==3.4.5; python_version < '3.8'
nltk==3.8.1; python_version >= '3.8'
sumy==0.8.1; python_version < '3.8'
sumy==0.11.0; python_version >= '3.8'
pycountry==19.8.18

2 changes: 1 addition & 1 deletion plugin.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"id": "text-summarization",
"version": "1.3.0",
"version": "1.4.0",
"meta": {
"label": "Text Summarization",
"category": "Natural Language Processing",
Expand Down

0 comments on commit 168e20f

Please sign in to comment.