Glymur 0.14.4__tar.gz → 0.14.5__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {glymur-0.14.4 → glymur-0.14.5}/.circleci/config.yml +12 -12
- {glymur-0.14.4 → glymur-0.14.5}/CHANGES.txt +3 -0
- {glymur-0.14.4 → glymur-0.14.5}/Glymur.egg-info/PKG-INFO +1 -1
- {glymur-0.14.4 → glymur-0.14.5}/Glymur.egg-info/SOURCES.txt +6 -7
- {glymur-0.14.4 → glymur-0.14.5}/PKG-INFO +1 -1
- {glymur-0.14.4 → glymur-0.14.5}/appveyor.yml +1 -1
- glymur-0.14.4/ci/travis-313.yaml → glymur-0.14.5/ci/ci-313.yaml +1 -0
- glymur-0.14.4/ci/travis-314.yaml → glymur-0.14.5/ci/ci-314-no-gdal.yaml +1 -1
- glymur-0.14.4/ci/travis-311-no-opj.yaml → glymur-0.14.5/ci/ci-314-no-opj.yaml +5 -5
- glymur-0.14.5/ci/ci-314.yaml +14 -0
- {glymur-0.14.4 → glymur-0.14.5}/docs/source/conf.py +1 -1
- {glymur-0.14.4 → glymur-0.14.5}/docs/source/whatsnew/0.14.rst +14 -0
- {glymur-0.14.4 → glymur-0.14.5}/glymur/_core_converter.py +1 -5
- {glymur-0.14.4 → glymur-0.14.5}/glymur/jp2k.py +1 -0
- {glymur-0.14.4 → glymur-0.14.5}/glymur/jp2kr.py +0 -1
- {glymur-0.14.4 → glymur-0.14.5}/glymur/version.py +1 -1
- {glymur-0.14.4 → glymur-0.14.5}/pyproject.toml +1 -1
- {glymur-0.14.4 → glymur-0.14.5}/tests/fixtures.py +7 -37
- {glymur-0.14.4 → glymur-0.14.5}/tests/test_commandline_jpeg2jp2.py +1 -6
- {glymur-0.14.4 → glymur-0.14.5}/tests/test_config.py +1 -22
- {glymur-0.14.4 → glymur-0.14.5}/tests/test_jpeg2jp2.py +0 -5
- glymur-0.14.4/azure-pipelines.yml +0 -30
- glymur-0.14.4/ci/travis-311.yaml +0 -13
- {glymur-0.14.4 → glymur-0.14.5}/.gitignore +0 -0
- {glymur-0.14.4 → glymur-0.14.5}/.readthedocs.yaml +0 -0
- {glymur-0.14.4 → glymur-0.14.5}/.travis.yml +0 -0
- {glymur-0.14.4 → glymur-0.14.5}/Glymur.egg-info/dependency_links.txt +0 -0
- {glymur-0.14.4 → glymur-0.14.5}/Glymur.egg-info/entry_points.txt +0 -0
- {glymur-0.14.4 → glymur-0.14.5}/Glymur.egg-info/requires.txt +0 -0
- {glymur-0.14.4 → glymur-0.14.5}/Glymur.egg-info/top_level.txt +0 -0
- {glymur-0.14.4 → glymur-0.14.5}/LICENSE.txt +0 -0
- {glymur-0.14.4 → glymur-0.14.5}/MANIFEST.in +0 -0
- {glymur-0.14.4 → glymur-0.14.5}/README.md +0 -0
- /glymur-0.14.4/ci/travis-311-no-gdal.yaml → /glymur-0.14.5/ci/ci-311.yaml +0 -0
- /glymur-0.14.4/ci/travis-312.yaml → /glymur-0.14.5/ci/ci-312.yaml +0 -0
- {glymur-0.14.4 → glymur-0.14.5}/ci/doc.yml +0 -0
- {glymur-0.14.4 → glymur-0.14.5}/ci/install.ps1 +0 -0
- {glymur-0.14.4 → glymur-0.14.5}/ci/run_script.sh +0 -0
- {glymur-0.14.4 → glymur-0.14.5}/ci/run_with_env.cmd +0 -0
- {glymur-0.14.4 → glymur-0.14.5}/ci/setup_env.sh +0 -0
- {glymur-0.14.4 → glymur-0.14.5}/conftest.py +0 -0
- {glymur-0.14.4 → glymur-0.14.5}/docs/Makefile +0 -0
- {glymur-0.14.4 → glymur-0.14.5}/docs/make.bat +0 -0
- {glymur-0.14.4 → glymur-0.14.5}/docs/requirements.txt +0 -0
- {glymur-0.14.4 → glymur-0.14.5}/docs/source/api.rst +0 -0
- {glymur-0.14.4 → glymur-0.14.5}/docs/source/detailed_installation.rst +0 -0
- {glymur-0.14.4 → glymur-0.14.5}/docs/source/goodstuff_alpha.png +0 -0
- {glymur-0.14.4 → glymur-0.14.5}/docs/source/how_do_i.rst +0 -0
- {glymur-0.14.4 → glymur-0.14.5}/docs/source/index.rst +0 -0
- {glymur-0.14.4 → glymur-0.14.5}/docs/source/introduction.rst +0 -0
- {glymur-0.14.4 → glymur-0.14.5}/docs/source/roadmap.rst +0 -0
- {glymur-0.14.4 → glymur-0.14.5}/docs/source/whatsnew/0.10.rst +0 -0
- {glymur-0.14.4 → glymur-0.14.5}/docs/source/whatsnew/0.11.rst +0 -0
- {glymur-0.14.4 → glymur-0.14.5}/docs/source/whatsnew/0.12.rst +0 -0
- {glymur-0.14.4 → glymur-0.14.5}/docs/source/whatsnew/0.13.rst +0 -0
- {glymur-0.14.4 → glymur-0.14.5}/docs/source/whatsnew/0.5.rst +0 -0
- {glymur-0.14.4 → glymur-0.14.5}/docs/source/whatsnew/0.6.rst +0 -0
- {glymur-0.14.4 → glymur-0.14.5}/docs/source/whatsnew/0.7.rst +0 -0
- {glymur-0.14.4 → glymur-0.14.5}/docs/source/whatsnew/0.8.rst +0 -0
- {glymur-0.14.4 → glymur-0.14.5}/docs/source/whatsnew/0.9.rst +0 -0
- {glymur-0.14.4 → glymur-0.14.5}/docs/source/whatsnew/index.rst +0 -0
- {glymur-0.14.4 → glymur-0.14.5}/glymur/__init__.py +0 -0
- {glymur-0.14.4 → glymur-0.14.5}/glymur/_iccprofile.py +0 -0
- {glymur-0.14.4 → glymur-0.14.5}/glymur/codestream.py +0 -0
- {glymur-0.14.4 → glymur-0.14.5}/glymur/command_line.py +0 -0
- {glymur-0.14.4 → glymur-0.14.5}/glymur/config.py +0 -0
- {glymur-0.14.4 → glymur-0.14.5}/glymur/core.py +0 -0
- {glymur-0.14.4 → glymur-0.14.5}/glymur/data/__init__.py +0 -0
- {glymur-0.14.4 → glymur-0.14.5}/glymur/data/goodstuff.j2k +0 -0
- {glymur-0.14.4 → glymur-0.14.5}/glymur/data/heliov.jpx +0 -0
- {glymur-0.14.4 → glymur-0.14.5}/glymur/data/nemo.jp2 +0 -0
- {glymur-0.14.4 → glymur-0.14.5}/glymur/jp2box.py +0 -0
- {glymur-0.14.4 → glymur-0.14.5}/glymur/jpeg.py +0 -0
- {glymur-0.14.4 → glymur-0.14.5}/glymur/lib/__init__.py +0 -0
- {glymur-0.14.4 → glymur-0.14.5}/glymur/lib/_tiff.py +0 -0
- {glymur-0.14.4 → glymur-0.14.5}/glymur/lib/openjp2.py +0 -0
- {glymur-0.14.4 → glymur-0.14.5}/glymur/lib/tiff.py +0 -0
- {glymur-0.14.4 → glymur-0.14.5}/glymur/options.py +0 -0
- {glymur-0.14.4 → glymur-0.14.5}/glymur/tiff.py +0 -0
- {glymur-0.14.4 → glymur-0.14.5}/setup.cfg +0 -0
- {glymur-0.14.4 → glymur-0.14.5}/tests/__init__.py +0 -0
- {glymur-0.14.4 → glymur-0.14.5}/tests/data/__init__.py +0 -0
- {glymur-0.14.4 → glymur-0.14.5}/tests/data/conformance/__init__.py +0 -0
- {glymur-0.14.4 → glymur-0.14.5}/tests/data/conformance/file1_xml.txt +0 -0
- {glymur-0.14.4 → glymur-0.14.5}/tests/data/conformance/file1_xml_box.txt +0 -0
- {glymur-0.14.4 → glymur-0.14.5}/tests/data/conformance/p0_02.j2k +0 -0
- {glymur-0.14.4 → glymur-0.14.5}/tests/data/conformance/p0_03.j2k +0 -0
- {glymur-0.14.4 → glymur-0.14.5}/tests/data/conformance/p0_06.j2k +0 -0
- {glymur-0.14.4 → glymur-0.14.5}/tests/data/conformance/p1_06.j2k +0 -0
- {glymur-0.14.4 → glymur-0.14.5}/tests/data/conformance/p1_07.j2k +0 -0
- {glymur-0.14.4 → glymur-0.14.5}/tests/data/conformance/p1_07.txt +0 -0
- {glymur-0.14.4 → glymur-0.14.5}/tests/data/from-openjpeg/__init__.py +0 -0
- {glymur-0.14.4 → glymur-0.14.5}/tests/data/from-openjpeg/edf_c2_1178956.jp2 +0 -0
- {glymur-0.14.4 → glymur-0.14.5}/tests/data/from-openjpeg/issue142.j2k +0 -0
- {glymur-0.14.4 → glymur-0.14.5}/tests/data/from-openjpeg/issue392.jp2 +0 -0
- {glymur-0.14.4 → glymur-0.14.5}/tests/data/from-openjpeg/issue396.jp2 +0 -0
- {glymur-0.14.4 → glymur-0.14.5}/tests/data/from-openjpeg/issue438.jp2 +0 -0
- {glymur-0.14.4 → glymur-0.14.5}/tests/data/from-openjpeg/issue626.j2k +0 -0
- {glymur-0.14.4 → glymur-0.14.5}/tests/data/from-openjpeg/jph_siz.txt +0 -0
- {glymur-0.14.4 → glymur-0.14.5}/tests/data/from-openjpeg/oj-ht-byte.jph +0 -0
- {glymur-0.14.4 → glymur-0.14.5}/tests/data/from-openjpeg/text_GBR.jp2 +0 -0
- {glymur-0.14.4 → glymur-0.14.5}/tests/data/from-openjpeg/text_GBR_rreq.txt +0 -0
- {glymur-0.14.4 → glymur-0.14.5}/tests/data/geo/0220000800_uuid.dat +0 -0
- {glymur-0.14.4 → glymur-0.14.5}/tests/data/geo/__init__.py +0 -0
- {glymur-0.14.4 → glymur-0.14.5}/tests/data/geo/gml.xml +0 -0
- {glymur-0.14.4 → glymur-0.14.5}/tests/data/misc/appended_xml_box.txt +0 -0
- {glymur-0.14.4 → glymur-0.14.5}/tests/data/misc/countries.xml +0 -0
- {glymur-0.14.4 → glymur-0.14.5}/tests/data/misc/decompression_parameters_type.txt +0 -0
- {glymur-0.14.4 → glymur-0.14.5}/tests/data/misc/default_compression_parameters_type.txt +0 -0
- {glymur-0.14.4 → glymur-0.14.5}/tests/data/misc/default_progression_order_changes_type.txt +0 -0
- {glymur-0.14.4 → glymur-0.14.5}/tests/data/misc/encoding_declaration.xml +0 -0
- {glymur-0.14.4 → glymur-0.14.5}/tests/data/misc/goodstuff_codestream_header.txt +0 -0
- {glymur-0.14.4 → glymur-0.14.5}/tests/data/misc/goodstuff_with_full_header.txt +0 -0
- {glymur-0.14.4 → glymur-0.14.5}/tests/data/misc/issue186_progression_order.txt +0 -0
- {glymur-0.14.4 → glymur-0.14.5}/tests/data/misc/issue398.dat +0 -0
- {glymur-0.14.4 → glymur-0.14.5}/tests/data/misc/issue405.dat +0 -0
- {glymur-0.14.4 → glymur-0.14.5}/tests/data/misc/issue549.dat +0 -0
- {glymur-0.14.4 → glymur-0.14.5}/tests/data/misc/issue555.xmp +0 -0
- {glymur-0.14.4 → glymur-0.14.5}/tests/data/misc/issue982.j2k +0 -0
- {glymur-0.14.4 → glymur-0.14.5}/tests/data/misc/multiple_precinct_size.txt +0 -0
- {glymur-0.14.4 → glymur-0.14.5}/tests/data/misc/nemo.txt +0 -0
- {glymur-0.14.4 → glymur-0.14.5}/tests/data/misc/nemo_dump_no_codestream.txt +0 -0
- {glymur-0.14.4 → glymur-0.14.5}/tests/data/misc/nemo_dump_no_codestream_no_xml.txt +0 -0
- {glymur-0.14.4 → glymur-0.14.5}/tests/data/misc/nemo_dump_no_xml.txt +0 -0
- {glymur-0.14.4 → glymur-0.14.5}/tests/data/misc/nemo_dump_short.txt +0 -0
- {glymur-0.14.4 → glymur-0.14.5}/tests/data/misc/nemo_with_codestream_header.txt +0 -0
- {glymur-0.14.4 → glymur-0.14.5}/tests/data/misc/nemo_xmp_box.txt +0 -0
- {glymur-0.14.4 → glymur-0.14.5}/tests/data/misc/no_jp2c.jp2 +0 -0
- {glymur-0.14.4 → glymur-0.14.5}/tests/data/misc/sgray.icc +0 -0
- {glymur-0.14.4 → glymur-0.14.5}/tests/data/misc/simple_rdf.txt +0 -0
- {glymur-0.14.4 → glymur-0.14.5}/tests/data/misc/simple_rdf.uuid-box.txt +0 -0
- {glymur-0.14.4 → glymur-0.14.5}/tests/data/misc/uint16.j2k +0 -0
- {glymur-0.14.4 → glymur-0.14.5}/tests/data/skimage/__init__.py +0 -0
- {glymur-0.14.4 → glymur-0.14.5}/tests/data/skimage/astronaut8.tif +0 -0
- {glymur-0.14.4 → glymur-0.14.5}/tests/data/skimage/astronaut8_stripped.tif +0 -0
- {glymur-0.14.4 → glymur-0.14.5}/tests/data/skimage/astronaut_s_uint16.tif +0 -0
- {glymur-0.14.4 → glymur-0.14.5}/tests/data/skimage/astronaut_uint16.tif +0 -0
- {glymur-0.14.4 → glymur-0.14.5}/tests/data/skimage/astronaut_ycbcr_jpeg_tiled.tif +0 -0
- {glymur-0.14.4 → glymur-0.14.5}/tests/data/skimage/goodstuff_32s.tif +0 -0
- {glymur-0.14.4 → glymur-0.14.5}/tests/data/skimage/moon.tif +0 -0
- {glymur-0.14.4 → glymur-0.14.5}/tests/data/skimage/moon3_partial_last_strip.tif +0 -0
- {glymur-0.14.4 → glymur-0.14.5}/tests/data/skimage/moon3_stripped.tif +0 -0
- {glymur-0.14.4 → glymur-0.14.5}/tests/data/skimage/moon63.tif +0 -0
- {glymur-0.14.4 → glymur-0.14.5}/tests/data/skimage/moon_2x2.tif +0 -0
- {glymur-0.14.4 → glymur-0.14.5}/tests/data/skimage/moon_3x3.tif +0 -0
- {glymur-0.14.4 → glymur-0.14.5}/tests/data/skimage/stripped.tif +0 -0
- {glymur-0.14.4 → glymur-0.14.5}/tests/data/skimage/ycbcr_bg.tif +0 -0
- {glymur-0.14.4 → glymur-0.14.5}/tests/data/skimage/ycbcr_stripped.tif +0 -0
- {glymur-0.14.4 → glymur-0.14.5}/tests/data/tiff/__init__.py +0 -0
- {glymur-0.14.4 → glymur-0.14.5}/tests/data/tiff/albers27-8.tif +0 -0
- {glymur-0.14.4 → glymur-0.14.5}/tests/data/tiff/albers27.tif +0 -0
- {glymur-0.14.4 → glymur-0.14.5}/tests/data/tiff/basn6a08.tif +0 -0
- {glymur-0.14.4 → glymur-0.14.5}/tests/data/tiff/cmyk.tif +0 -0
- {glymur-0.14.4 → glymur-0.14.5}/tests/data/tiff/degenerate_geotiff.tif +0 -0
- {glymur-0.14.4 → glymur-0.14.5}/tests/data/tiff/flower-separated-planar-08.tif +0 -0
- {glymur-0.14.4 → glymur-0.14.5}/tests/data/tiff/ieeefp32.tif +0 -0
- {glymur-0.14.4 → glymur-0.14.5}/tests/data/tiff/issue572.tif +0 -0
- {glymur-0.14.4 → glymur-0.14.5}/tests/data/tiff/issue678.tif +0 -0
- {glymur-0.14.4 → glymur-0.14.5}/tests/data/tiff/uint32.tif +0 -0
- {glymur-0.14.4 → glymur-0.14.5}/tests/data/tiff/warning.tif +0 -0
- {glymur-0.14.4 → glymur-0.14.5}/tests/test_callbacks.py +0 -0
- {glymur-0.14.4 → glymur-0.14.5}/tests/test_cinema.py +0 -0
- {glymur-0.14.4 → glymur-0.14.5}/tests/test_codestream.py +0 -0
- {glymur-0.14.4 → glymur-0.14.5}/tests/test_colour_specification_box.py +0 -0
- {glymur-0.14.4 → glymur-0.14.5}/tests/test_commandline_jp2dump.py +0 -0
- {glymur-0.14.4 → glymur-0.14.5}/tests/test_commandline_tiff2jp2.py +0 -0
- {glymur-0.14.4 → glymur-0.14.5}/tests/test_geo.py +0 -0
- {glymur-0.14.4 → glymur-0.14.5}/tests/test_jp2box.py +0 -0
- {glymur-0.14.4 → glymur-0.14.5}/tests/test_jp2box_jpx.py +0 -0
- {glymur-0.14.4 → glymur-0.14.5}/tests/test_jp2box_uuid.py +0 -0
- {glymur-0.14.4 → glymur-0.14.5}/tests/test_jp2box_xml.py +0 -0
- {glymur-0.14.4 → glymur-0.14.5}/tests/test_jp2k.py +0 -0
- {glymur-0.14.4 → glymur-0.14.5}/tests/test_jp2k_writes.py +0 -0
- {glymur-0.14.4 → glymur-0.14.5}/tests/test_jp2kr.py +0 -0
- {glymur-0.14.4 → glymur-0.14.5}/tests/test_libtiff.py +0 -0
- {glymur-0.14.4 → glymur-0.14.5}/tests/test_openjp2.py +0 -0
- {glymur-0.14.4 → glymur-0.14.5}/tests/test_printing.py +0 -0
- {glymur-0.14.4 → glymur-0.14.5}/tests/test_set_decoded_components.py +0 -0
- {glymur-0.14.4 → glymur-0.14.5}/tests/test_slicing.py +0 -0
- {glymur-0.14.4 → glymur-0.14.5}/tests/test_threading.py +0 -0
- {glymur-0.14.4 → glymur-0.14.5}/tests/test_tiff2jp2.py +0 -0
- {glymur-0.14.4 → glymur-0.14.5}/tests/test_warnings.py +0 -0
|
@@ -6,12 +6,12 @@ workflows:
|
|
|
6
6
|
version: 2
|
|
7
7
|
test:
|
|
8
8
|
jobs:
|
|
9
|
-
-
|
|
10
|
-
-
|
|
11
|
-
-
|
|
12
|
-
-
|
|
13
|
-
-
|
|
14
|
-
-
|
|
9
|
+
- ci-311
|
|
10
|
+
- ci-312
|
|
11
|
+
- ci-313
|
|
12
|
+
- ci-314-no-gdal
|
|
13
|
+
- ci-314-no-opj
|
|
14
|
+
- ci-314
|
|
15
15
|
|
|
16
16
|
test-template: &test-template
|
|
17
17
|
docker:
|
|
@@ -47,20 +47,20 @@ test-template: &test-template
|
|
|
47
47
|
pytest --doctest-modules glymur
|
|
48
48
|
|
|
49
49
|
jobs:
|
|
50
|
-
|
|
50
|
+
ci-311:
|
|
51
51
|
<<: *test-template
|
|
52
52
|
|
|
53
|
-
|
|
53
|
+
ci-312:
|
|
54
54
|
<<: *test-template
|
|
55
55
|
|
|
56
|
-
|
|
56
|
+
ci-313:
|
|
57
57
|
<<: *test-template
|
|
58
58
|
|
|
59
|
-
|
|
59
|
+
ci-314-no-gdal:
|
|
60
60
|
<<: *test-template
|
|
61
61
|
|
|
62
|
-
|
|
62
|
+
ci-314-no-opj:
|
|
63
63
|
<<: *test-template
|
|
64
64
|
|
|
65
|
-
|
|
65
|
+
ci-314:
|
|
66
66
|
<<: *test-template
|
|
@@ -6,7 +6,6 @@ LICENSE.txt
|
|
|
6
6
|
MANIFEST.in
|
|
7
7
|
README.md
|
|
8
8
|
appveyor.yml
|
|
9
|
-
azure-pipelines.yml
|
|
10
9
|
conftest.py
|
|
11
10
|
pyproject.toml
|
|
12
11
|
.circleci/config.yml
|
|
@@ -16,17 +15,17 @@ Glymur.egg-info/dependency_links.txt
|
|
|
16
15
|
Glymur.egg-info/entry_points.txt
|
|
17
16
|
Glymur.egg-info/requires.txt
|
|
18
17
|
Glymur.egg-info/top_level.txt
|
|
18
|
+
ci/ci-311.yaml
|
|
19
|
+
ci/ci-312.yaml
|
|
20
|
+
ci/ci-313.yaml
|
|
21
|
+
ci/ci-314-no-gdal.yaml
|
|
22
|
+
ci/ci-314-no-opj.yaml
|
|
23
|
+
ci/ci-314.yaml
|
|
19
24
|
ci/doc.yml
|
|
20
25
|
ci/install.ps1
|
|
21
26
|
ci/run_script.sh
|
|
22
27
|
ci/run_with_env.cmd
|
|
23
28
|
ci/setup_env.sh
|
|
24
|
-
ci/travis-311-no-gdal.yaml
|
|
25
|
-
ci/travis-311-no-opj.yaml
|
|
26
|
-
ci/travis-311.yaml
|
|
27
|
-
ci/travis-312.yaml
|
|
28
|
-
ci/travis-313.yaml
|
|
29
|
-
ci/travis-314.yaml
|
|
30
29
|
docs/Makefile
|
|
31
30
|
docs/make.bat
|
|
32
31
|
docs/requirements.txt
|
|
@@ -2,12 +2,12 @@ name: glymur
|
|
|
2
2
|
channels:
|
|
3
3
|
- conda-forge
|
|
4
4
|
dependencies:
|
|
5
|
-
- python
|
|
6
|
-
- gdal>=3.
|
|
5
|
+
- python>=3.14.0
|
|
6
|
+
- gdal>=3.11.0
|
|
7
7
|
- pillow
|
|
8
|
-
- libtiff>=4.
|
|
9
|
-
- lxml>=
|
|
10
|
-
- numpy>=2.
|
|
8
|
+
- libtiff>=4.7.1
|
|
9
|
+
- lxml>=6.0.2
|
|
10
|
+
- numpy>=2.3.3
|
|
11
11
|
- pip
|
|
12
12
|
- pytest-xdist
|
|
13
13
|
- scikit-image
|
|
@@ -81,7 +81,7 @@ copyright = '2013-2025, John Evans'
|
|
|
81
81
|
# The short X.Y version.
|
|
82
82
|
version = '0.14'
|
|
83
83
|
# The full version, including alpha/beta/rc tags.
|
|
84
|
-
release = '0.14.
|
|
84
|
+
release = '0.14.5'
|
|
85
85
|
|
|
86
86
|
# The language for content autogenerated by Sphinx. Refer to documentation
|
|
87
87
|
# for a list of supported languages.
|
|
@@ -2,6 +2,20 @@
|
|
|
2
2
|
Changes in glymur 0.14
|
|
3
3
|
######################
|
|
4
4
|
|
|
5
|
+
*****************
|
|
6
|
+
Changes in 0.14.5
|
|
7
|
+
*****************
|
|
8
|
+
|
|
9
|
+
* Suppress W291 warning from doctests
|
|
10
|
+
* Remove two debugging breakpoints
|
|
11
|
+
* Update CI infrastructure for names
|
|
12
|
+
* Update testing, deprecate python 3.11
|
|
13
|
+
* Use importlib.resources instead of importlib.metadata
|
|
14
|
+
* Remove custom chdir context manager
|
|
15
|
+
* Use sys.version() to determine if anaconda or not on tests
|
|
16
|
+
* Add libgdal-jp2openjpeg to CI
|
|
17
|
+
* Remove broken azure pipelines setup
|
|
18
|
+
|
|
5
19
|
*****************
|
|
6
20
|
Changes in 0.14.4
|
|
7
21
|
*****************
|
|
@@ -276,11 +276,7 @@ class _2JP2Converter(object):
|
|
|
276
276
|
|
|
277
277
|
b.seek(tag_offset)
|
|
278
278
|
|
|
279
|
-
|
|
280
|
-
dtype = tags[tag]["dtype"]
|
|
281
|
-
except IndexError:
|
|
282
|
-
breakpoint()
|
|
283
|
-
pass
|
|
279
|
+
dtype = tags[tag]["dtype"]
|
|
284
280
|
|
|
285
281
|
nvalues = tags[tag]["nvalues"]
|
|
286
282
|
payload = tags[tag]["payload"]
|
|
@@ -3,21 +3,18 @@ Test fixtures common to more than one test point.
|
|
|
3
3
|
"""
|
|
4
4
|
|
|
5
5
|
# Standard library imports
|
|
6
|
-
import importlib.
|
|
6
|
+
import importlib.resources as ir
|
|
7
7
|
import pathlib
|
|
8
|
-
import platform
|
|
9
8
|
import shutil
|
|
10
9
|
import sys
|
|
11
10
|
import tempfile
|
|
12
11
|
import unittest
|
|
13
12
|
|
|
14
13
|
# are we anaconda?
|
|
15
|
-
|
|
16
|
-
import conda # noqa : F401
|
|
17
|
-
except ImportError:
|
|
18
|
-
ANACONDA = False
|
|
19
|
-
else:
|
|
14
|
+
if 'conda' in sys.version.lower():
|
|
20
15
|
ANACONDA = True
|
|
16
|
+
else:
|
|
17
|
+
ANACONDA = False
|
|
21
18
|
|
|
22
19
|
# are we macports?
|
|
23
20
|
if sys.executable.startswith('/opt/local/Library/Frameworks/Python.framework'):
|
|
@@ -25,20 +22,6 @@ if sys.executable.startswith('/opt/local/Library/Frameworks/Python.framework'):
|
|
|
25
22
|
else:
|
|
26
23
|
MACPORTS = False
|
|
27
24
|
|
|
28
|
-
# are we a linux platform that can use importlib.metadata
|
|
29
|
-
if (
|
|
30
|
-
platform.system() == 'linux'
|
|
31
|
-
and platform.freedesktop_os_release()['id'] == 'opensuse-tumbleweed'
|
|
32
|
-
):
|
|
33
|
-
LINUX_WITH_GOOD_IMPORTLIBMETADATA = True
|
|
34
|
-
else:
|
|
35
|
-
LINUX_WITH_GOOD_IMPORTLIBMETADATA = False
|
|
36
|
-
|
|
37
|
-
if ANACONDA or MACPORTS or LINUX_WITH_GOOD_IMPORTLIBMETADATA:
|
|
38
|
-
CANNOT_USE_IMPORTLIB_METADATA = False
|
|
39
|
-
else:
|
|
40
|
-
CANNOT_USE_IMPORTLIB_METADATA = True
|
|
41
|
-
|
|
42
25
|
# 3rd party library imports
|
|
43
26
|
try:
|
|
44
27
|
from osgeo import gdal # noqa : F401
|
|
@@ -107,22 +90,9 @@ class TestJPEGCommon(TestCommon):
|
|
|
107
90
|
Use some files supplied by scikit-image for our tests.
|
|
108
91
|
"""
|
|
109
92
|
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
cls.retina = jpeg.locate()
|
|
114
|
-
|
|
115
|
-
jpeg = next(
|
|
116
|
-
filter(lambda x: 'hubble_deep_field' in x.name, files),
|
|
117
|
-
None
|
|
118
|
-
)
|
|
119
|
-
cls.hubble = jpeg.locate()
|
|
120
|
-
|
|
121
|
-
jpeg = next(
|
|
122
|
-
filter(lambda x: 'rocket' in x.name, files),
|
|
123
|
-
None
|
|
124
|
-
)
|
|
125
|
-
cls.rocket = jpeg.locate()
|
|
93
|
+
cls.retina = ir.files('skimage') / 'data' / 'retina.jpg'
|
|
94
|
+
cls.hubble = ir.files('skimage') / 'data' / 'hubble_deep_field.jpg'
|
|
95
|
+
cls.rocket = ir.files('skimage') / 'data' / 'rocket.jpg'
|
|
126
96
|
|
|
127
97
|
def setUp(self):
|
|
128
98
|
super().setUp()
|
|
@@ -13,16 +13,11 @@ from glymur import JPEG2JP2, command_line, reset_option
|
|
|
13
13
|
from . import fixtures
|
|
14
14
|
from .fixtures import (
|
|
15
15
|
OPENJPEG_NOT_AVAILABLE,
|
|
16
|
-
OPENJPEG_NOT_AVAILABLE_MSG
|
|
17
|
-
CANNOT_USE_IMPORTLIB_METADATA
|
|
16
|
+
OPENJPEG_NOT_AVAILABLE_MSG
|
|
18
17
|
)
|
|
19
18
|
|
|
20
19
|
|
|
21
20
|
@unittest.skipIf(OPENJPEG_NOT_AVAILABLE, OPENJPEG_NOT_AVAILABLE_MSG)
|
|
22
|
-
@unittest.skipIf(
|
|
23
|
-
CANNOT_USE_IMPORTLIB_METADATA,
|
|
24
|
-
'missing importlib.metadata.files ?'
|
|
25
|
-
)
|
|
26
21
|
class TestSuite(fixtures.TestJPEGCommon):
|
|
27
22
|
|
|
28
23
|
def test_smoke(self):
|
|
@@ -5,7 +5,6 @@ OPENJP2 may be present in some form or other.
|
|
|
5
5
|
# Standard library imports ...
|
|
6
6
|
import contextlib
|
|
7
7
|
import importlib
|
|
8
|
-
import os
|
|
9
8
|
import pathlib
|
|
10
9
|
import platform
|
|
11
10
|
import unittest
|
|
@@ -18,26 +17,6 @@ from glymur import Jp2k
|
|
|
18
17
|
from .fixtures import TestCommon, OPENJPEG_NOT_AVAILABLE, OPENJPEG_NOT_AVAILABLE_MSG # noqa : E501
|
|
19
18
|
|
|
20
19
|
|
|
21
|
-
@contextlib.contextmanager
|
|
22
|
-
def chdir(dirname=None):
|
|
23
|
-
"""
|
|
24
|
-
This context manager restores the value of the current working directory
|
|
25
|
-
(cwd) after the enclosed code block completes or raises an exception. If a
|
|
26
|
-
directory name is supplied to the context manager then the cwd is changed
|
|
27
|
-
prior to running the code block.
|
|
28
|
-
|
|
29
|
-
Shamelessly lifted from
|
|
30
|
-
http://www.astropython.org/snippet/2009/10/chdir-context-manager
|
|
31
|
-
"""
|
|
32
|
-
curdir = os.getcwd()
|
|
33
|
-
try:
|
|
34
|
-
if dirname is not None:
|
|
35
|
-
os.chdir(dirname)
|
|
36
|
-
yield
|
|
37
|
-
finally:
|
|
38
|
-
os.chdir(curdir)
|
|
39
|
-
|
|
40
|
-
|
|
41
20
|
@patch("glymur.config.glymurrc_fname", lambda: None)
|
|
42
21
|
class TestSuitePathToLibrary(TestCommon):
|
|
43
22
|
"""
|
|
@@ -331,7 +310,7 @@ class TestSuiteConfigFile(TestCommon):
|
|
|
331
310
|
f.write("[library]\n")
|
|
332
311
|
f.write(f"openjp2: {expected}\n")
|
|
333
312
|
|
|
334
|
-
with chdir(self.glymur_configdir):
|
|
313
|
+
with contextlib.chdir(self.glymur_configdir):
|
|
335
314
|
# Should be able to load openjp2 as before.
|
|
336
315
|
actual = glymur.config.read_config_file("openjp2")
|
|
337
316
|
|
|
@@ -17,15 +17,10 @@ from . import fixtures
|
|
|
17
17
|
from .fixtures import (
|
|
18
18
|
OPENJPEG_NOT_AVAILABLE,
|
|
19
19
|
OPENJPEG_NOT_AVAILABLE_MSG,
|
|
20
|
-
CANNOT_USE_IMPORTLIB_METADATA
|
|
21
20
|
)
|
|
22
21
|
|
|
23
22
|
|
|
24
23
|
@unittest.skipIf(OPENJPEG_NOT_AVAILABLE, OPENJPEG_NOT_AVAILABLE_MSG)
|
|
25
|
-
@unittest.skipIf(
|
|
26
|
-
CANNOT_USE_IMPORTLIB_METADATA,
|
|
27
|
-
'missing importlib.metadata.files ?'
|
|
28
|
-
)
|
|
29
24
|
class TestSuite(fixtures.TestJPEGCommon):
|
|
30
25
|
|
|
31
26
|
def test_smoke(self):
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
# Python package
|
|
2
|
-
# Create and test a Python package on multiple Python versions.
|
|
3
|
-
# Add steps that analyze code, save the dist with the build record, publish to a PyPI-compatible index, and more:
|
|
4
|
-
# https://docs.microsoft.com/azure/devops/pipelines/languages/python
|
|
5
|
-
|
|
6
|
-
trigger:
|
|
7
|
-
- master
|
|
8
|
-
|
|
9
|
-
pool:
|
|
10
|
-
vmImage: ubuntu-latest
|
|
11
|
-
strategy:
|
|
12
|
-
matrix:
|
|
13
|
-
Python37:
|
|
14
|
-
python.version: '3.7'
|
|
15
|
-
|
|
16
|
-
steps:
|
|
17
|
-
- task: UsePythonVersion@0
|
|
18
|
-
inputs:
|
|
19
|
-
versionSpec: '$(python.version)'
|
|
20
|
-
displayName: 'Use Python $(python.version)'
|
|
21
|
-
|
|
22
|
-
- script: |
|
|
23
|
-
python -m pip install --upgrade pip
|
|
24
|
-
pip install -r requirements.txt
|
|
25
|
-
displayName: 'Install dependencies'
|
|
26
|
-
|
|
27
|
-
- script: |
|
|
28
|
-
pip install pytest pytest-azurepipelines
|
|
29
|
-
pytest
|
|
30
|
-
displayName: 'pytest'
|
glymur-0.14.4/ci/travis-311.yaml
DELETED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|