diff --git a/large_image/cache_util/cachefactory.py b/large_image/cache_util/cachefactory.py index b3b670d89..bdbc24399 100644 --- a/large_image/cache_util/cachefactory.py +++ b/large_image/cache_util/cachefactory.py @@ -115,7 +115,7 @@ def getFirstAvailableCache() -> Tuple[Optional[cachetools.Cache], Optional[threa f'Automatically setting `{cacheBackend}` as cache_backend from availableCaches', ) config.setConfig('cache_backend', cacheBackend) - return cache, cacheLock # type: ignore + return cache, cacheLock class CacheFactory: diff --git a/setup.py b/setup.py index eea3bd441..af612fedc 100644 --- a/setup.py +++ b/setup.py @@ -108,7 +108,10 @@ def prerelease_local_scheme(version): 'cachetools', 'palettable', 'Pillow', - 'numpy', + # Newer versions of numpy include some typing changes that may need to be addressed in + # large_image. + # https://github.com/numpy/numpy/issues/28076 + 'numpy<2.1.0', 'typing-extensions', ], extras_require=extraReqs, diff --git a/tox.ini b/tox.ini index dd65a21a1..877f4d4ae 100644 --- a/tox.ini +++ b/tox.ini @@ -379,7 +379,8 @@ testpaths = test girder/test_girder girder_annotation/test_annotation - sources/dicom/test_dicom + # TODO: re-enable dicom web plugin tests when it is converted to Girder 5 + # sources/dicom/test_dicom markers = singular: mark a test to run in a non-parallel environment. girder: mark a test as requiring girder