GitHub
07/10/2025, 12:40 AMatomicwrites with stdlib functions
Pull request opened by edgarrmondragon
## Description
## Related Issues
• Closes #XXXX
## Summary by Sourcery
Replace atomicwrites-based file writes with stdlib-based atomic write logic, drop the atomicwrites dependency, and enhance type annotations in project_files.py.
Enhancements:
• Implement atomic file writes with tempfile.mkstemp, os.replace, and os.fsync instead of relying on atomicwrites.
• Add explicit type annotations for _plugin_file_map and the _add_to_index method key parameter in project_files.py.
• Clean up unused imports and adjust method signatures to use standard library types.
Build:
• Remove atomicwrites from project dependencies in pyproject.toml.
CI:
• Include meltano.core.project_files in coverage by removing it from the ignore list.
meltano/meltanoGitHub
07/10/2025, 12:40 AMatomicwrites with stdlib functions
Pull request ready for review by edgarrmondragon
meltano/meltanoGitHub
07/10/2025, 12:41 AMatomicwrites with stdlib functions
Pull request merged by edgarrmondragon
meltano/meltano