Skip to content

Commit 9b50595

Browse files
jpulecatodorov
authored andcommitted
Pin Faker to Prevent Asteroid Crash
There's some sort of issue with version 5.0.2 of Faker which updates a lot of code to use the pathlib library instead of os utils. This causes the sys.path_importer_cache to get filled with PosixPath objects instead of strings as it's keys, which causes an asteroid crash. For now, we can just pin Faker to a version that still works until the upstream issue is resolved.
1 parent ce6c3e9 commit 9b50595

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
install_requires=[
2020
'pylint-plugin-utils>=0.5',
2121
'pylint>=2.0',
22+
'Faker==5.0.1',
2223
],
2324
extras_require={
2425
'with_django': ['Django'],

0 commit comments

Comments
 (0)