Marcel Telka
2024-04-02 68398b70332cf1b08b8852ddc8fa418de145afff
python/keyrings.alt: update to 5.0.1

1 files added
8 files modified
109 ■■■■■ changed files
components/python/keyrings.alt/Makefile 20 ●●●● patch | view | raw | blame | history
components/python/keyrings.alt/history 2 ●●● patch | view | raw | blame | history
components/python/keyrings.alt/keyrings.alt-PYVER.p5m 1 ●●●● patch | view | raw | blame | history
components/python/keyrings.alt/manifests/sample-manifest.p5m 3 ●●●● patch | view | raw | blame | history
components/python/keyrings.alt/patches/01-no-ruff.patch 12 ●●●● patch | view | raw | blame | history
components/python/keyrings.alt/patches/02-backports.unittest_mock.patch 12 ●●●●● patch | view | raw | blame | history
components/python/keyrings.alt/pkg5 7 ●●●●● patch | view | raw | blame | history
components/python/keyrings.alt/python-integrate-project.conf 13 ●●●●● patch | view | raw | blame | history
components/python/keyrings.alt/test/results-all.master 39 ●●●● patch | view | raw | blame | history
components/python/keyrings.alt/Makefile
@@ -19,41 +19,27 @@
include ../../../make-rules/shared-macros.mk
COMPONENT_NAME =        keyrings.alt
HUMAN_VERSION =            5.0.0
HUMAN_VERSION =            5.0.1
COMPONENT_SUMMARY =        keyrings.alt - Alternate keyring implementations
COMPONENT_PROJECT_URL =        https://github.com/jaraco/keyrings.alt
COMPONENT_ARCHIVE_URL =        \
    https://files.pythonhosted.org/packages/a6/97/c7344bed881cc6f78b6231262436eb0c72615011fab4786d23d676ab77b0/keyrings.alt-5.0.0.tar.gz
COMPONENT_ARCHIVE_HASH =    \
    sha256:9d446cb47bbcea90ffa2ecc3e8003acf41573fc201bf44b4bf13bd0e11484828
    sha256:cd372a1ec446a1bc5a90624a52c88e83b9330218e39047a6c9a48ae37d116745
COMPONENT_LICENSE =        MIT
COMPONENT_LICENSE_FILE =    LICENSE
#
# Following dependency loops were detected (where 'A --> B' means 'A needs B to
# run tests', and 'A ==> B' means 'A needs B for build and/or run'):
#
# keyrings.alt --> keyring --> keyrings.alt
#
# To break loops we need to allow this project to integrate without testing in
# a case the required projects are not available yet (bootstrap).
#
PYTHON_TEST_BOOTSTRAP = yes
include $(WS_MAKE_RULES)/common.mk
# Auto-generated dependencies
PYTHON_REQUIRED_PACKAGES += library/python/jaraco-classes
PYTHON_REQUIRED_PACKAGES += library/python/jaraco-context
PYTHON_REQUIRED_PACKAGES += library/python/setuptools
PYTHON_REQUIRED_PACKAGES += library/python/setuptools-scm
PYTHON_REQUIRED_PACKAGES += library/python/wheel
PYTHON_REQUIRED_PACKAGES += runtime/python
TEST_REQUIRED_PACKAGES.python += library/python/backports-unittest-mock
TEST_REQUIRED_PACKAGES.python += library/python/keyring
TEST_REQUIRED_PACKAGES.python += library/python/pycryptodome
TEST_REQUIRED_PACKAGES.python += library/python/pycryptodomex
TEST_REQUIRED_PACKAGES.python += library/python/pytest
TEST_REQUIRED_PACKAGES.python += library/python/pytest-black
TEST_REQUIRED_PACKAGES.python += library/python/pytest-checkdocs
TEST_REQUIRED_PACKAGES.python += library/python/pytest-cov
TEST_REQUIRED_PACKAGES.python += library/python/pytest-enabler
components/python/keyrings.alt/history
@@ -1 +1 @@
library/python/keyrings-alt-37@4.2.0,5.11-2023.0.0.1 noincorporate
library/python/keyrings-alt-37@4.2.0,5.11-2023.0.0.2
components/python/keyrings.alt/keyrings.alt-PYVER.p5m
@@ -46,3 +46,4 @@
# Automatically generated dependencies based on distribution metadata
depend type=require fmri=pkg:/library/python/jaraco-classes-$(PYV)
depend type=require fmri=pkg:/library/python/jaraco-context-$(PYV)
components/python/keyrings.alt/manifests/sample-manifest.p5m
@@ -10,7 +10,7 @@
#
#
# Copyright 2023 <contributor>
# Copyright 2024 <contributor>
#
set name=pkg.fmri value=pkg:/$(COMPONENT_FMRI)-$(PYV)@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
@@ -46,3 +46,4 @@
# Automatically generated dependencies based on distribution metadata
depend type=require fmri=pkg:/library/python/jaraco-classes-$(PYV)
depend type=require fmri=pkg:/library/python/jaraco-context-$(PYV)
components/python/keyrings.alt/patches/01-no-ruff.patch
@@ -1,13 +1,13 @@
We have no pytest-ruff support yet.
see https://github.com/tikv/jemallocator/issues/58
--- keyrings.alt-5.0.0/setup.cfg.orig
+++ keyrings.alt-5.0.0/setup.cfg
@@ -36,7 +36,6 @@
     pytest-mypy >= 0.9.1; \
     python_implementation != "PyPy"
--- keyrings.alt-5.0.1/setup.cfg.orig
+++ keyrings.alt-5.0.1/setup.cfg
@@ -26,7 +26,6 @@
     pytest-cov
     pytest-mypy
     pytest-enabler >= 2.2
-    pytest-ruff
-    pytest-ruff >= 0.2.1
     
     backports.unittest_mock
     keyring >= 20
components/python/keyrings.alt/patches/02-backports.unittest_mock.patch
New file
@@ -0,0 +1,12 @@
https://github.com/jaraco/keyrings.alt/issues/53
--- keyrings.alt-5.0.1/setup.cfg.orig
+++ keyrings.alt-5.0.1/setup.cfg
@@ -27,7 +27,6 @@
     pytest-mypy
     pytest-enabler >= 2.2
-    backports.unittest_mock
     keyring >= 20
     pycryptodomex
components/python/keyrings.alt/pkg5
@@ -1,14 +1,15 @@
{
    "dependencies": [
        "library/python/jaraco-classes-39",
        "library/python/jaraco-context-39",
        "library/python/setuptools-39",
        "library/python/setuptools-scm-39",
        "library/python/wheel-39",
        "runtime/python-39"
    ],
    "fmris": [
        "library/python/keyrings-alt-39",
        "library/python/keyrings-alt"
        "library/python/keyrings-alt",
        "library/python/keyrings-alt-39"
    ],
    "name": "keyrings.alt"
}
}
components/python/keyrings.alt/python-integrate-project.conf
@@ -14,15 +14,4 @@
#
%patch% 01-no-ruff.patch
%include-2%
#
# Following dependency loops were detected (where 'A --> B' means 'A needs B to
# run tests', and 'A ==> B' means 'A needs B for build and/or run'):
#
# keyrings.alt --> keyring --> keyrings.alt
#
# To break loops we need to allow this project to integrate without testing in
# a case the required projects are not available yet (bootstrap).
#
PYTHON_TEST_BOOTSTRAP = yes
%patch% 02-backports.unittest_mock.patch
components/python/keyrings.alt/test/results-all.master
@@ -1,44 +1,28 @@
ROOT: tox-gh-actions won't override envlist because tox is not running in GitHub Actions
py$(PYV): remove tox env folder $(@D)/.tox/py$(PYV)
py$(PYV): commands[0]> python -m pytest
============================= test session starts ==============================
platform sunos5 -- Python $(PYTHON_VERSION).X -- $(@D)/.tox/py$(PYV)/bin/python
cachedir: .tox/py$(PYV)/.pytest_cache
hypothesis profile 'default' -> database=DirectoryBasedExampleDatabase('$(@D)/.hypothesis/examples')
rootdir: $(@D)
configfile: pytest.ini
asyncio: mode=strict
collecting ... collected 212 items
collecting ... collected 191 items
::project PASSED
conftest.py::black PASSED
.::project PASSED
.::project PASSED
conftest.py::mypy PASSED
conftest.py::mypy-status PASSED
docs/conf.py::black PASSED
docs/conf.py::mypy PASSED
keyrings/__init__.py::black PASSED
keyrings/__init__.py::mypy PASSED
keyrings/alt/Gnome.py::black PASSED
keyrings/alt/Gnome.py::mypy PASSED
keyrings/alt/Google.py::black PASSED
keyrings/alt/Google.py::mypy PASSED
keyrings/alt/Windows.py::black PASSED
keyrings/alt/Windows.py::mypy PASSED
keyrings/alt/__init__.py::black PASSED
keyrings/alt/__init__.py::mypy PASSED
keyrings/alt/escape.py::black PASSED
keyrings/alt/escape.py::mypy PASSED
keyrings/alt/file.py::black PASSED
keyrings/alt/file.py::mypy PASSED
keyrings/alt/file_base.py::black PASSED
keyrings/alt/file_base.py::mypy PASSED
keyrings/alt/keyczar.py::black PASSED
keyrings/alt/keyczar.py::mypy PASSED
keyrings/alt/multi.py::black PASSED
keyrings/alt/multi.py::mypy PASSED
tests/__init__.py::black PASSED
tests/__init__.py::mypy PASSED
tests/mocks.py::black PASSED
tests/mocks.py::mypy PASSED
tests/test_Gnome.py::GnomeKeyringTestCase::test_credential SKIPPED (...)
tests/test_Gnome.py::GnomeKeyringTestCase::test_delete_not_present SKIPPED
@@ -55,7 +39,6 @@
tests/test_Gnome.py::GnomeKeyringTestCase::test_supported_no_module SKIPPED
tests/test_Gnome.py::GnomeKeyringTestCase::test_unicode_and_ascii_chars SKIPPED
tests/test_Gnome.py::GnomeKeyringTestCase::test_unicode_chars SKIPPED
tests/test_Gnome.py::black PASSED
tests/test_Gnome.py::mypy PASSED
tests/test_Google.py::GoogleDocsKeyringInteractionTestCase::test_handles_auth_error SKIPPED
tests/test_Google.py::GoogleDocsKeyringInteractionTestCase::test_handles_auth_failure SKIPPED
@@ -87,7 +70,6 @@
tests/test_Google.py::GoogleDocsKeyringTestCase::test_set_properties SKIPPED
tests/test_Google.py::GoogleDocsKeyringTestCase::test_unicode_and_ascii_chars SKIPPED
tests/test_Google.py::GoogleDocsKeyringTestCase::test_unicode_chars SKIPPED
tests/test_Google.py::black PASSED
tests/test_Google.py::mypy PASSED
tests/test_Windows.py::TestRegistryKeyring::test_credential SKIPPED
tests/test_Windows.py::TestRegistryKeyring::test_delete_not_present SKIPPED
@@ -121,7 +103,6 @@
tests/test_Windows.py::TestWin32CryptoKeyring::test_unicode_and_ascii_chars SKIPPED
tests/test_Windows.py::TestWin32CryptoKeyring::test_unicode_chars SKIPPED
tests/test_Windows.py::TestWin32CryptoKeyring::test_version SKIPPED
tests/test_Windows.py::black PASSED
tests/test_Windows.py::mypy PASSED
tests/test_crypto.py::TestCryptedFileKeyring::test_credential PASSED
tests/test_crypto.py::TestCryptedFileKeyring::test_delete_not_present PASSED
@@ -142,7 +123,6 @@
tests/test_crypto.py::TestCryptedFileKeyring::test_unicode_and_ascii_chars PASSED
tests/test_crypto.py::TestCryptedFileKeyring::test_unicode_chars PASSED
tests/test_crypto.py::TestCryptedFileKeyring::test_version PASSED
tests/test_crypto.py::black PASSED
tests/test_crypto.py::mypy PASSED
tests/test_file.py::TestEncryptedFileKeyring::test_credential[Crypto] PASSED
tests/test_file.py::TestEncryptedFileKeyring::test_credential[Cryptodome] PASSED
@@ -206,25 +186,28 @@
tests/test_file.py::TestUncryptedFileKeyring::test_unicode_and_ascii_chars PASSED
tests/test_file.py::TestUncryptedFileKeyring::test_unicode_chars PASSED
tests/test_file.py::TestUncryptedFileKeyring::test_version PASSED
tests/test_file.py::black PASSED
tests/test_file.py::mypy PASSED
tests/test_keyczar.py::KeyczarCrypterTestCase::testEnvironCrypterReadsCorrectValues PASSED
tests/test_keyczar.py::KeyczarCrypterTestCase::testEnvironCrypterThrowsExceptionOnMissingValues PASSED
tests/test_keyczar.py::KeyczarCrypterTestCase::testKeyczarCrypterEncryptDecryptHandlesEmptyNone PASSED
tests/test_keyczar.py::KeyczarCrypterTestCase::testKeyczarCrypterWithEncryptedReader PASSED
tests/test_keyczar.py::KeyczarCrypterTestCase::testKeyczarCrypterWithUnencryptedReader PASSED
tests/test_keyczar.py::black PASSED
tests/test_keyczar.py::mypy PASSED
tests/test_multi.py::MultipartKeyringWrapperTestCase::testLargePasswordSetInMultipleParts PASSED
tests/test_multi.py::MultipartKeyringWrapperTestCase::testMissingPassword PASSED
tests/test_multi.py::MultipartKeyringWrapperTestCase::testSmallPasswordSetInSinglePart PASSED
tests/test_multi.py::MultipartKeyringWrapperTestCase::testViablePassThru PASSED
tests/test_multi.py::black PASSED
tests/test_multi.py::mypy PASSED
===================================== mypy =====================================
=============================== warnings summary ===============================
keyrings/alt/Gnome.py:27
  $(@D)/keyrings/alt/Gnome.py:27: DeprecationWarning: GnomeKeyring.get_default_keyring_sync is deprecated
    result = GnomeKeyring.get_default_keyring_sync()[0]
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
===================================== mypy =====================================
Success: no issues found in 21 source files
======== 134 passed, 77 skipped ========
======== 114 passed, 77 skipped, 1 warning ========
  py$(PYV): OK
  congratulations :)