Skip to content

Commit be68f0d

Browse files
doc: add note on python3.6 issues
1 parent 37ee0e6 commit be68f0d

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

README.rst

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,3 +102,21 @@ More usage examples
102102
-------------------
103103
See the `documentation <https://pytorch-datastream.readthedocs.io/en/latest/>`_
104104
for more usage examples.
105+
106+
107+
Python 3.6 support
108+
==================
109+
Release `0.3.2` and later have a build specifically supporting `Python 3.6`.
110+
These builds can be found under the build name `+python3.6`. (E.g. `pytorch-datastream==0.3.2+python3.6`)
111+
The `Python 3.6` build is functionally equivalent however some of the type hinting was sacrificed to support `Python 3.6`.
112+
113+
Releases prior to version `0.3.2` are wrongly marked as supported by `Python 3`.
114+
`Python 3.6` and older will crash on import of `pytorch-datastream` for those releases.
115+
116+
Patch for Python 3.6
117+
--------------------
118+
To patch the code locally for `Python 3.6` run `patch-python3.6.sh`.
119+
120+
.. code-block:: bash
121+
122+
$ ./patch-python3.6.sh

0 commit comments

Comments
 (0)