Skip to content

Use inclusive language: rename whitelist to allowlist#5902

Open
jezdez wants to merge 2 commits intomainfrom
inclusive-language-phase1
Open

Use inclusive language: rename whitelist to allowlist#5902
jezdez wants to merge 2 commits intomainfrom
inclusive-language-phase1

Conversation

@jezdez
Copy link
Copy Markdown
Member

@jezdez jezdez commented Jan 26, 2026

Summary

This PR updates the codebase to use more inclusive language by renaming whitelist to allowlist.

  • Add missing_dso_allowlist and runpath_allowlist as preferred recipe keys
  • Old keys (missing_dso_whitelist, runpath_whitelist) remain fully supported for backward compatibility
  • Rename internal variables and constants
  • Update documentation with backward compatibility note

Backward Compatibility

  • Both old and new recipe keys are validated and work
  • New keys take precedence when both are specified
  • Existing recipes continue to work unchanged
  • Test recipes using old keys verified to still work

Supersedes #5301
Partially resolves #4540

@jezdez jezdez requested a review from a team as a code owner January 26, 2026 13:36
@conda-bot conda-bot added the cla-signed [bot] added once the contributor has signed the CLA label Jan 26, 2026
@github-project-automation github-project-automation bot moved this to 🆕 New in 🔎 Review Jan 26, 2026
@codspeed-hq
Copy link
Copy Markdown

codspeed-hq bot commented Jan 26, 2026

CodSpeed Performance Report

Merging this PR will not alter performance

Comparing inclusive-language-phase1 (7de1fc2) with main (4d6a8d9)

Summary

✅ 5 untouched benchmarks

@kenodegard
Copy link
Copy Markdown
Contributor

Deprecations?

@jezdez jezdez force-pushed the inclusive-language-phase1 branch 3 times, most recently from b3f812f to c802960 Compare January 27, 2026 09:12
- Add `missing_dso_allowlist` and `runpath_allowlist` as preferred recipe
  keys and function parameters
- Deprecate old `missing_dso_whitelist` and `runpath_whitelist` keys/params
  using the deprecations framework (pending in 26.9, removal in 27.3)
- Old keys/parameters still accepted for backward compatibility
- Rename internal variables and constants from whitelist to allowlist
- Update documentation to use inclusive terminology
- Update rpm skeleton template to use new key name

Backward compatibility:
- Both old and new recipe keys are supported in FIELDS validation
- Function parameters accept both old (deprecated) and new names
- New keys/params take precedence when both are specified
- Existing recipes and callers continue to work with deprecation warnings

Partially resolves #4540
@jezdez jezdez force-pushed the inclusive-language-phase1 branch from c802960 to 8fb6ffb Compare January 27, 2026 09:14
@github-project-automation github-project-automation bot moved this from 🆕 New to ✅ Approved in 🔎 Review Feb 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla-signed [bot] added once the contributor has signed the CLA

Projects

Status: In review 🔍
Status: ✅ Approved

Development

Successfully merging this pull request may close these issues.

Rename variables named white* to allow*

6 participants