Opened 10 years ago

Closed 10 years ago

#44511 closed enhancement (fixed)

py-dateutil @2.2 Missing dependency - run failure

Reported by: radaroutthere@… Owned by: dh@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: haspatch Cc: petrrr
Port: py-dateutil

Description

Mac OS 10.9.4. The following problem occurs for multiple Python versions. After installing py-dateutil, I open the Python interpreter and run "import dateutil.parser". It responds with "ImportError: No module named 'six'". Installing py-six fixes the problem. I therefore suggest that py-six be added as a depends_run dependency.

Attachments (1)

py-dateutil.diff (730 bytes) - added by radaroutthere@… 10 years ago.

Download all attachments as: .zip

Change History (5)

Changed 10 years ago by radaroutthere@…

Attachment: py-dateutil.diff added

comment:1 Changed 10 years ago by radaroutthere@…

Cc: radaroutthere@… added

Cc Me!

comment:2 Changed 10 years ago by mf2k (Frank Schima)

Cc: radaroutthere@… removed
Keywords: haspatch added
Owner: changed from macports-tickets@… to dh@…
Type: submissionenhancement
Version: 2.3.1

Thanks. In the future, please Cc the port maintainers (port info --maintainers py-dateutil). As reporter, you do not need to Cc yourself.

comment:3 Changed 10 years ago by petrrr

Cc: petr@… added

Cc Me!

comment:4 Changed 10 years ago by petrrr

Resolution: fixed
Status: newclosed

In r123544 py-six was added as lib dependency, which is probably even more appropriate. So the dependency issue should be fixed.

I also see that you changed the version in your patch. If this was intentional, I would advice to mention request for update explicitly in the summary and/or description, otherwise such details are easy overlooked. However, I have not found a version 2.2.1 on PyPI and I'd also assume that you would need to adapt checksums accordingly. For an update from a different source you need to provide further changes to the Portfile. Have you tested you version?

Closing for this for now. If you want an update reopen and provide a corrected patch or open a new update ticket.

Note: See TracTickets for help on using tickets.