Package Details: python2-pyopenssl 21.0.0-6

Git Clone URL: https://aur.archlinux.org/python2-pyopenssl.git (read-only, click to copy)
Package Base: python2-pyopenssl
Description: Wrapper module for OpenSSL (legacy Python 2 version)
Upstream URL: https://pypi.org/project/pyopenssl/21.0.0/
Licenses: Apache
Submitter: MarsSeed
Maintainer: MarsSeed
Last Packager: MarsSeed
Votes: 1
Popularity: 0.107839
First Submitted: 2022-06-13 21:43 (UTC)
Last Updated: 2022-07-07 01:18 (UTC)

Latest Comments

tpaniaki commented on 2022-06-16 09:28 (UTC)

It worked. Thank you.

MarsSeed commented on 2022-06-16 00:55 (UTC) (edited on 2022-06-16 00:56 (UTC) by MarsSeed)

@jfk I've pushed an update for the encoding used in tests; please kindly check if it resolves the issue.

Though first you might have to install python2-scandir by skipping the tests for that.

Because currently that has the same problem as was reported here, and to test this package, that one is needed via checkdepends.

To install python2-scandir without testing it, you can run the following:

yay -Syu --asdeps --mflags '--nocheck' python2-scandir

After that, please try to install this package with the regular yay command and report back to me if the problem still persists or not.

tpaniaki commented on 2022-06-15 13:15 (UTC)

Some building issues reported here:

======================================================= ERRORS =======================================================
_______________________________________ ERROR collecting tests/test_crypto.py ________________________________________
tests/test_crypto.py:2227: in <module>
    class TestX509Store(object):
tests/test_crypto.py:2272: in TestX509Store
    b"/cafile" + NON_ASCII.encode(sys.getfilesystemencoding()),
E   UnicodeEncodeError: 'ascii' codec can't encode character u'\u2603' in position 0: ordinal not in range(128)
_________________________________________ ERROR collecting tests/test_ssl.py _________________________________________
tests/test_ssl.py:146: in <module>
    from .test_crypto import (
/usr/lib/python2.7/site-packages/_pytest/assertion/rewrite.py:304: in load_module
    exec(co, mod.__dict__)
tests/test_crypto.py:2227: in <module>
    class TestX509Store(object):
tests/test_crypto.py:2272: in TestX509Store
    b"/cafile" + NON_ASCII.encode(sys.getfilesystemencoding()),
E   UnicodeEncodeError: 'ascii' codec can't encode character u'\u2603' in position 0: ordinal not in range(128)
================================================== warnings summary ==================================================
tests/test_crypto.py:39
tests/test_crypto.py:39
  /home/fabien/.cache/yay/python2-pyopenssl/src/pyopenssl-21.0.0/tests/test_crypto.py:39: DeprecationWarning: PKCS#7 support in pyOpenSSL is deprecated. You should use the APIs in cryptography.
    from OpenSSL.crypto import PKCS7, load_pkcs7_data

tests/test_crypto.py:40
tests/test_crypto.py:40
  /home/fabien/.cache/yay/python2-pyopenssl/src/pyopenssl-21.0.0/tests/test_crypto.py:40: DeprecationWarning: PKCS#12 support in pyOpenSSL is deprecated. You should use the APIs in cryptography.
    from OpenSSL.crypto import PKCS12, load_pkcs12

-- Docs: https://docs.pytest.org/en/latest/warnings.html
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Interrupted: 2 errors during collection !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!