suppress warnings: writable strings, deprecate numpy api