Skip to content

Commit 73ff378

Browse files
authored
Merge pull request #31 from lsst/tickets/DM-36034
DM-36034: v24.0.0 release notes
2 parents 1a01190 + b7a56ab commit 73ff378

14 files changed

+44
-28
lines changed

.github/workflows/build.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ jobs:
5858
shell: bash -l {0}
5959
run: |
6060
conda install -y -q \
61-
flake8 \
61+
"flake8<5" \
6262
pytest pytest-flake8 pytest-xdist pytest-openfiles pytest-cov
6363
6464
- name: List installed packages

README.md

+8-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# lsst.resources
22

3+
[![pypi](https://img.shields.io/pypi/v/lsst-resources.svg)](https://pypi.org/project/lsst-resources/)
4+
[![codecov](https://codecov.io/gh/lsst/resources/branch/main/graph/badge.svg?token=jGf63Xc1Ar)](https://codecov.io/gh/lsst/resources)
5+
6+
37
This package provides a simple interface to local or remote files using URIs.
48

59
```
@@ -12,6 +16,8 @@ s3_uri = ResourcePath("s3://bucket/data/file.txt")
1216
contents = s3_uri.read()
1317
```
1418

15-
The package currently understands `file`, `s3`, `http[s]`, and `resource` (Python package resource) URI schemes as well as a scheme-less URI (relative local file path).
19+
The package currently understands `file`, `s3`, `gs`, `http[s]`, and `resource` (Python package resource) URI schemes as well as a scheme-less URI (relative local file path).
20+
21+
The package provides the main file abstraction layer in the [Rubin Observatory Data Butler](https://github.com/lsst/daf_butler) datastore.
1622

17-
The is package provides the main file abstraction layer in the [Rubin Observatory Data Butler](https://github.com/lsst/daf_butler) datastore.
23+
PyPI: [lsst-resources](https://pypi.org/project/lsst-resources/)

doc/changes/DM-27355.feature.rst

-1
This file was deleted.

doc/changes/DM-31723.feature.rst

-1
This file was deleted.

doc/changes/DM-32408.feature.rst

-1
This file was deleted.

doc/changes/DM-32482.feature.rst

-1
This file was deleted.

doc/changes/DM-33394.misc.rst

-1
This file was deleted.

doc/changes/DM-33597.misc.rst

-2
This file was deleted.

doc/changes/DM-33769.feature.rst

-11
This file was deleted.

doc/changes/DM-35446.misc.rst

-1
This file was deleted.

doc/changes/README.rst

-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ The ``<TYPE>`` should be one of:
1313
* ``perf``: A performance enhancement.
1414
* ``doc``: A documentation improvement.
1515
* ``removal``: An API removal or deprecation.
16-
* ``other``: Other Changes and Additions of interest to general users.
1716
* ``misc``: Changes that are of minor interest.
1817

1918
An example file name would therefore look like ``DM-30291.misc.rst``.

doc/lsst.resources/CHANGES.rst

+31-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,32 @@
1-
resources Changes
2-
=================
1+
Resources v24.0.0 2022-08-26
2+
============================
33

4-
* The ButlerURI code has been extracted from the ``daf_butler`` package and made into a standalone package. It is now known as `lsst.resources.ResourcePath` (DM-31723)
4+
New Features
5+
------------
6+
7+
- This package is now available on `PyPI as lsst-resources <https://pypi.org/project/lsst-resources/>`_.
8+
- The ``lsst.daf.butler.ButlerURI`` code has been extracted from the ``daf_butler`` package and made into a standalone package. It is now known as `lsst.resources.ResourcePath` and distributed in the ``lsst-resources`` package.
9+
- Add support for Google Cloud Storage access using the ``gs`` URI scheme. (`DM-27355 <https://jira.lsstcorp.org/browse/DM-27355>`_)
10+
- Builds using ``setuptools`` now calculate versions from the Git repository, including the use of alpha releases for those associated with weekly tags. (`DM-32408 <https://jira.lsstcorp.org/browse/DM-32408>`_)
11+
- Add an `open` method that returns a file-like buffer wrapped by a context manager. (`DM-32842 <https://jira.lsstcorp.org/browse/DM-32842>`_)
12+
- Major cleanup of the WebDAV interface:
13+
14+
* Improve client timeout and retries.
15+
* Improve management of persistent connections to avoid exhausting server
16+
resources when there are thousands of simultaneous clients.
17+
* Rename environment variables previously named ``LSST_BUTLER_*`` by:
18+
19+
* ``LSST_HTTP_CACERT_BUNDLE``
20+
* ``LSST_HTTP_AUTH_BEARER_TOKEN``
21+
* ``LSST_HTTP_AUTH_CLIENT_CERT``
22+
* ``LSST_HTTP_AUTH_CLIENT_KEY``
23+
* ``LSST_HTTP_PUT_SEND_EXPECT_HEADER`` (`DM-33769 <https://jira.lsstcorp.org/browse/DM-33769>`_)
24+
25+
26+
Miscellaneous Changes of Minor Interest
27+
---------------------------------------
28+
29+
- Reorganize test code to enhance code reuse and allow new schemes to make use of existing tests. (`DM-33394 <https://jira.lsstcorp.org/browse/DM-33394>`_)
30+
- Attempt to catch 429 Retry client error in S3 interface.
31+
This code is not caught by ``botocore`` itself since it is not part of the AWS standard but Google can generate it. (`DM-33597 <https://jira.lsstcorp.org/browse/DM-33597>`_)
32+
- When walking the local file system symlinks to directories are now followed. (`DM-35446 <https://jira.lsstcorp.org/browse/DM-35446>`_)

doc/lsst.resources/index.rst

+2
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ Design and Development
2222

2323
``lsst.resources`` is developed at https://github.com/lsst/resources.
2424

25+
It is available from PyPI as ``lsst-resources``: https://pypi.org/project/lsst-resources/
26+
2527
.. _lsst.resources-pyapi:
2628

2729
Python API reference

pyproject.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -93,12 +93,12 @@ version = { attr = "lsst.resources.__version__" }
9393
[[tool.towncrier.type]]
9494
directory = "misc"
9595
name = "Miscellaneous Changes of Minor Interest"
96-
showcontent = false
96+
showcontent = true
9797

9898
[[tool.towncrier.type]]
9999
directory = "removal"
100100
name = "An API Removal or Deprecation"
101-
showcontent = false
101+
showcontent = true
102102

103103
[tool.black]
104104
line-length = 110

0 commit comments

Comments
 (0)