From e5e849d9882408e3ff3002f1e6fb4e628a7e26d3 Mon Sep 17 00:00:00 2001 From: Takashi Kajinami Date: Sun, 8 Mar 2026 18:49:16 +0900 Subject: [PATCH] Remove [cache] enforce_fips_mode This option was deprecated during the previous cycle and has had no effect since then. Change-Id: Iaf5d88cbc4b2804d6da5ded18f064c80a366546f Signed-off-by: Takashi Kajinami --- oslo_cache/_opts.py | 25 ------------------- ...ve-enforce_fips_mode-a998b6870ab4c245.yaml | 4 +++ 2 files changed, 4 insertions(+), 25 deletions(-) create mode 100644 releasenotes/notes/remove-enforce_fips_mode-a998b6870ab4c245.yaml diff --git a/oslo_cache/_opts.py b/oslo_cache/_opts.py index bc0ea07e..8a7fa0cc 100644 --- a/oslo_cache/_opts.py +++ b/oslo_cache/_opts.py @@ -411,31 +411,6 @@ FILE_OPTIONS = { 'back in the pool in the HashClient\'s internal mechanisms.' ), ), - cfg.BoolOpt( - 'enforce_fips_mode', - default=False, - deprecated_for_removal=True, - deprecated_reason=( - 'FIPS_mode_set API was removed in OpenSSL 3.0.0. ' - 'This option has no effect now.' - ), - help=( - 'Global toggle for enforcing the OpenSSL FIPS mode. ' - 'This feature requires Python support. ' - 'This is available in Python 3.9 in all ' - 'environments and may have been backported to older ' - 'Python versions on select environments. If the Python ' - 'executable used does not support OpenSSL FIPS mode, ' - 'an exception will be raised. ' - + _supported_backends_msg( - [ - 'dogpile.cache.bmemcache', - 'dogpile.cache.pymemcache', - 'oslo_cache.memcache_pool', - ] - ) - ), - ), ], } diff --git a/releasenotes/notes/remove-enforce_fips_mode-a998b6870ab4c245.yaml b/releasenotes/notes/remove-enforce_fips_mode-a998b6870ab4c245.yaml new file mode 100644 index 00000000..1e61acb9 --- /dev/null +++ b/releasenotes/notes/remove-enforce_fips_mode-a998b6870ab4c245.yaml @@ -0,0 +1,4 @@ +--- +upgrade: + - | + The deprecated ``[cache] enforce_fips_mode`` option has been removed.