[Bug 235619] databases/py-pg8000 1.13.0 requires python3

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Feb 9 13:06:10 UTC 2019


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

            Bug ID: 235619
           Summary: databases/py-pg8000 1.13.0 requires python3
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: wen at FreeBSD.org
          Reporter: Axel.Rau at Chaos1.DE
             Flags: maintainer-feedback?(wen at FreeBSD.org)
          Assignee: wen at FreeBSD.org

pg8000 1.13.0 requires python3.
On python2.7 various import errors happen, like:
---
  File "/usr/local/lib/python2.7/site-packages/pg8000/pg_scram.py", line 1, in
<module>
    from passlib.hash import scram
ImportError: No module named passlib.hash
---
  File "/usr/local/lib/python2.7/site-packages/pg8000/core.py", line 23, in
<module>
    from datetime import timezone as Timezone
ImportError: cannot import name timezone
---
>From setup.py:
---
    classifiers=[
        "Development Status :: 5 - Production/Stable",
        "Intended Audience :: Developers",
        "License :: OSI Approved :: BSD License",
        "Programming Language :: Python",
        "Programming Language :: Python :: 3",
        "Programming Language :: Python :: 3.5",
        "Programming Language :: Python :: 3.6",
        "Programming Language :: Python :: Implementation",
        "Programming Language :: Python :: Implementation :: CPython",
        "Programming Language :: Python :: Implementation :: Jython",
        "Programming Language :: Python :: Implementation :: PyPy",
        "Operating System :: OS Independent",
        "Topic :: Database :: Front-Ends",
        "Topic :: Software Development :: Libraries :: Python Modules",
    ],
---

pg8000 1.12.5 should run on python2.7:

    classifiers=[
        "Development Status :: 5 - Production/Stable",
        "Intended Audience :: Developers",
        "License :: OSI Approved :: BSD License",
        "Programming Language :: Python",
        "Programming Language :: Python :: 2",
        "Programming Language :: Python :: 2.7",
        "Programming Language :: Python :: 3",
        "Programming Language :: Python :: 3.5",
        "Programming Language :: Python :: 3.6",
        "Programming Language :: Python :: Implementation",
        "Programming Language :: Python :: Implementation :: CPython",
        "Programming Language :: Python :: Implementation :: Jython",
        "Programming Language :: Python :: Implementation :: PyPy",
        "Operating System :: OS Independent",
        "Topic :: Database :: Front-Ends",
        "Topic :: Software Development :: Libraries :: Python Modules",

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


More information about the freebsd-ports-bugs mailing list