[Bug 241112] devel/py-path.py: grab and update to 11.5.2

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[Bug 241112] devel/py-path.py: grab and update to 11.5.2

bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=241112

            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: [hidden email]
          Reporter: [hidden email]
          Assignee: [hidden email]
             Flags: maintainer-feedback?([hidden email])

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

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

$ make test
===>  Testing for py36-path.py-11.5.2
===>   py36-path.py-11.5.2 depends on package: py36-pytest-flake8>0 - found
===>   py36-path.py-11.5.2 depends on package: py36-packaging>0 - found
===>   py36-path.py-11.5.2 depends on file: /usr/local/bin/python3.6 - found
============================================== test session starts
===============================================
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, inifile:
pytest.ini
plugins: flake8-1.0.4, shutil-1.7.0
collected 79 items

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

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

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

    @pytest.fixture(autouse=True)
    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 =
Path('/tmp/pytest-of-root/pytest-5/test_walkdirs_with_unicode_nam0/\u2603'),
mode = 511

    def mkdir(self, mode=0o777):
        """ .. 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
================================= 67 passed, 11 skipped, 1 error in 4.40
seconds =================================
*** Error code 1

Stop.

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports-bugs
To unsubscribe, send any mail to "[hidden email]"