Skip to content

Commit b08bfd2

Browse files
committed
[README] Add Py2 eol notice
- Add Python 2 end of life notice - Add full support for Python 3.6+ notice - Update dependency versions
1 parent 1232c6c commit b08bfd2

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

README.md

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -69,19 +69,17 @@ release notes](https://github.com/G-Node/python-odml/releases).
6969

7070
# Dependencies
7171

72-
* Python 2.7 or 3.5
72+
* Python 3.6+
7373
* Python packages:
7474

75-
* enum (version 0.4.4)
7675
* lxml (version 3.7.2)
77-
* yaml (version 3.12)
76+
* yaml (version >= 5.1)
7877
* rdflib (version >=4.2.2)
7978

8079
* These packages will be downloaded and installed automatically if the ```pip```
8180
method is used to install odML. Alternatively, they can be installed from the OS
8281
package manager. On Ubuntu, they are available as:
8382

84-
* python-enum
8583
* python-lxml
8684
* python-yaml
8785
* python-rdflib
@@ -93,6 +91,14 @@ release notes](https://github.com/G-Node/python-odml/releases).
9391
* libxslt1-dev
9492
* lib32z1-dev
9593

94+
## Previous Python versions
95+
96+
Python 2 has reached end of life. We will not keep any future versions of odml Python 2 compatible and also advertise using a Python version >= 3.6. If a Python version < 3.6 is a requirement, the following dependency needs to be installed as well:
97+
98+
* pip install
99+
* enum34 (version 0.4.4)
100+
* apt install
101+
* python-enum
96102

97103
# Building from source
98104

0 commit comments

Comments
 (0)