Skip to content

Commit a32ec82

Browse files
authored
Merge pull request #67 from lsst/tickets/DM-40883
DM-40883: v26 release notes
2 parents 24611a4 + 2e58852 commit a32ec82

13 files changed

+41
-16
lines changed

doc/changes/DM-33528.feature.rst

-2
This file was deleted.

doc/changes/DM-35695.bugfix.rst

-1
This file was deleted.

doc/changes/DM-37439.bugfix.md

-1
This file was deleted.

doc/changes/DM-38492.misc.rst

-1
This file was deleted.

doc/changes/DM-38552.feature.rst

-2
This file was deleted.

doc/changes/DM-38589.bugfix.rst

-2
This file was deleted.

doc/changes/DM-38742.feature.rst

-1
This file was deleted.

doc/changes/DM-39044.feature.rst

-2
This file was deleted.

doc/changes/DM-39791.removal.md

-1
This file was deleted.

doc/changes/DM-40762.bugfix.rst

-1
This file was deleted.

doc/lsst.resources/CHANGES.rst

+39
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,42 @@
1+
Resources v26.0.0 2023-09-22
2+
============================
3+
4+
This package now requires Python 3.10 and newer.
5+
6+
New Features
7+
------------
8+
9+
- ``resource`` URI schemes now use `importlib.resources` (or ``importlib_resources``) rather than the deprecated ``pkg_resources``.
10+
Due to this change, ``resource`` URI schemes now also support ``walk`` and ``findFileResources``. (`DM-33528 <https://jira.lsstcorp.org/browse/DM-33528>`_)
11+
- * Modified the way that a schemeless absolute URI behaves such that we now always convert it to a ``file`` URI.
12+
* The ``root`` parameter can now use any ``ResourcePath`` scheme such that a relative URI can be treated as a URI relative to, for example, a S3 or WebDAV root. (`DM-38552 <https://jira.lsstcorp.org/browse/DM-38552>`_)
13+
- The ``LSST_DISABLE_BUCKET_VALIDATION`` environment variable can now be set to disable validation of S3 bucket names, allowing Ceph multi-tenant colon-separated names to be used. (`DM-38742 <https://jira.lsstcorp.org/browse/DM-38742>`_)
14+
- * Added support for ``as_local`` for Python package resource URIs.
15+
* Added explicit ``isdir()`` implementation for Python package resources. (`DM-39044 <https://jira.lsstcorp.org/browse/DM-39044>`_)
16+
17+
18+
Bug Fixes
19+
---------
20+
21+
- Fixed problem where a fragment associated with a schemeless URI was erroneously being quoted. (`DM-35695 <https://jira.lsstcorp.org/browse/DM-35695>`_)
22+
- Fixed invalid endpoint error in the ``FileReadWriteTestCase`` test when the ``S3_ENDPOINT_URL`` environment variable is set to an invalid endpoint. (`DM-37439 <https://jira.lsstcorp.org/browse/DM-37439>`_)
23+
- * Fixed EOF detection with S3 and HTTP resource handles when using repeated ``read()``.
24+
* Ensured that HTTP reads with resource handles using byte ranges correctly disable remote compression. (`DM-38589 <https://jira.lsstcorp.org/browse/DM-38589>`_)
25+
- Reorganized ``mexists()`` implementation to allow S3 codepath to ensure that a client object was created before using multi-threading. (`DM-40762 <https://jira.lsstcorp.org/browse/DM-40762>`_)
26+
27+
28+
Miscellaneous Changes of Minor Interest
29+
---------------------------------------
30+
31+
- ``ResourcePathExpression`` can now be used in an `isinstance` call on Python 3.10 and newer. (`DM-38492 <https://jira.lsstcorp.org/browse/DM-38492>`_)
32+
33+
34+
An API Removal or Deprecation
35+
-----------------------------
36+
37+
- Dropped support for Python 3.8 and 3.9. (`DM-39791 <https://jira.lsstcorp.org/browse/DM-39791>`_)
38+
39+
140
Resources v25.0.0 2023-02-27
241
============================
342

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ classifiers = [
2020
]
2121
keywords = ["lsst"]
2222
dependencies = [
23-
"lsst-utils",
23+
"lsst-utils >=26.0,<26.100",
2424
"importlib_resources",
2525
]
2626
dynamic = ["version"]

requirements.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
git+https://github.com/lsst/utils@main#egg=lsst-utils
1+
git+https://github.com/lsst/utils@v26.0.x#egg=lsst-utils
22
# Needed for Python <=3.10
33
importlib_resources
44
# optional

0 commit comments

Comments
 (0)