Marcel Telka
2023-08-14 fb6c6c9e62e93d02f5c402ed707bbfd8526f103b
python/cryptography: update to 41.0.3; obsolete package for Python 3.7

5 files modified
31 ■■■■■ changed files
components/python/cryptography/Makefile 10 ●●●● patch | view | raw | blame | history
components/python/cryptography/history 1 ●●●● patch | view | raw | blame | history
components/python/cryptography/pkg5 6 ●●●●● patch | view | raw | blame | history
components/python/cryptography/python-integrate-project.conf 4 ●●●● patch | view | raw | blame | history
components/python/cryptography/test/results-all.master 10 ●●●● patch | view | raw | blame | history
components/python/cryptography/Makefile
@@ -20,12 +20,12 @@
include ../../../make-rules/shared-macros.mk
COMPONENT_NAME =        cryptography
HUMAN_VERSION =            41.0.1
HUMAN_VERSION =            41.0.3
COMPONENT_SUMMARY =        cryptography - cryptography is a package which provides cryptographic recipes and primitives to Python developers.
COMPONENT_ARCHIVE_URL =        \
    https://files.pythonhosted.org/packages/19/8c/47f061de65d1571210dc46436c14a0a4c260fd0f3eaf61ce9b9d445ce12f/cryptography-41.0.1.tar.gz
    https://files.pythonhosted.org/packages/8e/5d/2bf54672898375d081cb24b30baeb7793568ae5d958ef781349e9635d1c8/cryptography-41.0.3.tar.gz
COMPONENT_ARCHIVE_HASH =    \
    sha256:d34579085401d3f49762d2f7d6634d6b6c2ae1242202e860f4d26b046e3a1006
    sha256:6d192741113ef5e30d89dcb5b956ef4e1578f304708701b8b73d38e3e1461f34
COMPONENT_LICENSE =        Apache-2.0 OR BSD-3-Clause
TEST_STYLE = pytest
@@ -35,6 +35,10 @@
# https://www.illumos.org/issues/15767
LD_Z_IGNORE=
# Disable some plugins to get tests passed
PYTEST_ADDOPTS += -p no:black
PYTEST_ADDOPTS += -p no:mypy
# https://github.com/pyca/cryptography/issues/9111
TEST_CONFLICTING_PACKAGES.python += library/python/coverage-enable-subprocess
components/python/cryptography/history
@@ -1,3 +1,4 @@
library/python/cryptography-27@2.6.1,5.11-2020.0.1.6 noincorporate
library/python/cryptography-34@2.6.1,5.11-2020.0.1.2
library/python/cryptography-35@2.6.1,5.11-2020.0.1.6 noincorporate
library/python/cryptography-37@41.0.1,5.11-2023.0.0.1 noincorporate
components/python/cryptography/pkg5
@@ -1,21 +1,15 @@
{
    "dependencies": [
        "library/python/cffi-37",
        "library/python/cffi-39",
        "library/python/setuptools-37",
        "library/python/setuptools-39",
        "library/python/setuptools-rust-37",
        "library/python/setuptools-rust-39",
        "library/python/wheel-37",
        "library/python/wheel-39",
        "library/security/openssl-11",
        "runtime/python-37",
        "runtime/python-39",
        "system/library",
        "system/library/gcc-10-runtime"
    ],
    "fmris": [
        "library/python/cryptography-37",
        "library/python/cryptography-39",
        "library/python/cryptography"
    ],
components/python/cryptography/python-integrate-project.conf
@@ -19,6 +19,10 @@
# https://www.illumos.org/issues/15767
LD_Z_IGNORE=
# Disable some plugins to get tests passed
PYTEST_ADDOPTS += -p no:black
PYTEST_ADDOPTS += -p no:mypy
# https://github.com/pyca/cryptography/issues/9111
TEST_CONFLICTING_PACKAGES.python += library/python/coverage-enable-subprocess
%hook-manifest%
components/python/cryptography/test/results-all.master
@@ -2,12 +2,12 @@
platform sunos5 -- Python $(PYTHON_VERSION).X -- $(PYTHON)
cachedir: .pytest_cache
hypothesis profile 'default' -> database=DirectoryBasedExampleDatabase('$(@D)/.hypothesis/examples')
OpenSSL: OpenSSL 1.1.1u  30 May 2023
OpenSSL: OpenSSL 1.1.1v  1 Aug 2023
FIPS Enabled: False
rootdir: $(@D)
configfile: pyproject.toml
asyncio: mode=strict
collecting ... collected 3067 items
collecting ... collected 3070 items
::project PASSED
tests/bench/test_aead.py::test_aesccm_decrypt PASSED
@@ -1806,6 +1806,8 @@
tests/hazmat/primitives/test_ssh.py::TestSSHCertificate::test_inner_outer_key_type_mismatch PASSED
tests/hazmat/primitives/test_ssh.py::TestSSHCertificate::test_invalid_b64 PASSED
tests/hazmat/primitives/test_ssh.py::TestSSHCertificate::test_invalid_cert_type PASSED
tests/hazmat/primitives/test_ssh.py::TestSSHCertificate::test_invalid_encodings[p256-ed25519-non-singular-crit-opt-val.pub] PASSED
tests/hazmat/primitives/test_ssh.py::TestSSHCertificate::test_invalid_encodings[p256-ed25519-non-singular-ext-val.pub] PASSED
tests/hazmat/primitives/test_ssh.py::TestSSHCertificate::test_invalid_encodings[p256-p256-duplicate-crit-opts.pub] PASSED
tests/hazmat/primitives/test_ssh.py::TestSSHCertificate::test_invalid_encodings[p256-p256-duplicate-extension.pub] PASSED
tests/hazmat/primitives/test_ssh.py::TestSSHCertificate::test_invalid_encodings[p256-p256-non-lexical-crit-opts.pub] PASSED
@@ -1819,6 +1821,7 @@
tests/hazmat/primitives/test_ssh.py::TestSSHCertificate::test_invalid_signature[p256-rsa-sha512.pub] PASSED
tests/hazmat/primitives/test_ssh.py::TestSSHCertificate::test_load_ssh_public_key PASSED
tests/hazmat/primitives/test_ssh.py::TestSSHCertificate::test_loads_a_cert_empty_principals PASSED
tests/hazmat/primitives/test_ssh.py::TestSSHCertificate::test_loads_deprecated_invalid_encoding_cert PASSED
tests/hazmat/primitives/test_ssh.py::TestSSHCertificate::test_loads_ssh_cert PASSED
tests/hazmat/primitives/test_ssh.py::TestSSHCertificate::test_mismatched_inner_signature_type_and_sig_type PASSED
tests/hazmat/primitives/test_ssh.py::TestSSHCertificate::test_not_bytes PASSED
@@ -3075,5 +3078,6 @@
tests/x509/test_x509_revokedcertbuilder.py::TestRevokedCertificateBuilder::test_set_revocation_date_twice PASSED
tests/x509/test_x509_revokedcertbuilder.py::TestRevokedCertificateBuilder::test_set_serial_number_twice PASSED
=========================== short test summary info ============================
======== 2991 passed, 74 skipped ========
======== 2994 passed, 74 skipped ========