Skip to content

Using Poetry#307

Open
JonathanWoollett-Light wants to merge 1 commit intoneuromorphs:developfrom
JonathanWoollett-Light:poetry
Open

Using Poetry#307
JonathanWoollett-Light wants to merge 1 commit intoneuromorphs:developfrom
JonathanWoollett-Light:poetry

Conversation

@JonathanWoollett-Light
Copy link
Copy Markdown

Improves dependency management and specifies the valid Python range.

Fixes #305
Closes #306

@JonathanWoollett-Light
Copy link
Copy Markdown
Author

My local test status

PS C:\Users\Jonathan\Documents\tonic> poetry run pytest
====================================================================== test session starts =======================================================================
platform win32 -- Python 3.12.10, pytest-8.4.1, pluggy-1.6.0
rootdir: C:\Users\Jonathan\Documents\tonic
configfile: pyproject.toml
collected 205 items                                                                                                                                               

test\test_audio_augmentations.py .....                                                                                                                      [  2%]
test\test_audio_transforms.py ........                                                                                                                      [  6%]
test\test_aug_caching.py .                                                                                                                                  [  6%]
test\test_caching.py FFFFF                                                                                                                                  [  9%]
test\test_chained_transforms.py ...                                                                                                                         [ 10%] 
test\test_datasets.py FF........FFFFFFFFFF..............                                                                                                    [ 27%]
test\test_dsec.py ............                                                                                                                              [ 33%]
test\test_io.py ...                                                                                                                                         [ 34%]
test\test_representations.py ........................................                                                                                       [ 54%]
test\test_sliced_dataset.py F                                                                                                                               [ 54%]
test\test_slicers.py .....                                                                                                                                  [ 57%] 
test\test_tonic_utils.py .ss                                                                                                                                [ 58%]
test\test_transforms.py .....................................................................................                                               [100%]

skipping the specific details which take up a lot of space

==================================================================== short test summary info ===================================================================== 
FAILED test/test_caching.py::test_memory_caching_pokerdvs - urllib.error.URLError: <urlopen error [Errno 11001] getaddrinfo failed>
FAILED test/test_caching.py::test_caching_pokerdvs - urllib.error.URLError: <urlopen error [Errno 11001] getaddrinfo failed>
FAILED test/test_caching.py::test_caching_transforms - urllib.error.URLError: <urlopen error [Errno 11001] getaddrinfo failed>
FAILED test/test_caching.py::test_caching_reset - urllib.error.URLError: <urlopen error [Errno 11001] getaddrinfo failed>
FAILED test/test_caching.py::test_caching_from_files - urllib.error.URLError: <urlopen error [Errno 11001] getaddrinfo failed>
FAILED test/test_datasets.py::ASLDVSTestCaseTest::test_feature_types - urllib.error.URLError: <urlopen error [Errno 11001] getaddrinfo failed>
FAILED test/test_datasets.py::ASLDVSTestCaseTest::test_num_examples - urllib.error.URLError: <urlopen error [Errno 11001] getaddrinfo failed>
FAILED test/test_datasets.py::EBSSATestCase::test_feature_types - urllib.error.URLError: <urlopen error [Errno 11001] getaddrinfo failed>
FAILED test/test_datasets.py::EBSSATestCase::test_num_examples - urllib.error.URLError: <urlopen error [Errno 11001] getaddrinfo failed>
FAILED test/test_datasets.py::ThreeET_EyetrackingTestCase::test_feature_types - urllib.error.URLError: <urlopen error [Errno 11001] getaddrinfo failed>
FAILED test/test_datasets.py::ThreeET_EyetrackingTestCase::test_num_examples - urllib.error.URLError: <urlopen error [Errno 11001] getaddrinfo failed>
FAILED test/test_datasets.py::NCaltech101TestCase::test_feature_types - urllib.error.URLError: <urlopen error [Errno 11001] getaddrinfo failed>
FAILED test/test_datasets.py::NCaltech101TestCase::test_num_examples - urllib.error.URLError: <urlopen error [Errno 11001] getaddrinfo failed>
FAILED test/test_datasets.py::NMNISTTestCaseTrain::test_feature_types - urllib.error.URLError: <urlopen error [Errno 11001] getaddrinfo failed>
FAILED test/test_datasets.py::NMNISTTestCaseTrain::test_num_examples - urllib.error.URLError: <urlopen error [Errno 11001] getaddrinfo failed>
FAILED test/test_datasets.py::NMNISTTestCaseTest::test_feature_types - urllib.error.URLError: <urlopen error [Errno 11001] getaddrinfo failed>
FAILED test/test_datasets.py::NMNISTTestCaseTest::test_num_examples - urllib.error.URLError: <urlopen error [Errno 11001] getaddrinfo failed>
FAILED test/test_sliced_dataset.py::test_sliced_dataset - urllib.error.URLError: <urlopen error [Errno 11001] getaddrinfo failed>
===================================================== 18 failed, 185 passed, 2 skipped, 4 warnings in 59.02s =====================================================

@JonathanWoollett-Light JonathanWoollett-Light force-pushed the poetry branch 4 times, most recently from 9114d7f to 7688eb1 Compare June 23, 2025 13:25
Improves dependency management and specifies the valid Python range.

The version of Python is necessarily restricted to support the latest versions of dependencies and the older version of numpy.

The GitHub actions have been updated to support this change drawing from https://github.com/snok/install-poetry?tab=readme-ov-file#running-on-windows.
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

Successfully merging this pull request may close these issues.

Improving dependency handling with Poetry Installing dependencies fails

1 participant