[Theano/Theano] 1b9804: OrderedDict cannot be imported from collections.ab...

1 view
Skip to first unread message

Frédéric Bastien

unread,
Feb 9, 2020, 9:55:09 PM2/9/20
to theano...@googlegroups.com
Branch: refs/heads/master
Home: https://github.com/Theano/Theano
Commit: 1b9804b65ecd008cfb424752e65aced92b63ff92
https://github.com/Theano/Theano/commit/1b9804b65ecd008cfb424752e65aced92b63ff92
Author: Miro Hrončok <mi...@hroncok.cz>
Date: 2020-02-04 (Tue, 04 Feb 2020)

Changed paths:
M theano/compat/__init__.py

Log Message:
-----------
OrderedDict cannot be imported from collections.abc, it is not abstract

See https://github.com/Theano/Theano/pull/6664#issuecomment-581845517


Commit: 4270277fe3884fb3a53ad9d7e8290fc5b200d2b5
https://github.com/Theano/Theano/commit/4270277fe3884fb3a53ad9d7e8290fc5b200d2b5
Author: Miro Hrončok <mi...@hroncok.cz>
Date: 2020-02-05 (Wed, 05 Feb 2020)

Changed paths:
M theano/compat/__init__.py
M theano/compile/nanguardmode.py
M theano/misc/frozendict.py
M theano/scalar/basic.py
M theano/tensor/subtensor.py

Log Message:
-----------
Move more collections.abc imports to theano.compat


Commit: 3c5de93cf5b393b57e920443dfabaf711c5fb2b3
https://github.com/Theano/Theano/commit/3c5de93cf5b393b57e920443dfabaf711c5fb2b3
Author: Miro Hrončok <mi...@hroncok.cz>
Date: 2020-02-05 (Wed, 05 Feb 2020)

Changed paths:
M theano/tensor/nnet/abstract_conv.py

Log Message:
-----------
Use math.gcd instead of fractions.gcd when possible

fractions.gcd() function has been removed from Python 3.9, it was
deprecated since Python 3.5.

https://docs.python.org/3.9/whatsnew/3.9.html#removed


Commit: 473d74ea47beae124bc1883730ad8c996ee941be
https://github.com/Theano/Theano/commit/473d74ea47beae124bc1883730ad8c996ee941be
Author: Frédéric Bastien <frederic...@gmail.com>
Date: 2020-02-09 (Sun, 09 Feb 2020)

Changed paths:
M theano/compat/__init__.py
M theano/compile/nanguardmode.py
M theano/misc/frozendict.py
M theano/scalar/basic.py
M theano/tensor/nnet/abstract_conv.py
M theano/tensor/subtensor.py

Log Message:
-----------
Merge pull request #6741 from hroncok/python39

Various Python 3.9 related import changes


Compare: https://github.com/Theano/Theano/compare/9016c7ad04d7...473d74ea47be
Reply all
Reply to author
Forward
0 new messages