--- /srv/reproducible-results/rbuild-debian/r-b-build.qwxA22Fp/b1/python-asdf_2.7.2-1_arm64.changes +++ /srv/reproducible-results/rbuild-debian/r-b-build.qwxA22Fp/b2/python-asdf_2.7.2-1_arm64.changes ├── Files │ @@ -1,4 +1,4 @@ │ │ 7c34c21c2462ac88d9ec87cdd3be2aca 12548 science optional asdftool_2.7.2-1_all.deb │ - e0267431680e7174ceefed0d2c330f72 244004 doc optional python-asdf-doc_2.7.2-1_all.deb │ + caea142c5f916fdab719a2ed793361dd 244000 doc optional python-asdf-doc_2.7.2-1_all.deb │ ab84bfa5bec17a1b6f0e903309028d95 333100 python optional python3-asdf_2.7.2-1_all.deb ├── python-asdf-doc_2.7.2-1_all.deb │ ├── file list │ │ @@ -1,3 +1,3 @@ │ │ -rw-r--r-- 0 0 0 4 2021-01-22 20:29:19.000000 debian-binary │ │ -rw-r--r-- 0 0 0 4588 2021-01-22 20:29:19.000000 control.tar.xz │ │ --rw-r--r-- 0 0 0 239224 2021-01-22 20:29:19.000000 data.tar.xz │ │ +-rw-r--r-- 0 0 0 239220 2021-01-22 20:29:19.000000 data.tar.xz │ ├── control.tar.xz │ │ ├── control.tar │ │ │ ├── ./md5sums │ │ │ │ ├── ./md5sums │ │ │ │ │┄ Files differ │ ├── data.tar.xz │ │ ├── data.tar │ │ │ ├── ./usr/share/doc/python-asdf-doc/html/asdf/extensions.html │ │ │ │┄ Ordering differences only │ │ │ │ @@ -183,19 +183,19 @@ │ │ │ │ %TAG ! tag:stsci.edu:asdf/ │ │ │ │ --- !core/asdf-1.1.0 │ │ │ │ asdf_library: !core/software-1.0.0 {author: Space Telescope Science Institute, homepage: 'http://github.com/spacetelescope/asdf', │ │ │ │ name: asdf, version: 2.7.2} │ │ │ │ history: │ │ │ │ extensions: │ │ │ │ - !core/extension_metadata-1.0.0 │ │ │ │ - extension_class: asdf.extension.BuiltinExtension │ │ │ │ - software: !core/software-1.0.0 {name: asdf, version: 2.7.2} │ │ │ │ - - !core/extension_metadata-1.0.0 │ │ │ │ extension_class: builtins.FractionExtension │ │ │ │ software: !core/software-1.0.0 {name: '', version: ''} │ │ │ │ + - !core/extension_metadata-1.0.0 │ │ │ │ + extension_class: asdf.extension.BuiltinExtension │ │ │ │ + software: !core/software-1.0.0 {name: asdf, version: 2.7.2} │ │ │ │ fraction: !<tag:nowhere.org:custom/fraction-1.0.0> [10, 3] │ │ │ │ ... │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │
│ │ │ │

Defining custom types

│ │ │ │ @@ -401,19 +401,19 @@ │ │ │ │ %TAG ! tag:stsci.edu:asdf/ │ │ │ │ --- !core/asdf-1.1.0 │ │ │ │ asdf_library: !core/software-1.0.0 {author: Space Telescope Science Institute, homepage: 'http://github.com/spacetelescope/asdf', │ │ │ │ name: asdf, version: 2.7.2} │ │ │ │ history: │ │ │ │ extensions: │ │ │ │ - !core/extension_metadata-1.0.0 │ │ │ │ - extension_class: asdf.extension.BuiltinExtension │ │ │ │ - software: !core/software-1.0.0 {name: asdf, version: 2.7.2} │ │ │ │ - - !core/extension_metadata-1.0.0 │ │ │ │ extension_class: builtins.FractionExtension │ │ │ │ software: !core/software-1.0.0 {name: '', version: ''} │ │ │ │ + - !core/extension_metadata-1.0.0 │ │ │ │ + extension_class: asdf.extension.BuiltinExtension │ │ │ │ + software: !core/software-1.0.0 {name: asdf, version: 2.7.2} │ │ │ │ coordinate: !<tag:nowhere.org:custom/fractional_2d_coord-1.0.0> │ │ │ │ x: !<tag:nowhere.org:custom/fraction-1.0.0> {denominator: 7, numerator: 22} │ │ │ │ y: !<tag:nowhere.org:custom/fraction-1.0.0> {denominator: 113, numerator: 355} │ │ │ │ ... │ │ │ │
│ │ │ │ │ │ │ │

Note that in the resulting ASDF file, the x and y components of │ │ │ │ ├── html2text {} │ │ │ │ │ @@ -134,19 +134,19 @@ │ │ │ │ │ --- !core/asdf-1.1.0 │ │ │ │ │ asdf_library: !core/software-1.0.0 {author: Space Telescope Science Institute, │ │ │ │ │ homepage: 'http://github.com/spacetelescope/asdf', │ │ │ │ │ name: asdf, version: 2.7.2} │ │ │ │ │ history: │ │ │ │ │ extensions: │ │ │ │ │ - !core/extension_metadata-1.0.0 │ │ │ │ │ - extension_class: asdf.extension.BuiltinExtension │ │ │ │ │ - software: !core/software-1.0.0 {name: asdf, version: 2.7.2} │ │ │ │ │ - - !core/extension_metadata-1.0.0 │ │ │ │ │ extension_class: builtins.FractionExtension │ │ │ │ │ software: !core/software-1.0.0 {name: '', version: ''} │ │ │ │ │ + - !core/extension_metadata-1.0.0 │ │ │ │ │ + extension_class: asdf.extension.BuiltinExtension │ │ │ │ │ + software: !core/software-1.0.0 {name: asdf, version: 2.7.2} │ │ │ │ │ fraction: ! [10, 3] │ │ │ │ │ ... │ │ │ │ │ ***** Defining custom types¶ ***** │ │ │ │ │ In the example above, we showed how to create an extension that is capable of │ │ │ │ │ serializing fractions.Fraction. The custom tag type that we created was defined │ │ │ │ │ as a subclass of asdf.CustomType. │ │ │ │ │ **** Custom type attributes¶ **** │ │ │ │ │ @@ -322,19 +322,19 @@ │ │ │ │ │ --- !core/asdf-1.1.0 │ │ │ │ │ asdf_library: !core/software-1.0.0 {author: Space Telescope Science Institute, │ │ │ │ │ homepage: 'http://github.com/spacetelescope/asdf', │ │ │ │ │ name: asdf, version: 2.7.2} │ │ │ │ │ history: │ │ │ │ │ extensions: │ │ │ │ │ - !core/extension_metadata-1.0.0 │ │ │ │ │ - extension_class: asdf.extension.BuiltinExtension │ │ │ │ │ - software: !core/software-1.0.0 {name: asdf, version: 2.7.2} │ │ │ │ │ - - !core/extension_metadata-1.0.0 │ │ │ │ │ extension_class: builtins.FractionExtension │ │ │ │ │ software: !core/software-1.0.0 {name: '', version: ''} │ │ │ │ │ + - !core/extension_metadata-1.0.0 │ │ │ │ │ + extension_class: asdf.extension.BuiltinExtension │ │ │ │ │ + software: !core/software-1.0.0 {name: asdf, version: 2.7.2} │ │ │ │ │ coordinate: ! │ │ │ │ │ x: ! {denominator: 7, numerator: 22} │ │ │ │ │ y: ! {denominator: 113, numerator: │ │ │ │ │ 355} │ │ │ │ │ ... │ │ │ │ │ Note that in the resulting ASDF file, the x and y components of our new │ │ │ │ │ fraction_2d_coord type are tagged as fraction-1.0.0.