Skip to content

Commit 75e0a4d

Browse files
authored
Prepare release v0.2.1 (#192)
* upath: add docstrings to UPath specific methods * upath: update classifiers in setup.py * upath: update changelog
1 parent 4e2afca commit 75e0a4d

File tree

3 files changed

+16
-1
lines changed

3 files changed

+16
-1
lines changed

CHANGELOG.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
88
## [Unreleased]
99
...
1010

11+
## [0.2.1] - 2024-02-18
12+
### Added
13+
- upath: added `UPath.joinuri()` (#189)
14+
15+
### Fixed
16+
- fixed `UPath` instances not hashable (#188)
17+
- fixed missing `packaging` dependency (#187)
18+
- fixed pypi package classifiers
19+
1120
## [0.2.0] - 2024-02-13
1221
### Added
1322
- upath: support Python 3.12 (#152)
@@ -109,7 +118,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
109118
### Added
110119
- started a changelog to keep track of significant changes
111120

112-
[Unreleased]: https://github.com/fsspec/universal_pathlib/compare/v0.2.0...HEAD
121+
[Unreleased]: https://github.com/fsspec/universal_pathlib/compare/v0.2.1...HEAD
122+
[0.2.0]: https://github.com/fsspec/universal_pathlib/compare/v0.2.0...v0.2.1
113123
[0.2.0]: https://github.com/fsspec/universal_pathlib/compare/v0.1.4...v0.2.0
114124
[0.1.4]: https://github.com/fsspec/universal_pathlib/compare/v0.1.3...v0.1.4
115125
[0.1.3]: https://github.com/fsspec/universal_pathlib/compare/v0.1.2...v0.1.3

setup.cfg

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ classifiers =
1616
Programming Language :: Python :: 3.9
1717
Programming Language :: Python :: 3.10
1818
Programming Language :: Python :: 3.11
19+
Programming Language :: Python :: 3.12
1920
Development Status :: 4 - Beta
2021

2122
[options]

upath/core.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -234,14 +234,17 @@ def __init__(
234234

235235
@property
236236
def protocol(self) -> str:
237+
"""The fsspec protocol for the path."""
237238
return self._protocol
238239

239240
@property
240241
def storage_options(self) -> Mapping[str, Any]:
242+
"""The fsspec storage options for the path."""
241243
return MappingProxyType(self._storage_options)
242244

243245
@property
244246
def fs(self) -> AbstractFileSystem:
247+
"""The cached fsspec filesystem instance for the path."""
245248
try:
246249
return self._fs_cached
247250
except AttributeError:
@@ -252,6 +255,7 @@ def fs(self) -> AbstractFileSystem:
252255

253256
@property
254257
def path(self) -> str:
258+
"""The path that a fsspec filesystem can use."""
255259
return super().__str__()
256260

257261
def joinuri(self, uri: str | os.PathLike[str]) -> UPath:

0 commit comments

Comments
 (0)