https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=233104
Bug ID: 233104 Summary: databases/py-pg8000: requires devel/py-six Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: ports-b...@freebsd.org Reporter: j...@koitsu.org CC: pyt...@freebsd.org, w...@freebsd.org CC: pyt...@freebsd.org, w...@freebsd.org The databases/py-pg8000 port requires devel/py-six to properly work. I have not tested Python 2.x, but this is definitely the case for Python 3.6. Example: $ python3 -V Python 3.6.7 $ python3 Python 3.6.7 (default, Oct 28 2018, 01:11:16) [GCC 4.2.1 Compatible FreeBSD Clang 6.0.0 (tags/RELEASE_600/final 326565)] on freebsd11 Type "help", "copyright", "credits" or "license" for more information. >>> import pg8000 Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/local/lib/python3.6/site-packages/pg8000/__init__.py", line 1, in <module> from pg8000.core import ( File "/usr/local/lib/python3.6/site-packages/pg8000/core.py", line 10, in <module> from six.moves import map ModuleNotFoundError: No module named 'six' Details: https://github.com/mfenniak/pg8000/blob/1.11.0/pg8000/core.py#L11 Looking through git history shows that the six dependency is *at least* 2 years old (likely longer but I didn't feel like going through all their old commits): https://github.com/mfenniak/pg8000/blame/1.11.0/pg8000/core.py#L11 Maybe maintainer's system already has py-six installed, thus they didn't notice this problem? Solution/workaround: $ sudo pkg install -y py36-six Updating FreeBSD repository catalogue... FreeBSD repository is up to date. All repositories are up to date. The following 1 package(s) will be affected (of 0 checked): New packages to be INSTALLED: py36-six: 1.11.0 Number of packages to be installed: 1 18 KiB to be downloaded. [1/1] Fetching py36-six-1.11.0.txz: 100% 18 KiB 18.2kB/s 00:01 Checking integrity... done (0 conflicting) [1/1] Installing py36-six-1.11.0... [1/1] Extracting py36-six-1.11.0: 100% $ python3 Python 3.6.7 (default, Oct 28 2018, 01:11:16) [GCC 4.2.1 Compatible FreeBSD Clang 6.0.0 (tags/RELEASE_600/final 326565)] on freebsd11 Type "help", "copyright", "credits" or "license" for more information. >>> import pg8000 >>> -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ freebsd-python@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-python To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"