Bug 205238 - irc/py-irc: Missing dependencies (jaraco.*, pytz)
Summary: irc/py-irc: Missing dependencies (jaraco.*, pytz)
Status: Closed Overcome By Events
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: William Grzybowski
URL:
Keywords: needs-qa, regression
Depends on:
Blocks:
 
Reported: 2015-12-11 08:07 UTC by loic.blot
Modified: 2018-01-23 22:55 UTC (History)
2 users (show)

See Also:
koobs: maintainer-feedback? (wg)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description loic.blot 2015-12-11 08:07:50 UTC
Since the recent py-irc update, i cannot run my python IRC bot. I have the following errors:

[0] bot@communicator> python3.4 epixelbot.py
Traceback (most recent call last):
  File "epixelbot.py", line 6, in <module>
    import irc.bot
  File "/usr/local/lib/python3.4/site-packages/irc/bot.py", line 14, in <module>
    import irc.client
  File "/usr/local/lib/python3.4/site-packages/irc/client.py", line 67, in <module>
    from jaraco.itertools import always_iterable
ImportError: No module named 'jaraco.itertools'
[1] bot@communicator> python3.4 epixelbot.py
Traceback (most recent call last):
  File "epixelbot.py", line 6, in <module>
    import irc.bot
  File "/usr/local/lib/python3.4/site-packages/irc/bot.py", line 14, in <module>
    import irc.client
  File "/usr/local/lib/python3.4/site-packages/irc/client.py", line 68, in <module>
    from jaraco.functools import Throttler
ImportError: No module named 'jaraco.functools'
[1] bot@communicator> python3.4 epixelbot.py
Traceback (most recent call last):
  File "epixelbot.py", line 6, in <module>
    import irc.bot
  File "/usr/local/lib/python3.4/site-packages/irc/bot.py", line 14, in <module>
    import irc.client
  File "/usr/local/lib/python3.4/site-packages/irc/client.py", line 79, in <module>
    from . import schedule
  File "/usr/local/lib/python3.4/site-packages/irc/schedule.py", line 12, in <module>
    import pytz
ImportError: No module named 'pytz'
[1] root@communicator> python3.4 epixelbot.py
Traceback (most recent call last):
  File "epixelbot.py", line 6, in <module>
    import irc.bot
  File "/usr/local/lib/python3.4/site-packages/irc/bot.py", line 16, in <module>
    from .dict import IRCDict
  File "/usr/local/lib/python3.4/site-packages/irc/dict.py", line 4, in <module>
    from jaraco.collections import KeyTransformingDict


py-pytz is in the ports trees, but not marked as a dependency. jaraco.itertools and jaraco.functools are not present in the ports tree.

Can you fix the ports tree to add the two missing ports and add the missing dependency on py-irc ?

Note: i'm in python3.4, maybe it's a python3.X issue only
Comment 1 Kubilay Kocak freebsd_committer freebsd_triage 2015-12-11 08:18:34 UTC
Missing:

The two jaraco.* packages listed currently as dependencies in this port are no longer referenced in setup.py:

install_requires=[
    'six',
    'jaraco.collections',
    'jaraco.text',
    'jaraco.itertools',
    'jaraco.logging',
    'jaraco.functools>=1.5',
    'pytz',
],

All of the above need to be added to the ports tree (except pytz, six)
Comment 2 Walter Schwarzenfeld 2018-01-12 22:57:06 UTC
I think this is overcome by events and could be closed.