Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failure to import python 3.5.4 on Windows #227

Closed
jdclarke5 opened this issue May 7, 2020 · 2 comments
Closed

Failure to import python 3.5.4 on Windows #227

jdclarke5 opened this issue May 7, 2020 · 2 comments

Comments

@jdclarke5
Copy link

What action do you want to perform

Import and use package using Python 3.5.4 running on Windows.

What are the results

>>> from pytest_mongo import factories                                                                                                                                                           Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "C:\Users\Jackson Clarke\AppData\Local\Programs\Python\Python35\lib\site-packages\pytest_mongo\factories.py", line 25, in <module>
    from mirakuru import TCPExecutor
  File "C:\Users\Jackson Clarke\AppData\Local\Programs\Python\Python35\lib\site-packages\mirakuru\__init__.py", line 24, in <module>
    from mirakuru.output import OutputExecutor
  File "C:\Users\Jackson Clarke\AppData\Local\Programs\Python\Python35\lib\site-packages\mirakuru\output.py", line 30, in <module>
    class OutputExecutor(SimpleExecutor):
  File "C:\Users\Jackson Clarke\AppData\Local\Programs\Python\Python35\lib\site-packages\mirakuru\output.py", line 107, in OutputExecutor
    def _wait_for_output(self, *polls: Tuple[select.poll, IO[Any]]) -> bool:
AttributeError: module 'select' has no attribute 'poll'

What are the expected results

Successful import. Not sure if Python 3.5 is the problem (is it supported?), or Windows. May be similar to github.com/ClearcodeHQ/mirakuru/pull/333.

@jdclarke5 jdclarke5 changed the title Failure to import python 3.5.4 Failure to import python 3.5.4 on Windows May 7, 2020
@fizyk
Copy link
Member

fizyk commented May 8, 2020

@jdclarke5 that issue is strictly related with mirakuru, however it's not tested on windows, and I do not have that much time at the moment to spend on proper Windows support there. However I welcome all help here

References:

ClearcodeHQ/mirakuru#392

@fizyk
Copy link
Member

fizyk commented May 8, 2020

actually I'm marking this as duplicate for this: ClearcodeHQ/mirakuru#336.

@jdclarke5 please subscribe to both related stories, and I'll welcome any contribution in that direction.

@fizyk fizyk closed this as completed May 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants