Your message dated Mon, 17 Aug 2020 21:33:01 +0800
with message-id <[email protected]>
and subject line Re: numba: Bug#863501: RuntimeError: cannot cache function 
'simple_usecase' [amd64, i386, arm64]
has caused the Debian Bug report #863501,
regarding numba: RuntimeError: cannot cache function 'simple_usecase' [amd64, 
i386, arm64]
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
863501: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=863501
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: numba
Version: 0.33.0-1
Severity: serious

https://buildd.debian.org/status/fetch.php?pkg=numba&arch=i386&ver=0.33.0-1&stamp=1495914429&raw=0
https://buildd.debian.org/status/fetch.php?pkg=numba&arch=arm64&ver=0.33.0-1&stamp=1495916190&raw=0

This failure appeared in the tests:

<cut>
_____________________ TestCache.test_non_creatable_pycache _____________________

self = <numba.tests.test_dispatcher.TestCache 
testMethod=test_non_creatable_pycache>

    @unittest.skipIf(os.name == "nt",
                     "cannot easily make a directory read-only on Windows")
    def test_non_creatable_pycache(self):
        # Make it impossible to create the __pycache__ directory
        old_perms = os.stat(self.tempdir).st_mode
        os.chmod(self.tempdir, 0o500)
        self.addCleanup(os.chmod, self.tempdir, old_perms)
    
>       self._test_pycache_fallback()

numba/tests/test_dispatcher.py:954: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
numba/tests/test_dispatcher.py:926: in _test_pycache_fallback
    mod = self.import_module()
numba/tests/test_dispatcher.py:623: in import_module
    mod = import_dynamic(self.modname)
numba/tests/support.py:527: in import_dynamic
    __import__(modname)
/tmp/numba-tests.1000/test_cache-jXZpdc/dispatcher_caching_test_fodder.py:19: 
in <module>
    @jit(cache=True, nopython=True)
numba/decorators.py:175: in wrapper
    disp.enable_caching()
numba/dispatcher.py:490: in enable_caching
    self._cache = FunctionCache(self.py_func)
numba/caching.py:594: in __init__
    self._impl = self._impl_class(py_func)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <numba.caching.CompileResultCacheImpl object at 0x7feadcfd57d0>
py_func = <function simple_usecase at 0x7feadc384050>

    def __init__(self, py_func):
        self._is_closure = bool(py_func.__closure__)
        self._lineno = py_func.__code__.co_firstlineno
        # Get qualname
        try:
            qualname = py_func.__qualname__
        except AttributeError:
            qualname = py_func.__name__
        # Find a locator
        source_path = inspect.getfile(py_func)
        for cls in self._locator_classes:
            locator = cls.from_function(py_func, source_path)
            if locator is not None:
                break
        else:
            raise RuntimeError("cannot cache function %r: no locator available "
>                              "for file %r" % (qualname, source_path))
E           RuntimeError: cannot cache function 'simple_usecase': no locator 
available for file 
'/tmp/numba-tests.1000/test_cache-jXZpdc/dispatcher_caching_test_fodder.py'

numba/caching.py:330: RuntimeError
</cut>

-- 
4096R/DF5182C8
Debian Developer ([email protected])
http://www.danielstender.com/

--- End Message ---
--- Begin Message --- TestCache.test_non_creatable_pycache is now passing (numba 0.50.1-2) so closing this bug.
--- End Message ---
-- 
debian-science-maintainers mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-science-maintainers

Reply via email to