[Bug 234935] www/py-selenium: fix/tweak dependencies

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Jan 14 12:54:04 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=234935

            Bug ID: 234935
           Summary: www/py-selenium: fix/tweak dependencies
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs at FreeBSD.org
          Reporter: amdmi3 at FreeBSD.org
                CC: douglas at douglasthrift.net
                CC: douglas at douglasthrift.net
             Flags: maintainer-feedback?(douglas at douglasthrift.net)

Created attachment 201117
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=201117&action=edit
Patch

- Add missing urllib3 dependency

...
    from selenium import webdriver
  File "/usr/local/lib/python3.7/site-packages/selenium/webdriver/__init__.py",
line 18, in <module>
    from .firefox.webdriver import WebDriver as Firefox  # noqa
  File
"/usr/local/lib/python3.7/site-packages/selenium/webdriver/firefox/webdriver.py",
line 29, in <module>
    from selenium.webdriver.remote.webdriver import WebDriver as
RemoteWebDriver
  File
"/usr/local/lib/python3.7/site-packages/selenium/webdriver/remote/webdriver.py",
line 27, in <module>
    from .remote_connection import RemoteConnection
  File
"/usr/local/lib/python3.7/site-packages/selenium/webdriver/remote/remote_connection.py",
line 24, in <module>
    import urllib3
ModuleNotFoundError: No module named 'urllib3'

- Tweak optional dependencies:
  - Add geckodriver dependency for FIREFOX, selenium won't work with just
firefox without it
  - Add CHROMIUM option which adds dependency on chromium via bin/chromedriver

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list