Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 02 Sep 2018 11:02:13 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 231090] security/py-paramiko: Update to 2.4.1
Message-ID:  <bug-231090-7788@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 231090
           Summary: security/py-paramiko: Update to 2.4.1
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: sbz@FreeBSD.org
          Reporter: freebsd_ports@k-worx.org
                CC: python@FreeBSD.org, sbz@FreeBSD.org
          Assignee: sbz@FreeBSD.org
             Flags: maintainer-feedback?(sbz@FreeBSD.org)
 Attachment #196784 maintainer-approval?(sbz@FreeBSD.org)
             Flags:
                CC: sbz@FreeBSD.org

Created attachment 196784
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D196784&action=
=3Dedit
py-paramiko-2.4.1.patch

Hello,

attached is the patch that updates security/py-paramiko to 2.4.1.

Changes by upstream:
- https://github.com/paramiko/paramiko/compare/2.4.0...2.4.1

Changes to the port:
- changed USES?=3D to USES=3D
- removed option EXAMPLES as there are no more examples that are installed.
- removed concurrent keyword from USE_PYTHON
- added NO_ARCH
- added dependencies for test target


QA:
~~~
- poudriere (10.4-, 11.1-, 11.2-RELEASE, 12.0-ALPHA4 i386 + amd64) for each
py27 + py36 flavor -> OK
- portlint -> OK

Results from make test:

For py27:
> Ran 149 tests in 15.723s
>=20
> FAILED (errors=3D7)
> *** Error code 1

For py36:
> Ran 149 tests in 7.311s
>
> FAILED (errors=3D9)
> *** Error code 1

Better test results can be yielded with the Python package "pytest-relaxed"
(not in the ports tree at the moment) and using ${PREFIX}/bin/pytest instea=
d of
${PYTHON_CMD} -m unittest :

> 3 failed, 212 passed, 11 skipped in 98.67 seconds

The three remaining errors are there because the file 'tests/test_rsa.key.p=
ub'
is missing from the tar-ball but it exits in the repository at GH.

Another problem is, that the Python package pytest-relaxed works only with
devel/py-pytest > 3 AND < 3.3 officially due some regression with newer
versions.

Thus I have not yet created a PR to add the Python package 'pytest-relaxed'=
 to
the ports tree.

--=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-231090-7788>