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

            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: s...@freebsd.org
          Reporter: freebsd_po...@k-worx.org
                CC: pyt...@freebsd.org, s...@freebsd.org
          Assignee: s...@freebsd.org
             Flags: maintainer-feedback?(s...@freebsd.org)
 Attachment #196784 maintainer-approval?(s...@freebsd.org)
             Flags:
                CC: s...@freebsd.org

Created attachment 196784
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=196784&action=edit
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?= to USES=
- 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
> 
> FAILED (errors=7)
> *** Error code 1

For py36:
> Ran 149 tests in 7.311s
>
> FAILED (errors=9)
> *** 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 instead 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.pub'
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.

-- 
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"

Reply via email to