Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 07 Oct 2019 10:07:19 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 241112] devel/py-path.py: grab and update to 11.5.2
Message-ID:  <bug-241112-7788@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 241112
           Summary: devel/py-path.py: grab and update to 11.5.2
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Keywords: patch
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: wg@FreeBSD.org
          Reporter: jbeich@FreeBSD.org
          Assignee: wg@FreeBSD.org
             Flags: maintainer-feedback?(wg@FreeBSD.org)

Created attachment 208148
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D208148&action=
=3Dedit
v1

Limited to the last version that supports Python 2. I haven't tested
www/py-flexget with Python 3 yet.

$ make test
=3D=3D=3D>  Testing for py36-path.py-11.5.2
=3D=3D=3D>   py36-path.py-11.5.2 depends on package: py36-pytest-flake8>0 -=
 found
=3D=3D=3D>   py36-path.py-11.5.2 depends on package: py36-packaging>0 - fou=
nd
=3D=3D=3D>   py36-path.py-11.5.2 depends on file: /usr/local/bin/python3.6 =
- found
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D test sessio=
n starts
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
platform freebsd12 -- Python 3.6.9, pytest-4.5.0, py-1.8.0, pluggy-0.12.0
rootdir: /wrkdirs/usr/ports/devel/py-path.py/work-py36/path.py-11.5.2, inif=
ile:
pytest.ini
plugins: flake8-1.0.4, shutil-1.7.0
collected 79 items

path.py s.....=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
                           [  7%]
setup.py s=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
                           [  8%]
test_path.py
s.............................................E...........sssssss......=20=
=20=20=20=20=20=20=20
              [ 98%]
docs/conf.py s=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
                           [100%]

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D ERRORS
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D
______________________ ERROR at setup of
TestUnicode.test_walkdirs_with_unicode_name[Path] _______________________

self =3D <test_path.TestUnicode object at 0x29bfa82c>
tmpdir =3D local('/tmp/pytest-of-root/pytest-5/test_walkdirs_with_unicode_n=
am0')

    @pytest.fixture(autouse=3DTrue)
    def unicode_name_in_tmpdir(self, tmpdir):
        # build a snowman (dir) in the temporary directory
\x1b[1m>       Path(tmpdir).joinpath('\u2603').mkdir()\x1b[0m

test_path.py:974:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _=
 _ _
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self =3D
Path('/tmp/pytest-of-root/pytest-5/test_walkdirs_with_unicode_nam0/\u2603'),
mode =3D 511

    def mkdir(self, mode=3D0o777):
        """ .. seealso:: :func:`os.mkdir` """
>       os.mkdir(self, mode)
E       UnicodeEncodeError: 'ascii' codec can't encode character '\u2603' in
position 61: ordinal not in range(128)

path.py:1199: UnicodeEncodeError
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D 67 passed, 11 skipped, 1 error in 4.40
seconds =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
*** Error code 1

Stop.

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