Skip to content

Conversation

zklaus
Copy link
Contributor

@zklaus zklaus commented Oct 3, 2025

Description:

This PR adds a new allowlist_file option to the yaml specification for migrators. This can be used to limit the packages affected by a migrator with a text file listing desired packages much like we already use for arch migrations.

This came out of discussions around the currently paused Python free-threaded migrator to give us the option of approaching that migration carefully, but may find applications beyond that.

Checklist:

  • Pydantic model updated or no update needed

Cross-refs, links to issues, etc:

@isuruf
Copy link
Member

isuruf commented Oct 3, 2025

Please add to docs at

Copy link
Contributor

@beckermr beckermr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We need to add a test of dumping and loading migrators as JSON with this new option being used.

Copy link

codecov bot commented Oct 3, 2025

Codecov Report

❌ Patch coverage is 93.10345% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 80.65%. Comparing base (2fb5a12) to head (8b227bd).

Files with missing lines Patch % Lines
conda_forge_tick/migrators/migration_yaml.py 33.33% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4858      +/-   ##
==========================================
- Coverage   80.66%   80.65%   -0.02%     
==========================================
  Files         143      143              
  Lines       16492    16492              
==========================================
- Hits        13304    13302       -2     
- Misses       3188     3190       +2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@zklaus zklaus changed the title feat: Add whitelist_file option to yaml migrators feat: Add allowlist_file option to yaml migrators Oct 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants