thds.core 1.45.20250807210328__py3-none-any.whl → 1.45.20250811205716__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of thds.core might be problematic. Click here for more details.
- thds/core/files.py +1 -0
- {thds_core-1.45.20250807210328.dist-info → thds_core-1.45.20250811205716.dist-info}/METADATA +1 -1
- {thds_core-1.45.20250807210328.dist-info → thds_core-1.45.20250811205716.dist-info}/RECORD +6 -6
- {thds_core-1.45.20250807210328.dist-info → thds_core-1.45.20250811205716.dist-info}/WHEEL +0 -0
- {thds_core-1.45.20250807210328.dist-info → thds_core-1.45.20250811205716.dist-info}/entry_points.txt +0 -0
- {thds_core-1.45.20250807210328.dist-info → thds_core-1.45.20250811205716.dist-info}/top_level.txt +0 -0
thds/core/files.py
CHANGED
|
@@ -20,6 +20,7 @@ logger = getLogger(__name__)
|
|
|
20
20
|
|
|
21
21
|
|
|
22
22
|
def set_read_only(fpath: StrOrPath) -> None:
|
|
23
|
+
assert not os.path.isdir(fpath), f"Cannot set a directory, {fpath}, to read-only, only files."
|
|
23
24
|
# thank you https://stackoverflow.com/a/51262451
|
|
24
25
|
logger.debug("Setting '%s' to read-only", fpath)
|
|
25
26
|
perms = stat.S_IMODE(os.lstat(fpath).st_mode)
|
|
@@ -11,7 +11,7 @@ thds/core/dict_utils.py,sha256=MatsjZC9lchfdaDqNAzL2mkTZytDnCAqg56sMm71wbE,6364
|
|
|
11
11
|
thds/core/dump_stacks.py,sha256=srE4VlgU1kwcMFf12skenSdinx7Lu174MjV-gLNh6n4,1033
|
|
12
12
|
thds/core/env.py,sha256=HkuyFmGpCgdQUB1r2GbpCqB3cs1lCsvp47Ghk1DHBo8,1083
|
|
13
13
|
thds/core/exit_after.py,sha256=0lz63nz2NTiIdyBDYyRa9bQShxQKe7eISy8VhXeW4HU,3485
|
|
14
|
-
thds/core/files.py,sha256=
|
|
14
|
+
thds/core/files.py,sha256=aGJ6D23DcxTlqFtSZLLPDINUsEwGAI980mMO5U0W44M,4678
|
|
15
15
|
thds/core/fp.py,sha256=S9hM7YmjbmaYbe4l5jSGnzf3HWhEaItmUOv6GMQpHo8,508
|
|
16
16
|
thds/core/fretry.py,sha256=PKgOxCMjcF4zsFfXFvPXpomv5J6KU6llB1EaKukugig,6942
|
|
17
17
|
thds/core/futures.py,sha256=JgqEP9TFC5UVr4tpfaVePHuI-pTsKAFHDWLxkE4aDb0,7372
|
|
@@ -73,8 +73,8 @@ thds/core/sqlite/structured.py,sha256=SvZ67KcVcVdmpR52JSd52vMTW2ALUXmlHEeD-VrzWV
|
|
|
73
73
|
thds/core/sqlite/types.py,sha256=oUkfoKRYNGDPZRk29s09rc9ha3SCk2SKr_K6WKebBFs,1308
|
|
74
74
|
thds/core/sqlite/upsert.py,sha256=BmKK6fsGVedt43iY-Lp7dnAu8aJ1e9CYlPVEQR2pMj4,5827
|
|
75
75
|
thds/core/sqlite/write.py,sha256=z0219vDkQDCnsV0WLvsj94keItr7H4j7Y_evbcoBrWU,3458
|
|
76
|
-
thds_core-1.45.
|
|
77
|
-
thds_core-1.45.
|
|
78
|
-
thds_core-1.45.
|
|
79
|
-
thds_core-1.45.
|
|
80
|
-
thds_core-1.45.
|
|
76
|
+
thds_core-1.45.20250811205716.dist-info/METADATA,sha256=C4ZlWJfwdU-xlFzCWGFUmJCbEKIe67ob_Cufzaa_PqA,2216
|
|
77
|
+
thds_core-1.45.20250811205716.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
78
|
+
thds_core-1.45.20250811205716.dist-info/entry_points.txt,sha256=bOCOVhKZv7azF3FvaWX6uxE6yrjK6FcjqhtxXvLiFY8,161
|
|
79
|
+
thds_core-1.45.20250811205716.dist-info/top_level.txt,sha256=LTZaE5SkWJwv9bwOlMbIhiS-JWQEEIcjVYnJrt-CriY,5
|
|
80
|
+
thds_core-1.45.20250811205716.dist-info/RECORD,,
|
|
File without changes
|
{thds_core-1.45.20250807210328.dist-info → thds_core-1.45.20250811205716.dist-info}/entry_points.txt
RENAMED
|
File without changes
|
{thds_core-1.45.20250807210328.dist-info → thds_core-1.45.20250811205716.dist-info}/top_level.txt
RENAMED
|
File without changes
|