diff --git a/README.md b/README.md index e504d42..0175ee0 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ ## Installation -Note: As of conllu 4.0, Python 3.6 is required to install conllu. See [Notes on updating from 3.0 to 4.0](#notes-on-updating-from-30-to-40) +Note: As of conllu 5.0, Python 3.8 is required to install conllu. See [Notes on updating from 4.0 to 5.0](#notes-on-updating-from-40-to-50) ```bash pip install conllu @@ -25,6 +25,10 @@ Or, if you are using [conda](https://conda.io/docs/): conda install -c conda-forge conllu ``` +## Notes on updating from 4.0 to 5.0 + +Conllu version 5.0 drops support for Python 3.6 and 3.7 and requires Python 3.8 at a minimum. If you need support for older versions of python, you can always pin your install to an old version of conllu. You can install it with `pip install conllu==4.5.3`. + ## Notes on updating from 3.0 to 4.0 Conllu version 4.0 drops support for Python 2 and all versions of earlier than Python 3.6. If you need support for older versions of python, you can always pin your install to an old version of conllu. You can install it with `pip install conllu==3.1.1`. @@ -472,7 +476,7 @@ And that's it! Using these tricks you should be able to parse all the strange fi 4. (Alternative) If you just have one version of python installed, and don't want to go through the hassle of installing multiple version of python (hint: Install pyenv and pyenv-tox), **it's fine to run tox with just one version of python**: ```bash - tox -e py36 + tox -e py38 ``` 5. Make a pull request. Here's a [good guide on PRs from GitHub](https://help.github.com/articles/creating-a-pull-request-from-a-fork/). diff --git a/pyproject.toml b/pyproject.toml index 432b4b0..a0c59c7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -7,7 +7,7 @@ name = "conllu" version = "4.5.3" description = "CoNLL-U Parser parses a CoNLL-U formatted string into a nested python dictionary" readme = "README.md" -requires-python = ">=3.6" +requires-python = ">=3.8" authors = [{name = "Emil Stenström", email = "emil@emilstenstrom.se"}] license = {file = "LICENSE"} keywords = ["conllu", "conll", "conll-u", "parser", "nlp"] @@ -15,11 +15,11 @@ classifiers = [ "Programming Language :: Python", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3.6", - "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", "Operating System :: OS Independent", ]