[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#791358: nmu: snimpy_0.8.6-1



 ❦  5 juillet 2015 21:04 +0200, Emilio Pozuelo Monfort <pochu@debian.org> :

>> User: release.debian.org@packages.debian.org
>> Usertags: binnmu
>> 
>> nmu snimpy_0.8.6-1 . ALL . -m "New python-cffi version"
>> 
>> Currently, a module depending on python-cffi must depend on the exact
>> source version of python-cffi, hence the rebuild. This will change in
>> the future: the python-cffi module will do the appropriate
>> substitution for the supported API version.
>
> That's not the case for all the other rdeps:
[...]

> Why does snimpy have to depend on the exact version while the others
> don't?

Other rdeps should have done the same and are currently broken. For example:

$ python -c 'import nacl.secret'
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/lib/python2.7/dist-packages/nacl/secret.py", line 17, in <module>
    import nacl.c
  File "/usr/lib/python2.7/dist-packages/nacl/c/__init__.py", line 16, in <module>
    from nacl.c.crypto_box import (
  File "/usr/lib/python2.7/dist-packages/nacl/c/crypto_box.py", line 23, in <module>
    crypto_box_SECRETKEYBYTES = lib.crypto_box_secretkeybytes()
  File "/usr/lib/python2.7/dist-packages/nacl/_lib/__init__.py", line 73, in __getattr__
    self._lib = self.ffi.verifier.load_library()
  File "/usr/lib/python2.7/dist-packages/cffi/verifier.py", line 95, in load_library
    self._write_source()
  File "/usr/lib/python2.7/dist-packages/cffi/verifier.py", line 183, in _write_source
    with open(self.sourcefilename, "w") as fp:
IOError: [Errno 2] No such file or directory: '/usr/lib/python2.7/dist-packages/nacl/_lib/__pycache__/_cffi__x8693771ax46dd36a.c'
$ dpkg -L python-nacl | grep _cffi__
/usr/lib/python2.7/dist-packages/nacl/_lib/_cffi__xa19d674axefb54d7c.x86_64-linux-gnu.so
-- 
"Elves and Dragons!" I says to him.  "Cabbages and potatoes are better
for you and me."
		-- J. R. R. Tolkien

Attachment: signature.asc
Description: PGP signature


Reply to: