|
| 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 | + |
1 | 40 | Resources v25.0.0 2023-02-27
|
2 | 41 | ============================
|
3 | 42 |
|
|
0 commit comments