Opened 9 years ago
Closed 9 years ago
#48196 closed defect (fixed)
py-openpyxl @2.2.4_0: missing dependency on jdcal
Reported by: | andre.holzner@… | Owned by: | stromnov (Andrey Stromnov) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.3.3 |
Keywords: | Cc: | petrrr | |
Port: | py-openpyxl |
Description
Trying to install py-openpyxl works (it does not install jdcal on which it depends, there is no macport for that):
$ sudo port install py-openpyxl ---> Computing dependencies for py-openpyxl ---> Fetching archive for py-openpyxl ---> Attempting to fetch py-openpyxl-2.2.4_0.darwin_13.noarch.tbz2 from http://nue.de.packages.macports.org/macports/packages/py-openpyxl ---> Attempting to fetch py-openpyxl-2.2.4_0.darwin_13.noarch.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/py-openpyxl ---> Attempting to fetch py-openpyxl-2.2.4_0.darwin_13.noarch.tbz2 from http://lil.fr.packages.macports.org/py-openpyxl ---> Fetching distfiles for py-openpyxl ---> Verifying checksums for py-openpyxl ---> Extracting py-openpyxl ---> Configuring py-openpyxl ---> Building py-openpyxl ---> Staging py-openpyxl into destroot ---> Installing py-openpyxl @2.2.4_0 ---> Activating py-openpyxl @2.2.4_0 ---> Cleaning py-openpyxl ---> Updating database of binaries ---> Scanning binaries for linking errors ---> No broken files found.
but using it does not:
$ python Python 2.7.10 (default, May 26 2015, 17:26:26) [GCC 4.2.1 Compatible Apple LLVM 6.0 (clang-600.0.57)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> import openpyxl Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/openpyxl/__init__.py", line 9, in <module> from openpyxl.workbook import Workbook File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/openpyxl/workbook/__init__.py", line 5, in <module> from .workbook import * File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/openpyxl/workbook/workbook.py", line 14, in <module> from openpyxl.utils.datetime import CALENDAR_WINDOWS_1900 File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/openpyxl/utils/datetime.py", line 11, in <module> from jdcal import ( ImportError: No module named jdcal >>>
Change History (5)
comment:1 Changed 9 years ago by larryv (Lawrence Velázquez)
Owner: | changed from macports-tickets@… to stromnov@… |
---|---|
Summary: | py-openpyxl should also install jdcal → py-openpyxl @2.2.4_0: missing dependency on jdcal |
comment:4 Changed 9 years ago by andre.holzner@…
by now it seems to work for me. Installing py-openpyxl also install py27-jdcal:
$ sudo port install py-openpyxl ---> Computing dependencies for py-openpyxl ---> Dependencies to be installed: py27-openpyxl py27-jdcal ---> Fetching archive for py27-jdcal ---> Attempting to fetch py27-jdcal-1.0_0.darwin_13.x86_64.tbz2 from http://nue.de.packages.macports.org/macports/packages/py27-jdcal ---> Attempting to fetch py27-jdcal-1.0_0.darwin_13.x86_64.tbz2.rmd160 from http://nue.de.packages.macports.org/macports/packages/py27-jdcal ---> Installing py27-jdcal @1.0_0 ---> Activating py27-jdcal @1.0_0 ---> Cleaning py27-jdcal ---> Fetching archive for py27-openpyxl ---> Attempting to fetch py27-openpyxl-2.2.5_0.darwin_13.noarch.tbz2 from http://nue.de.packages.macports.org/macports/packages/py27-openpyxl ---> Attempting to fetch py27-openpyxl-2.2.5_0.darwin_13.noarch.tbz2 from http://lil.fr.packages.macports.org/py27-openpyxl ---> Attempting to fetch py27-openpyxl-2.2.5_0.darwin_13.noarch.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/py27-openpyxl ---> Fetching distfiles for py27-openpyxl ---> Attempting to fetch openpyxl-2.2.5.tar.gz from http://fco.it.distfiles.macports.org/mirrors/macports-distfiles/py-openpyxl ---> Verifying checksums for py27-openpyxl ---> Extracting py27-openpyxl ---> Configuring py27-openpyxl ---> Building py27-openpyxl ---> Staging py27-openpyxl into destroot ---> Installing py27-openpyxl @2.2.5_0 ---> Activating py27-openpyxl @2.2.5_0 ---> Cleaning py27-openpyxl ---> Fetching archive for py-openpyxl ---> Attempting to fetch py-openpyxl-2.2.5_0.darwin_13.noarch.tbz2 from http://nue.de.packages.macports.org/macports/packages/py-openpyxl ---> Attempting to fetch py-openpyxl-2.2.5_0.darwin_13.noarch.tbz2 from http://lil.fr.packages.macports.org/py-openpyxl ---> Attempting to fetch py-openpyxl-2.2.5_0.darwin_13.noarch.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/py-openpyxl ---> Fetching distfiles for py-openpyxl ---> Verifying checksums for py-openpyxl ---> Extracting py-openpyxl ---> Configuring py-openpyxl ---> Building py-openpyxl ---> Staging py-openpyxl into destroot ---> Installing py-openpyxl @2.2.5_0 ---> Activating py-openpyxl @2.2.5_0 ---> Cleaning py-openpyxl ---> Updating database of binaries ---> Scanning binaries for linking errors ---> No broken files found.
and importing the module also does not produce an error anymore:
$ python Python 2.7.10 (default, Aug 19 2015, 12:58:03) [GCC 4.2.1 Compatible Apple LLVM 6.0 (clang-600.0.57)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> import openpyxl >>>
thanks for fixing it and feel free to close this ticket.
comment:5 Changed 9 years ago by petrrr
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
Thanks for the report. In future tickets, please Cc any port maintainers (
port info --maintainers py-openpyxl
).