Search Criteria
Package Details: python-pydicom 2.4.4-2
Package Actions
Git Clone URL: | https://aur.archlinux.org/python-pydicom.git (read-only, click to copy) |
---|---|
Package Base: | python-pydicom |
Description: | Pure python package for working with DICOM files |
Upstream URL: | https://pydicom.github.io/pydicom/stable/index.html |
Licenses: | MIT, LicenseRef-GDCM |
Submitter: | wedjat |
Maintainer: | bertptrs |
Last Packager: | bertptrs |
Votes: | 11 |
Popularity: | 0.000000 |
First Submitted: | 2018-03-10 18:20 (UTC) |
Last Updated: | 2024-03-28 20:42 (UTC) |
Dependencies (12)
- python (python32AUR, python37AUR, python310AUR)
- python-build (make)
- python-flit-core (make)
- python-installer (python-installer-gitAUR) (make)
- python-wheel (make)
- python-pytest (python-pytest7) (check)
- gdcmAUR (gdcm-gitAUR) (optional) – for working with compressed JPEG, JPEG-LS and JPEG 2000 images
- python-numpy (python-numpy-flameAUR, python-numpy-mkl-binAUR, python-numpy-gitAUR, python-numpy-mklAUR) (optional) – for working with pixel data
- python-pillow (python-pillow-gitAUR) (optional) – for working with compressed image data
- python-pylibjpegAUR (optional) – for working with compressed JPEG images
- python-pylibjpeg-openjpegAUR (optional) – for working with compressed JPEG-LS or JPEG 2000 images
- python-pylibjpeg-rleAUR (optional) – for working with compressed RLE images
Latest Comments
liamtimms commented on 2019-12-16 16:27 (UTC) (edited on 2019-12-16 16:29 (UTC) by liamtimms)
@bertptrs thanks for explaining, I had assumed that the makedepends could be split between the python2 and python3 versions such that only the python2 version would pull any python2 dependencies. This is the first split package I've used.
bertptrs commented on 2019-12-15 21:04 (UTC)
@liamtimms this pkgbase is used to build both the python 3 and python 2 version of this package. You don't need to have any python 2 packages installed to use the python 3 version, but both packages are needed for building. This is just how split packages work.
I intend to support python 2 for this package as long as upstream does so, which appears to be until April 2020: https://pydicom.github.io/pydicom/stable/python2_support.html
liamtimms commented on 2019-12-13 17:31 (UTC) (edited on 2019-12-13 17:32 (UTC) by liamtimms)
Do you need the
python2-setuptools
dependency in this PKGBUILD?Makes sense for
python2-pydicom
but is strange to keep here in the python3 version.bertptrs commented on 2018-09-05 14:22 (UTC)
flipmess, I can't reproduce your error, but there are some incompatibilities with Python 3.7 in the unit tests and will be fixed in future versions. I've disabled tests which I know to be problematic but apparantly there are others.
You can skip the "check" phase of the build by adding the "--nocheck" flag to makepkg, by changing your makepkg config, or by using whatever your AUR helper offers for this.
flipmess commented on 2018-09-05 13:59 (UTC) (edited on 2018-09-05 14:00 (UTC) by flipmess)
hi, i get this error while compiling: ===================================================================================================== FAILURES ===================================================================================================== ______________ TestCodify.test_code_file _______________
tag = (3030, 3030)
pydicom/datadict.py:136: KeyError
During handling of the above exception, another exception occurred:
raw_data_element = RawDataElement(tag=(3030, 3030), VR=None, length=807418400, value=b'0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00\n..... 55 4e 41 50 50 52 4f 56 45 44 ......UNAPPROVED\n0a70 : \n', value_tell=8, is_implicit_VR=True, is_little_endian=True) encoding = 'iso8859'
pydicom/dataelem.py:475:
tag = (3030, 3030)
pydicom/datadict.py:156:
tag = (3030, 3030)
pydicom/datadict.py:142: KeyError
During handling of the above exception, another exception occurred:
self = <pydicom.tests.test_util.testcodify 0x7fd221ab2898="" at="" object="">, capsys = <_pytest.capture.CaptureFixture object at 0x7fd221ab2c50></pydicom.tests.test_util.testcodify>
pydicom/tests/test_util.py:139:
pydicom/util/codify.py:349: in main code_lines = code_file(filename, args.exclude_size, args.include_private) pydicom/util/codify.py:276: in code_file ds, exclude_size=exclude_size, include_private=include_private) pydicom/util/codify.py:223: in code_dataset for dataelem in ds: pydicom/dataset.py:703: in iter yield self[tag] pydicom/dataset.py:599: in getitem self[tag] = DataElement_from_raw(data_elem, character_set)
raw_data_element = RawDataElement(tag=(3030, 3030), VR=None, length=807418400, value=b'0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00\n..... 55 4e 41 50 50 52 4f 56 45 44 ......UNAPPROVED\n0a70 : \n', value_tell=8, is_implicit_VR=True, is_little_endian=True) encoding = 'iso8859'
pydicom/dataelem.py:491: KeyError ==================================================================== 1 failed, 660 passed, 49 skipped, 2 deselected, 2 xpassed in 7.22 seconds ===================================================================== ==> ERROR: A failure occurred in check(). Aborting...
bertptrs commented on 2018-07-23 09:36 (UTC)
@hottea I have a working PKGBUILD for that, but I'm still waiting on the python2 version to be orphaned. Stay tunned.
hottea commented on 2018-07-23 03:18 (UTC)
Hi, could add python2 version too?