Marcel Telka
2023-08-15 9cfccbbc7b71b3454a37632e3eb20a04102a07fc
python/ansible-core: update to 2.15.3; obsolete package for Python 3.7

1 files deleted
2 files added
6 files modified
98 ■■■■■ changed files
components/python/ansible-core/Makefile 9 ●●●●● patch | view | raw | blame | history
components/python/ansible-core/ansible-core-37.p5m 38 ●●●●● patch | view | raw | blame | history
components/python/ansible-core/ansible-core-PYVER.p5m 4 ●●● patch | view | raw | blame | history
components/python/ansible-core/history 1 ●●●● patch | view | raw | blame | history
components/python/ansible-core/manifests/sample-manifest.p5m 4 ●●● patch | view | raw | blame | history
components/python/ansible-core/patches/03-test-disable-plugins.patch 13 ●●●●● patch | view | raw | blame | history
components/python/ansible-core/pkg5 1 ●●●● patch | view | raw | blame | history
components/python/ansible-core/python-integrate-project.conf 1 ●●●● patch | view | raw | blame | history
components/python/ansible-core/test/results-all.master 27 ●●●●● patch | view | raw | blame | history
components/python/ansible-core/Makefile
@@ -19,19 +19,18 @@
include ../../../make-rules/shared-macros.mk
COMPONENT_NAME =        ansible-core
HUMAN_VERSION =            2.15.1
HUMAN_VERSION =            2.15.3
COMPONENT_SUMMARY =        ansible-core - Radically simple IT automation
COMPONENT_PROJECT_URL =        https://ansible.com/
COMPONENT_ARCHIVE_URL =        \
    https://files.pythonhosted.org/packages/1e/34/ba701d49f78d8aead7c20339bbc1eccc682894f08dc48f5c391792282c65/ansible-core-2.15.1.tar.gz
    https://files.pythonhosted.org/packages/3c/4d/892b2c2211af9bea68e79b9899921cf96f370361bdd3355d1d84801d40bb/ansible-core-2.15.3.tar.gz
COMPONENT_ARCHIVE_HASH =    \
    sha256:ed28eb4943e480004edc9ba1e9bee979a0650cb2f9372ce4a2bd572838c60d2b
    sha256:261bc01a15274fc5a6950d5b92b9aa1b7d7c6e8f7543c914505e5bfd9744793a
COMPONENT_LICENSE =        GPL-3.0-only
COMPONENT_LICENSE_FILE =    COPYING
# ansible-core >= 2.14.0 requires Python >= 3.9
# ansible-core >= 2.12.0 requires Python >= 3.8
UNSUPPORTED_PYTHON_VERSIONS = 3.7
UNSUPPORTED_PYTHON_VERSIONS =
PYTHON_VERSIONS := $(filter-out $(UNSUPPORTED_PYTHON_VERSIONS), $(PYTHON_VERSIONS))
# ansible-core use custom testing (see below)
components/python/ansible-core/ansible-core-37.p5m
File was deleted
components/python/ansible-core/ansible-core-PYVER.p5m
@@ -866,14 +866,15 @@
file path=usr/lib/python$(PYVER)/vendor-packages/ansible_test/_internal/commands/integration/windows.py
file path=usr/lib/python$(PYVER)/vendor-packages/ansible_test/_internal/commands/sanity/__init__.py
file path=usr/lib/python$(PYVER)/vendor-packages/ansible_test/_internal/commands/sanity/ansible_doc.py
file path=usr/lib/python$(PYVER)/vendor-packages/ansible_test/_internal/commands/sanity/bin_symlinks.py
file path=usr/lib/python$(PYVER)/vendor-packages/ansible_test/_internal/commands/sanity/compile.py
file path=usr/lib/python$(PYVER)/vendor-packages/ansible_test/_internal/commands/sanity/ignores.py
file path=usr/lib/python$(PYVER)/vendor-packages/ansible_test/_internal/commands/sanity/import.py
file path=usr/lib/python$(PYVER)/vendor-packages/ansible_test/_internal/commands/sanity/integration_aliases.py
file path=usr/lib/python$(PYVER)/vendor-packages/ansible_test/_internal/commands/sanity/mypy.py
file path=usr/lib/python$(PYVER)/vendor-packages/ansible_test/_internal/commands/sanity/pep8.py
file path=usr/lib/python$(PYVER)/vendor-packages/ansible_test/_internal/commands/sanity/pslint.py
file path=usr/lib/python$(PYVER)/vendor-packages/ansible_test/_internal/commands/sanity/pylint.py
file path=usr/lib/python$(PYVER)/vendor-packages/ansible_test/_internal/commands/sanity/sanity_docs.py
file path=usr/lib/python$(PYVER)/vendor-packages/ansible_test/_internal/commands/sanity/shellcheck.py
file path=usr/lib/python$(PYVER)/vendor-packages/ansible_test/_internal/commands/sanity/validate_modules.py
file path=usr/lib/python$(PYVER)/vendor-packages/ansible_test/_internal/commands/sanity/yamllint.py
@@ -980,6 +981,7 @@
file path=usr/lib/python$(PYVER)/vendor-packages/ansible_test/_util/controller/sanity/mypy/ansible-core.ini
file path=usr/lib/python$(PYVER)/vendor-packages/ansible_test/_util/controller/sanity/mypy/ansible-test.ini
file path=usr/lib/python$(PYVER)/vendor-packages/ansible_test/_util/controller/sanity/mypy/modules.ini
file path=usr/lib/python$(PYVER)/vendor-packages/ansible_test/_util/controller/sanity/mypy/packaging.ini
file path=usr/lib/python$(PYVER)/vendor-packages/ansible_test/_util/controller/sanity/pep8/current-ignore.txt
file path=usr/lib/python$(PYVER)/vendor-packages/ansible_test/_util/controller/sanity/pslint/pslint.ps1
file path=usr/lib/python$(PYVER)/vendor-packages/ansible_test/_util/controller/sanity/pslint/settings.psd1
components/python/ansible-core/history
New file
@@ -0,0 +1 @@
library/python/ansible-core-37@2.15.1,5.11-2023.0.0.1 noincorporate
components/python/ansible-core/manifests/sample-manifest.p5m
@@ -866,14 +866,15 @@
file path=usr/lib/python$(PYVER)/vendor-packages/ansible_test/_internal/commands/integration/windows.py
file path=usr/lib/python$(PYVER)/vendor-packages/ansible_test/_internal/commands/sanity/__init__.py
file path=usr/lib/python$(PYVER)/vendor-packages/ansible_test/_internal/commands/sanity/ansible_doc.py
file path=usr/lib/python$(PYVER)/vendor-packages/ansible_test/_internal/commands/sanity/bin_symlinks.py
file path=usr/lib/python$(PYVER)/vendor-packages/ansible_test/_internal/commands/sanity/compile.py
file path=usr/lib/python$(PYVER)/vendor-packages/ansible_test/_internal/commands/sanity/ignores.py
file path=usr/lib/python$(PYVER)/vendor-packages/ansible_test/_internal/commands/sanity/import.py
file path=usr/lib/python$(PYVER)/vendor-packages/ansible_test/_internal/commands/sanity/integration_aliases.py
file path=usr/lib/python$(PYVER)/vendor-packages/ansible_test/_internal/commands/sanity/mypy.py
file path=usr/lib/python$(PYVER)/vendor-packages/ansible_test/_internal/commands/sanity/pep8.py
file path=usr/lib/python$(PYVER)/vendor-packages/ansible_test/_internal/commands/sanity/pslint.py
file path=usr/lib/python$(PYVER)/vendor-packages/ansible_test/_internal/commands/sanity/pylint.py
file path=usr/lib/python$(PYVER)/vendor-packages/ansible_test/_internal/commands/sanity/sanity_docs.py
file path=usr/lib/python$(PYVER)/vendor-packages/ansible_test/_internal/commands/sanity/shellcheck.py
file path=usr/lib/python$(PYVER)/vendor-packages/ansible_test/_internal/commands/sanity/validate_modules.py
file path=usr/lib/python$(PYVER)/vendor-packages/ansible_test/_internal/commands/sanity/yamllint.py
@@ -980,6 +981,7 @@
file path=usr/lib/python$(PYVER)/vendor-packages/ansible_test/_util/controller/sanity/mypy/ansible-core.ini
file path=usr/lib/python$(PYVER)/vendor-packages/ansible_test/_util/controller/sanity/mypy/ansible-test.ini
file path=usr/lib/python$(PYVER)/vendor-packages/ansible_test/_util/controller/sanity/mypy/modules.ini
file path=usr/lib/python$(PYVER)/vendor-packages/ansible_test/_util/controller/sanity/mypy/packaging.ini
file path=usr/lib/python$(PYVER)/vendor-packages/ansible_test/_util/controller/sanity/pep8/current-ignore.txt
file path=usr/lib/python$(PYVER)/vendor-packages/ansible_test/_util/controller/sanity/pslint/pslint.ps1
file path=usr/lib/python$(PYVER)/vendor-packages/ansible_test/_util/controller/sanity/pslint/settings.psd1
components/python/ansible-core/patches/03-test-disable-plugins.patch
New file
@@ -0,0 +1,13 @@
--- ansible-core-2.15.2/test/lib/ansible_test/_internal/commands/units/__init__.py.orig
+++ ansible-core-2.15.2/test/lib/ansible_test/_internal/commands/units/__init__.py
@@ -258,6 +258,10 @@
             '-n', str(args.num_workers) if args.num_workers else 'auto',
             '--color', 'yes' if args.color else 'no',
             '-p', 'no:cacheprovider',
+            '-p', 'no:black',
+            '-p', 'no:cov',
+            '-p', 'no:mypy',
+            '-p', 'no:relaxed',
             '-c', os.path.join(ANSIBLE_TEST_DATA_ROOT, 'pytest', 'config', config_name),
             '--junit-xml', os.path.join(ResultType.JUNIT.path, 'python%s-%s-units.xml' % (python.version, test_context)),
             '--strict-markers',  # added in pytest 4.5.0
components/python/ansible-core/pkg5
@@ -11,7 +11,6 @@
        "runtime/python-39"
    ],
    "fmris": [
        "library/python/ansible-core-37",
        "library/python/ansible-core-39",
        "library/python/ansible-core"
    ],
components/python/ansible-core/python-integrate-project.conf
@@ -15,6 +15,7 @@
%patch% 01-no-shebang.patch
%patch% 02-selinux.patch
%patch% 03-test-disable-plugins.patch
%patch% 05-wcwidth.patch
%patch% 06-dev-null.patch
%patch% 07-test_importlib_resources.patch
components/python/ansible-core/test/results-all.master
@@ -34,14 +34,13 @@
test/units/ansible_test/test_validate_modules.py::test_type_regex[x = type(foo)-False]  PASSED
test/units/cli/arguments/test_optparse_helpers.py::test_option_helper_version[ansible collection location = /tmp/.ansible/collections:/usr/share/ansible/collections]  PASSED
test/units/cli/arguments/test_optparse_helpers.py::test_option_helper_version[ansible python module location = $(@D)/lib/ansible]  PASSED
test/units/cli/arguments/test_optparse_helpers.py::test_option_helper_version[ansible-cli-test [core 2.15.1]]  PASSED
test/units/cli/arguments/test_optparse_helpers.py::test_option_helper_version[ansible-cli-test [core 2.15.3]]  PASSED
test/units/cli/arguments/test_optparse_helpers.py::test_option_helper_version[config file = $(@D)/test/lib/ansible_test/_data/ansible.cfg]  PASSED
test/units/cli/arguments/test_optparse_helpers.py::test_option_helper_version[configured module search path = ['/dev/null']]  PASSED
test/units/cli/arguments/test_optparse_helpers.py::test_option_helper_version[executable location = ]  PASSED
test/units/cli/arguments/test_optparse_helpers.py::test_option_helper_version[python version = 3.9.16 (main, Feb 19 2023, 15:42:40) [GCC 10.4.0]]  PASSED
test/units/cli/galaxy/test_collection_extract_tar.py::test_extract_tar_dir_does_not_exist  PASSED
test/units/cli/galaxy/test_collection_extract_tar.py::test_extract_tar_dir_exists  PASSED
test/units/cli/galaxy/test_collection_extract_tar.py::test_extract_tar_member_no_trailing_sep  PASSED
test/units/cli/galaxy/test_collection_extract_tar.py::test_extract_tar_member_trailing_sep  PASSED
test/units/cli/galaxy/test_display_collection.py::test_display_collection  PASSED
test/units/cli/galaxy/test_display_collection.py::test_display_collection_small_minimum_widths  PASSED
@@ -2299,7 +2298,7 @@
test/units/module_utils/urls/test_channel_binding.py::test_cbt_with_cert[ecdsa_sha256.pem-\xfe\xcf\x1b%\x85D\x99\x90\xd9\xe3\xb2\xc9-?Y~\xc85N\x12N\xdau\x1d\x94\x83|,\x89\xa2\xc1U]  PASSED
test/units/module_utils/urls/test_channel_binding.py::test_cbt_with_cert[ecdsa_sha512.pem-\xe5\xcbh\xb2\xf8C\xd6;\xf4\x0b\xcb \x07`\x8f\x81\x97a\x83\x92x?#0\xe5\xef\x19\xa5\xbd\x8f\x0b/\xaa\xc8a\x85_\xbbc\xa2!\xccF\xfc\x1e"j\x07$\x11\xaf\x17]\xdeG\x92\x81\xe0\x06\x87\x8b4\x80Y]  PASSED
test/units/module_utils/urls/test_channel_binding.py::test_cbt_with_cert[rsa-pss_sha256.pem-\xf21\xe6\xff?\x9e\x16\x1b\xc2\xdc\xbb\x89\x8d\x84GNX\x9c\xd7\xc2z\xdb\xef\x8b\xd9\xc0\xc0h\xaf\x9c6m]  PASSED
test/units/module_utils/urls/test_channel_binding.py::test_cbt_with_cert[rsa-pss_sha512.pem-\x85\x85\x19\xb9\xe1\x0f#\xe2\x1d,\xe9\xd5G*\xab\xceB\x0f\xd1\x00u\x9cS\xa1{\xb9y\x86\xb2Ya']  PASSED
test/units/module_utils/urls/test_channel_binding.py::test_cbt_with_cert[rsa-pss_sha512.pem-K\x8c\xa5\xf5y\x89A\xa0\xaf'\xeb\x00\xeb\xccUz6z\xe0l\x035\xa3h\xfc\xa6 k\xda]\xba\x88\xf8m\xf3\x98\xd2\xd2wW\x87w\xa4\x0e\x14\t\xd4]\xb9\xa29\xe2h\x1b\x9f\xe6\x04\x00\xec\x7fc\x83\xd7b]  PASSED
test/units/module_utils/urls/test_channel_binding.py::test_cbt_with_cert[rsa_md5.pem-#4\xb8Gl\xbfNm\xfcvj]Z0\xd6d\x9c\x01\xba\xe1f*\:\x13\x02\xa9h\xd7\xc6\xb0\xf6]  PASSED
test/units/module_utils/urls/test_channel_binding.py::test_cbt_with_cert[rsa_sha1.pem-\x14\xcf\xe8\xe4\xb32\xb2\n4?\xc8@\xb1\x8f\x9fox\x92j\xfe~\xc3\xe7\xb8\xe2\x89ia\x9b\x1e\x8f>]  PASSED
test/units/module_utils/urls/test_channel_binding.py::test_cbt_with_cert[rsa_sha256.pem-\x99o>\xea\x81,\x18p\xe3\x05I\xff\x9b\x86\xcd\x87\xa8\x90\xb6\xd8\xdf\xdfJ\x81\xbe\xf9gYp\xda\xdb&]  PASSED
@@ -3083,6 +3082,10 @@
test/units/plugins/action/test_raw.py::TestCopyResultExclude::test_raw_executable_is_not_empty_string  PASSED
test/units/plugins/action/test_raw.py::TestCopyResultExclude::test_raw_task_vars_is_not_None  PASSED
test/units/plugins/action/test_raw.py::TestCopyResultExclude::test_raw_test_environment_is_None  PASSED
test/units/plugins/action/test_reboot.py::test_reboot_command[reboot command with spaces]  PASSED
test/units/plugins/action/test_reboot.py::test_reboot_command[reboot command without spaces]  PASSED
test/units/plugins/action/test_reboot.py::test_reboot_command_connection_fail[reboot command with spaces]  PASSED
test/units/plugins/action/test_reboot.py::test_reboot_connection_local  PASSED
test/units/plugins/become/test_su.py::test_su  PASSED
test/units/plugins/become/test_sudo.py::test_sudo  PASSED
test/units/plugins/cache/test_cache.py::TestCachePluginAdjudicator::test___contains__  PASSED
@@ -3282,9 +3285,9 @@
test/units/plugins/lookup/test_password.py::TestFormatContent::test_no_encrypt  PASSED
test/units/plugins/lookup/test_password.py::TestFormatContent::test_no_encrypt_no_salt  PASSED
test/units/plugins/lookup/test_password.py::TestGenCandidateChars::test_gen_candidate_chars  PASSED
test/units/plugins/lookup/test_password.py::TestLookupModuleWithPasslib::test_encrypt  SKIPPED
test/units/plugins/lookup/test_password.py::TestLookupModuleWithPasslib::test_password_already_created_encrypt  SKIPPED
test/units/plugins/lookup/test_password.py::TestLookupModuleWithPasslibWrappedAlgo::test_encrypt_wrapped_crypt_algo  SKIPPED
test/units/plugins/lookup/test_password.py::TestLookupModuleWithPasslib::test_encrypt  PASSED
test/units/plugins/lookup/test_password.py::TestLookupModuleWithPasslib::test_password_already_created_encrypt  PASSED
test/units/plugins/lookup/test_password.py::TestLookupModuleWithPasslibWrappedAlgo::test_encrypt_wrapped_crypt_algo  PASSED
test/units/plugins/lookup/test_password.py::TestLookupModuleWithoutPasslib::test_lock_been_held  PASSED
test/units/plugins/lookup/test_password.py::TestLookupModuleWithoutPasslib::test_lock_not_been_held  PASSED
test/units/plugins/lookup/test_password.py::TestLookupModuleWithoutPasslib::test_no_encrypt  PASSED
@@ -3507,16 +3510,16 @@
test/units/utils/test_display.py::test_get_text_width  PASSED
test/units/utils/test_display.py::test_get_text_width_no_locale  PASSED
test/units/utils/test_encrypt.py::test_do_encrypt_no_passlib  PASSED
test/units/utils/test_encrypt.py::test_do_encrypt_passlib  SKIPPED
test/units/utils/test_encrypt.py::test_encrypt_default_rounds  SKIPPED
test/units/utils/test_encrypt.py::test_do_encrypt_passlib  PASSED
test/units/utils/test_encrypt.py::test_encrypt_default_rounds  PASSED
test/units/utils/test_encrypt.py::test_encrypt_default_rounds_no_passlib  PASSED
test/units/utils/test_encrypt.py::test_encrypt_with_ident  SKIPPED
test/units/utils/test_encrypt.py::test_encrypt_with_rounds  SKIPPED
test/units/utils/test_encrypt.py::test_encrypt_with_ident  PASSED
test/units/utils/test_encrypt.py::test_encrypt_with_rounds  PASSED
test/units/utils/test_encrypt.py::test_encrypt_with_rounds_no_passlib  PASSED
test/units/utils/test_encrypt.py::test_invalid_crypt_salt  PASSED
test/units/utils/test_encrypt.py::test_passlib_bcrypt_salt  SKIPPED
test/units/utils/test_encrypt.py::test_passlib_bcrypt_salt  PASSED
test/units/utils/test_encrypt.py::test_password_hash_filter_no_passlib  PASSED
test/units/utils/test_encrypt.py::test_password_hash_filter_passlib  SKIPPED
test/units/utils/test_encrypt.py::test_password_hash_filter_passlib  PASSED
test/units/utils/test_encrypt.py::test_random_salt  PASSED
test/units/utils/test_helpers.py::TestHelpers::test_pct_to_int  PASSED
test/units/utils/test_isidentifier.py::test_invalid_identifier[   ]  PASSED