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

make check.test fails #18

Open
hemna opened this issue Apr 18, 2024 · 0 comments
Open

make check.test fails #18

hemna opened this issue Apr 18, 2024 · 0 comments

Comments

@hemna
Copy link

hemna commented Apr 18, 2024

I just cloned the repo on my mac and created a virtual env, sourced it and ran make check.test.

╭─pyReaderWriterLock on  master [?] via 🐍 v3.10.13 (.venv) ❯
└─> make check.test
export PYTHONPATH=.; python3 "-m" "unittest" "discover" "-s" "tests/"
date: illegal option -- -
usage: date [-jnRu] [-I[date|hours|minutes|seconds]] [-f input_fmt]
            [-r filename|seconds] [-v[+|-]val[y|m|w|d|H|M|S]]
            [[[[mm]dd]HH]MM[[cc]yy][.SS] | new_date] [+output_fmt]
EE
======================================================================
ERROR: test_rwlock (unittest.loader._FailedTest)
----------------------------------------------------------------------
ImportError: Failed to import test module: test_rwlock
Traceback (most recent call last):
  File "/Users/I530566/.pyenv/versions/3.10.13/lib/python3.10/unittest/loader.py", line 436, in _find_test_path
    module = self._get_module_from_name(name)
  File "/Users/I530566/.pyenv/versions/3.10.13/lib/python3.10/unittest/loader.py", line 377, in _get_module_from_name
    __import__(name)
  File "/Users/I530566/tmp/pyReaderWriterLock/tests/test_rwlock.py", line 15, in <module>
    from readerwriterlock import rwlock
  File "/Users/I530566/tmp/pyReaderWriterLock/readerwriterlock/rwlock.py", line 15, in <module>
    from typing_extensions import Protocol
ModuleNotFoundError: No module named 'typing_extensions'


======================================================================
ERROR: test_rwlock_async (unittest.loader._FailedTest)
----------------------------------------------------------------------
ImportError: Failed to import test module: test_rwlock_async
Traceback (most recent call last):
  File "/Users/I530566/.pyenv/versions/3.10.13/lib/python3.10/unittest/loader.py", line 436, in _find_test_path
    module = self._get_module_from_name(name)
  File "/Users/I530566/.pyenv/versions/3.10.13/lib/python3.10/unittest/loader.py", line 377, in _get_module_from_name
    __import__(name)
  File "/Users/I530566/tmp/pyReaderWriterLock/tests/test_rwlock_async.py", line 15, in <module>
    from readerwriterlock import rwlock_async
  File "/Users/I530566/tmp/pyReaderWriterLock/readerwriterlock/rwlock_async.py", line 16, in <module>
    from typing_extensions import Protocol
ModuleNotFoundError: No module named 'typing_extensions'


----------------------------------------------------------------------
Ran 2 tests in 0.000s

FAILED (errors=2)
make: *** [check.test] Error 1
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

1 participant