sdispater/flask-orator

fake-factory needs to be replaced with faker in python 3.6

Opened this issue · 1 comments

raceback (most recent call last):
  File "src/main.py", line 3, in <module>
    from flask_orator import Orator
  File "C:\Users\mthomas\AppData\Local\Programs\Python\Python36-32\lib\site-packages\flask_orator\__init__.py", line 4, in <module>
    from orator import DatabaseManager, Model as BaseModel
  File "C:\Users\mthomas\AppData\Local\Programs\Python\Python36-32\lib\site-packages\orator\__init__.py", line 3, in <module>
    from .orm import Model, SoftDeletes, Collection, accessor, mutator, scope
  File "C:\Users\mthomas\AppData\Local\Programs\Python\Python36-32\lib\site-packages\orator\orm\__init__.py", line 7, in <module>
    from .factory import Factory
  File "C:\Users\mthomas\AppData\Local\Programs\Python\Python36-32\lib\site-packages\orator\orm\factory.py", line 5, in <module>
    from faker import Faker
  File "C:\Users\mthomas\AppData\Local\Programs\Python\Python36-32\lib\site-packages\faker\__init__.py", line 7, in <module>
    raise ImportError(error)
ImportError: The ``fake-factory`` package is now called ``Faker``.

Please update your requirements.

Yes. fake-factory changed its name to Faker which Orator depends on.

A bugfix version will be released in the coming week (see sdispater/orator#126)