Debian Patches
Status for python-dicompylercore/0.5.6-4
| Patch | Description | Author | Forwarded | Bugs | Origin | Last update |
|---|---|---|---|---|---|---|
| remove-six.patch | Remove Python 2 support (#367) * Removed Python 2 support. * Updated documentation to indicate removal of Python 2 support. |
Aditya Panchal <apanchal@bastula.org> | no | 2023-06-12 | ||
| skip-tight-comparison.patch | skip tight comparison failing with numpy 2.x. This patch works around the following test failure: . FAIL: test_raw_data_dvh (tests.test_dvh.TestDVH.test_raw_data_dvh) Test if a DVH can be created from raw data. ---------------------------------------------------------------------- Traceback (most recent call last): File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/tests/test_dvh.py", line 41, in test_raw_data_dvh self.assertEqual( ~~~~~~~~~~~~~~~~^ repr(dvh.DVH.from_data(1, 1)), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ "DVH(cumulative, 1 bins: [0:1] Gy, volume: 1 cm3, " ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ "name: None, rx_dose: 0 Gy)") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AssertionError: 'DVH([16 chars]ns: [np.int64(0):np.int64(1)] Gy, volume: np.i[35 chars] Gy)' != 'DVH([16 chars]ns: [0:1] Gy, volume: 1 cm3, name: None, rx_dose: 0 Gy)' - DVH(cumulative, 1 bins: [np.int64(0):np.int64(1)] Gy, volume: np.int64(1) cm3, name: None, rx_dose: 0 Gy) ? --------- - --------- - --------- - + DVH(cumulative, 1 bins: [0:1] Gy, volume: 1 cm3, name: None, rx_dose: 0 Gy) . The end result of the computation is no different from the normal result, so it is okay to skip it. The main issue looks to be that with newer numpy versions, the check becomes too restrictive with its expectation of how types ought to be formatted. |
Étienne Mollier <emollier@debian.org> | not-needed | debian | 2025-02-16 | |
| 0d5729d7a2412e1c3f1e4cb4f6b07f7407eb8b06.patch | Update to work with pydicom 2.4+, 3.X, Python 3.10+ (#384) * Update pydicom supported to >=2.4..0 * fix DVH repr problems with 'np.int(...) repr' * collections.Callable -> collections.abc.Callable * Resolve fixing of file_meta info * Update workflows for testing pydicom 2.4, 3.X * update some of the actions script versions * Fix style and import issues * Fix syntax * Update Python versions in setup.py * make pydicom versions in build name more obvious * Fix force of old pydicom * Update README to reflect Python 3.10 compatibility and badge changes |
Aditya Panchal <apanchal@bastula.org> | no | debian | 2025-01-10 |
