Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 09 Feb 2019 13:06:07 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 235619] databases/py-pg8000 1.13.0 requires python3
Message-ID:  <bug-235619-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D235619

            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@FreeBSD.org
          Reporter: Axel.Rau@Chaos1.DE
             Flags: maintainer-feedback?(wen@FreeBSD.org)
          Assignee: wen@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=3D[
        "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=3D[
        "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",

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-235619-7788>