diff --git a/CHANGELOG.md b/CHANGELOG.md index 798a8f7..3d095b2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] ... +## [0.2.1] - 2024-02-18 +### Added +- upath: added `UPath.joinuri()` (#189) + +### Fixed +- fixed `UPath` instances not hashable (#188) +- fixed missing `packaging` dependency (#187) +- fixed pypi package classifiers + ## [0.2.0] - 2024-02-13 ### Added - upath: support Python 3.12 (#152) @@ -109,7 +118,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added - started a changelog to keep track of significant changes -[Unreleased]: https://github.com/fsspec/universal_pathlib/compare/v0.2.0...HEAD +[Unreleased]: https://github.com/fsspec/universal_pathlib/compare/v0.2.1...HEAD +[0.2.0]: https://github.com/fsspec/universal_pathlib/compare/v0.2.0...v0.2.1 [0.2.0]: https://github.com/fsspec/universal_pathlib/compare/v0.1.4...v0.2.0 [0.1.4]: https://github.com/fsspec/universal_pathlib/compare/v0.1.3...v0.1.4 [0.1.3]: https://github.com/fsspec/universal_pathlib/compare/v0.1.2...v0.1.3 diff --git a/setup.cfg b/setup.cfg index 8a6dd66..bf31095 100644 --- a/setup.cfg +++ b/setup.cfg @@ -16,6 +16,7 @@ classifiers = Programming Language :: Python :: 3.9 Programming Language :: Python :: 3.10 Programming Language :: Python :: 3.11 + Programming Language :: Python :: 3.12 Development Status :: 4 - Beta [options] diff --git a/upath/core.py b/upath/core.py index 31343c1..bea2eba 100644 --- a/upath/core.py +++ b/upath/core.py @@ -234,14 +234,17 @@ def __init__( @property def protocol(self) -> str: + """The fsspec protocol for the path.""" return self._protocol @property def storage_options(self) -> Mapping[str, Any]: + """The fsspec storage options for the path.""" return MappingProxyType(self._storage_options) @property def fs(self) -> AbstractFileSystem: + """The cached fsspec filesystem instance for the path.""" try: return self._fs_cached except AttributeError: @@ -252,6 +255,7 @@ def fs(self) -> AbstractFileSystem: @property def path(self) -> str: + """The path that a fsspec filesystem can use.""" return super().__str__() def joinuri(self, uri: str | os.PathLike[str]) -> UPath: