lsst-resources 29.2025.3200__py3-none-any.whl → 29.2025.3400__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.
- lsst/resources/http.py +5 -11
- lsst/resources/version.py +1 -1
- {lsst_resources-29.2025.3200.dist-info → lsst_resources-29.2025.3400.dist-info}/METADATA +1 -1
- {lsst_resources-29.2025.3200.dist-info → lsst_resources-29.2025.3400.dist-info}/RECORD +9 -9
- {lsst_resources-29.2025.3200.dist-info → lsst_resources-29.2025.3400.dist-info}/WHEEL +0 -0
- {lsst_resources-29.2025.3200.dist-info → lsst_resources-29.2025.3400.dist-info}/licenses/COPYRIGHT +0 -0
- {lsst_resources-29.2025.3200.dist-info → lsst_resources-29.2025.3400.dist-info}/licenses/LICENSE +0 -0
- {lsst_resources-29.2025.3200.dist-info → lsst_resources-29.2025.3400.dist-info}/top_level.txt +0 -0
- {lsst_resources-29.2025.3200.dist-info → lsst_resources-29.2025.3400.dist-info}/zip-safe +0 -0
lsst/resources/http.py
CHANGED
|
@@ -430,9 +430,7 @@ def _get_dav_and_server_headers(path: ResourcePath | str) -> tuple[str | None, s
|
|
|
430
430
|
config = HttpResourcePathConfig()
|
|
431
431
|
with SessionStore(config=config).get(path) as session:
|
|
432
432
|
resp = session.options(
|
|
433
|
-
str(path),
|
|
434
|
-
stream=False,
|
|
435
|
-
timeout=config.timeout,
|
|
433
|
+
str(path), stream=False, timeout=config.timeout, headers=path._extra_headers
|
|
436
434
|
)
|
|
437
435
|
|
|
438
436
|
dav_header = server_header = None
|
|
@@ -1380,16 +1378,12 @@ class HttpResourcePath(ResourcePath):
|
|
|
1380
1378
|
path : `str`
|
|
1381
1379
|
A path that can be opened by the file system object.
|
|
1382
1380
|
"""
|
|
1383
|
-
if
|
|
1384
|
-
fsspec is None
|
|
1385
|
-
or not self.is_webdav_endpoint
|
|
1386
|
-
or self.server not in HttpResourcePath.SUPPORTED_URL_SIGNERS
|
|
1387
|
-
):
|
|
1388
|
-
if self.scheme.startswith("dav") and fsspec:
|
|
1389
|
-
# Not webdav so convert to http.
|
|
1390
|
-
return fsspec.url_to_fs(self.geturl())
|
|
1381
|
+
if fsspec is None:
|
|
1391
1382
|
return super().to_fsspec()
|
|
1392
1383
|
|
|
1384
|
+
if not self.is_webdav_endpoint or self.server not in HttpResourcePath.SUPPORTED_URL_SIGNERS:
|
|
1385
|
+
return fsspec.url_to_fs(self.geturl(), client_kwargs={"headers": self._extra_headers})
|
|
1386
|
+
|
|
1393
1387
|
if self.isdir():
|
|
1394
1388
|
raise NotImplementedError(
|
|
1395
1389
|
f"method HttpResourcePath.to_fsspec() not implemented for directory {self}"
|
lsst/resources/version.py
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
__all__ = ["__version__"]
|
|
2
|
-
__version__ = "29.2025.
|
|
2
|
+
__version__ = "29.2025.3400"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: lsst-resources
|
|
3
|
-
Version: 29.2025.
|
|
3
|
+
Version: 29.2025.3400
|
|
4
4
|
Summary: An abstraction layer for reading and writing from URI file resources.
|
|
5
5
|
Author-email: Rubin Observatory Data Management <dm-admin@lists.lsst.org>
|
|
6
6
|
License: BSD 3-Clause License
|
|
@@ -5,7 +5,7 @@ lsst/resources/dav.py,sha256=ZYP7PnQzS7epm5woxnn1_t1XhsPQZm6_q1kv8baUfn4,32100
|
|
|
5
5
|
lsst/resources/davutils.py,sha256=xALuMRSvYroqn_Jz6bjnj43b4OgOgCJtNW49kyTtuiw,97983
|
|
6
6
|
lsst/resources/file.py,sha256=lrwhsg4y1TKWNLymJ2ZfVSj2yGAbv15pk7z7AkhBq9M,24352
|
|
7
7
|
lsst/resources/gs.py,sha256=3qMEqO1wIK05BJmuUHtsEunuYWgR4-eB5Z3ffxEtb0o,12827
|
|
8
|
-
lsst/resources/http.py,sha256=
|
|
8
|
+
lsst/resources/http.py,sha256=vursAZDf2nieF68SJnr8NptDsK6FvZV-5YukFaRuqRc,92424
|
|
9
9
|
lsst/resources/location.py,sha256=x3Tq0x5o1OXYmZDxYBenUG1N71wtDhnjVAr3s2ZEiu8,7937
|
|
10
10
|
lsst/resources/mem.py,sha256=xCpGgvxF2gmO5gLkOikKvIet2RPvaPCiARenR9pUWCk,1115
|
|
11
11
|
lsst/resources/packageresource.py,sha256=vnfeRlpVwpC5cDQZE6Lnh8EH6oZy1sH2vLz9ONYjJ4k,6817
|
|
@@ -15,17 +15,17 @@ lsst/resources/s3utils.py,sha256=ojWf9BPrK9mhGQ8jvs4_8Nsqf9360e79U5FnPTxe24A,145
|
|
|
15
15
|
lsst/resources/schemeless.py,sha256=GfJcKzZ0XIeepfQdW4HPZWiZlSp_ej0SEtSiJTrDUQs,10666
|
|
16
16
|
lsst/resources/tests.py,sha256=KAlwkRlLk9h3qWp07-5bLz9AuSkPOODFv5k49rRR5w0,45668
|
|
17
17
|
lsst/resources/utils.py,sha256=6O3Mq7JbPEtqyD2lM77pRpwcPMfV5SxiNMknw-F2vNs,8097
|
|
18
|
-
lsst/resources/version.py,sha256=
|
|
18
|
+
lsst/resources/version.py,sha256=I85NfXGXrIHDL-kkxKGyHltD0yfSxXDKLv7joJrC86w,55
|
|
19
19
|
lsst/resources/_resourceHandles/__init__.py,sha256=zOcZ8gVEBdAWcHJaZabA8Vdq-wAVcxjbmA_1b1IWM6M,76
|
|
20
20
|
lsst/resources/_resourceHandles/_baseResourceHandle.py,sha256=lQwxDOmFUNJndTxsjpz-HxrQBL0L-z4aXQocHdOEI7c,4676
|
|
21
21
|
lsst/resources/_resourceHandles/_davResourceHandle.py,sha256=12X5-K5KqzG4EV78ZkIIrjcZcFroXy3Y2JQ_N-SDqF0,6616
|
|
22
22
|
lsst/resources/_resourceHandles/_fileResourceHandle.py,sha256=2nC8tfP_ynAfjpzrtkw_1ahx1CuMEFpZ5mLmofSShUk,3676
|
|
23
23
|
lsst/resources/_resourceHandles/_httpResourceHandle.py,sha256=Yami8IVGeru4bLQCag-OvGG0ltz1qyEg57FY4IEB87Y,10995
|
|
24
24
|
lsst/resources/_resourceHandles/_s3ResourceHandle.py,sha256=Cp-eBtptskbmthy3DwLKPpYPLvU_lrqtK10X37inHt0,12406
|
|
25
|
-
lsst_resources-29.2025.
|
|
26
|
-
lsst_resources-29.2025.
|
|
27
|
-
lsst_resources-29.2025.
|
|
28
|
-
lsst_resources-29.2025.
|
|
29
|
-
lsst_resources-29.2025.
|
|
30
|
-
lsst_resources-29.2025.
|
|
31
|
-
lsst_resources-29.2025.
|
|
25
|
+
lsst_resources-29.2025.3400.dist-info/licenses/COPYRIGHT,sha256=yazVsoMmFwhiw5itGrdT4YPmXbpsQyUFjlpOyZIa77M,148
|
|
26
|
+
lsst_resources-29.2025.3400.dist-info/licenses/LICENSE,sha256=7wrtgl8meQ0_RIuv2TjIKpAnNrl-ODH-QLwyHe9citI,1516
|
|
27
|
+
lsst_resources-29.2025.3400.dist-info/METADATA,sha256=yRi7DJvnezlDAAfKTlU-KjtUe_IXWu3YoFS3WHPzsMM,2237
|
|
28
|
+
lsst_resources-29.2025.3400.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
29
|
+
lsst_resources-29.2025.3400.dist-info/top_level.txt,sha256=eUWiOuVVm9wwTrnAgiJT6tp6HQHXxIhj2QSZ7NYZH80,5
|
|
30
|
+
lsst_resources-29.2025.3400.dist-info/zip-safe,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
|
31
|
+
lsst_resources-29.2025.3400.dist-info/RECORD,,
|
|
File without changes
|
{lsst_resources-29.2025.3200.dist-info → lsst_resources-29.2025.3400.dist-info}/licenses/COPYRIGHT
RENAMED
|
File without changes
|
{lsst_resources-29.2025.3200.dist-info → lsst_resources-29.2025.3400.dist-info}/licenses/LICENSE
RENAMED
|
File without changes
|
{lsst_resources-29.2025.3200.dist-info → lsst_resources-29.2025.3400.dist-info}/top_level.txt
RENAMED
|
File without changes
|
|
File without changes
|