Ghraven opened a new pull request, #925:
URL: https://github.com/apache/burr/pull/925

   ## Problem
   `burr-redirect/generate_pyproject.py` reads the template and writes the 
generated redirect package `pyproject.toml` without specifying a text encoding. 
On systems where the preferred locale is not UTF-8, that can make this release 
helper dependent on the local default encoding.
   
   ## Before / after
   Before, `Path.read_text()` and `Path.write_text()` used the platform default 
encoding.
   
   After, both template read and generated TOML write explicitly use UTF-8, 
matching the expected encoding for project metadata files.
   
   ## Verification
   - `python -m py_compile burr-redirect\generate_pyproject.py`
   - `python burr-redirect\generate_pyproject.py 0.43.0`
   - Confirmed the generated `burr-redirect/pyproject.toml` did not change.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to