* Removed features deprecated in v0.13.0:
Value (and derived types) copy constructors
Single value (such as DateValue) index methods
DataBuf indexing.
* Deprecated many BasicIo methods (read, write, seek, etc.) that should not
be needed in Python scripts. Please let me know if this is a problem.
* Deprecated copy, write, and read(buffer) methods of Value (and
subclasses) that should not be needed in Python scripts. Please let me
know if this is a problem.
* Deprecated copy and write methods of Metadatum (and subclasses) that
should not be needed in Python scripts. Please let me know if this is a
problem.
* Deprecated 'buffer interface' to BasicIo, DataBuf, and PreviewImage. They
all have 'data()' to get their contents.
* Added binary wheels for Linux on arm64.
* Exiv2 struct member names with a trailing underscore have more Pythonic
aliases without the underscore.
* Add data() method to exiv2.PreviewImage, deprecate pData() method.
* Add data() method to exiv2.Image. This will replace using Image.io().
* Add data() method to exiv2.DataValue.
* BasicIo.read (& readOrThrow) now extract count from the buffer size.
* Invalidate data iterators if data is deleted. (Requires swig >= 4.4)
* Deprecated iteration of exiv2 "data" structure types.
* API CHANGE: exiv2.LogMsg.pythonHandler is replaced by exiv2.pythonHandler
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-exiv2?expand=0&rev=40
15 lines
530 B
Diff
15 lines
530 B
Diff
---
|
|
tests/test_basicio.py | 1 +
|
|
1 file changed, 1 insertion(+)
|
|
|
|
--- a/tests/test_basicio.py
|
|
+++ b/tests/test_basicio.py
|
|
@@ -33,6 +33,7 @@ class TestBasicIoModule(unittest.TestCas
|
|
cls.image_path = os.path.join(test_dir, 'image_02.jpg')
|
|
cls.data = b'The quick brown fox jumps over the lazy dog'
|
|
|
|
+ @unittest.skipIf('NONET' in os.environ, 'Requires network access')
|
|
@unittest.skipUnless(exiv2.versionInfo()['EXV_USE_CURL'],
|
|
'CurlIo not included')
|
|
def test_CurlIo(self):
|