-
Notifications
You must be signed in to change notification settings - Fork 2.4k
filter_file is broken #48037
Copy link
Copy link
Closed
Labels
Description
Steps to reproduce
- runs
f.tell()on aTextIOWrapper, which returns an "opaque number", which is not the number of bytes, but this number is used as such afterwards - does not explicitly open the file in a locale-independent way
- does not allow users to specify a different text encoding
- creates a file backup in an unsafe way
- (does not preserve hardlinks, but i guess we can live with that)
Error message
No response
Information on your system
- Spack: 0.24.0.dev0 (a3985e7)
- Python: 3.13.0
- Platform: linux-ubuntu24.04-zen2
General information
- I have run
spack debug reportand reported the version of Spack/Python/Platform - I have searched the issues of this repo and believe this is not a duplicate
- I have run the failing commands in debug mode and reported the output
Reactions are currently unavailable
Metadata
Metadata
Labels
Type
Projects
Status
Done