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.