Skip to content

Python 3.5 support? #3465

Closed
Closed
@ahartikainen

Description

If you have questions about a specific use case, or you are not sure whether this is a bug or not, please post it to our discourse channel: https://discourse.pymc.io

Description of your problem

Hi, is Python 3.5 supported anymore?

/usr/local/envs/testenv_3.5_PYSTAN_latest_PYRO_latest_EMCEE_2/lib/python3.5/site-packages/_pytest/python.py:511: in _importtestmodule
    mod = self.fspath.pyimport(ensuresyspath=importmode)
/usr/local/envs/testenv_3.5_PYSTAN_latest_PYRO_latest_EMCEE_2/lib/python3.5/site-packages/py/_path/local.py:701: in pyimport
    __import__(modname)
<frozen importlib._bootstrap>:968: in _find_and_load
    ???
<frozen importlib._bootstrap>:957: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:664: in _load_unlocked
    ???
<frozen importlib._bootstrap>:634: in _load_backward_compatible
    ???
/usr/local/envs/testenv_3.5_PYSTAN_latest_PYRO_latest_EMCEE_2/lib/python3.5/site-packages/_pytest/assertion/rewrite.py:299: in load_module
    six.exec_(co, mod.__dict__)
arviz/tests/test_plots.py:8: in <module>
    import pymc3 as pm
/usr/local/envs/testenv_3.5_PYSTAN_latest_PYRO_latest_EMCEE_2/lib/python3.5/site-packages/pymc3/__init__.py:10: in <module>
    from .model_graph import model_to_graphviz
E     File "/usr/local/envs/testenv_3.5_PYSTAN_latest_PYRO_latest_EMCEE_2/lib/python3.5/site-packages/pymc3/model_graph.py", line 50
E       vars: MutableSet[RV] = set(self.var_list)
E           ^
E   SyntaxError: invalid syntax

Please provide any additional information below.
This happened after 9f3bba0

Versions and main components

  • PyMC3 Version: 3.6 git Master
  • Theano Version: 1.0.4
  • Python Version: Python 3.5.6
  • Operating system: ArviZ Docker (conda/miniconda3)
  • How did you install PyMC3: pip

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions