-
Notifications
You must be signed in to change notification settings - Fork 42
Comparing changes
Open a pull request
base repository: fsspec/universal_pathlib
base: v0.1.4
head repository: fsspec/universal_pathlib
compare: v0.2.0
- 11 commits
- 39 files changed
- 5 contributors
Commits on Oct 23, 2023
-
Configuration menu - View commit details
-
Copy full SHA for befb71e - Browse repository at this point
Copy the full SHA befb71eView commit details
Commits on Jan 25, 2024
-
Implementation of 'local://' URI Scheme Support (#150)
* Update test_local.py * Update registry.py * Linting via nox * upath: add local to registry tests, skip local on old fsspec version * tests: xfail https test on ssl errors * tests: xfail http glob test for fsspec>2023.10.0 --------- Co-authored-by: Andreas Poehlmann <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9f8cc86 - Browse repository at this point
Copy the full SHA 9f8cc86View commit details
Commits on Jan 26, 2024
-
Backport py312 memory-filesystem and empty authority handling (#162)
* upath: always add netloc to ensure fsspec compatibility * upath.implementations.memory: ignore authority parts in memory URIs * tests: stricter normalization tests and 2-slash memory uri normalization * upath.core: improve __eq__ check * upath.implementations.memory: implement memory uri normalization * tests: mark netloc only memory normalization tests as currently broken
Configuration menu - View commit details
-
Copy full SHA for a7cc6e6 - Browse repository at this point
Copy the full SHA a7cc6e6View commit details
Commits on Jan 30, 2024
-
Implement Python 3.12 support in UPath: * initial work on py312 support * tests: don't test private interface * core312plus: remove commented pathlib functionality * cloud, local and memory versions * upath.core version switch in init * tests: xfail some tests on python3.12 * tests: fix minor issues with tests * tests: DummyFS should overwrite _strip_protocol too * upath.core imports and minor fixes * ci: enable 3.12 tests * test: fix private url attr test * upath: fix subclassing issue * local: inherit __init__ from UPath * upath.implementations.cloud: deprecate lists as args to joinpath * upath.implementations.cloud: use correct flavour/pathmod * tests: xfail non-applicable __new__ test * upath.core312plus: fix typing issues * upath: 312 fix glob * upath: fix relative_to issues * tests: add missing nox session * tests: adjust webdav test to include base_url in storage_options * upath.implementations.local: remove debugging print * upath: make storage_options readonly * upath: minor error message improvement * upath: fix pickling issue if subclasses change __init__ args * tests: relax kwargs test * upath.implementations.webdav: working webdav implementation * upath.implementations.azure: fix touch * tests: update for empty parts paths * upath: working http implementation * upath: working hdfs implementation * upath: always add netloc to ensure fsspec compatibility * upath: add memory path and rework netloc handling for memory * upath: fix parts handling for http * tests: update pathlib 3.12 tests * upath: fix os.Pathlike support in get_upath_protocol * fix mypy issues * upath.registry: clear implementation cache when overriding registration * upath.implementations.local: on 3.12 keep UPath.with_segments and storage_options * upath: make instance creation in UPath.__new__ more explicit * upath: on 3.12 add some comments regarding missing functionality * tests: minor adjustments to pathlib compatibility tests on 3.12 * upath: py312 UPath.__new__ further clarify behavior * tests: minor fixes in tests * upath: refactor local implementation * typing: ignore types for __new__ in PosixUPath/WindowsUPath * upath.implementations.local: fix FilePath superclass * tests: windows 3.12 walk recursion tests increase recursion_limit for test * upath.implementations.memory: normalize to two slashes for py312 and adjust tests for netloc only memory path * tests: adjust pathlib tests to accommodate fix from py-3.12.1 * upath: switch to FSSpecFlavour implementation * nox: always set aiohttp workaround * nox: disable mypy in lint session for now * tests: update pytest and plugins
Configuration menu - View commit details
-
Copy full SHA for f7af174 - Browse repository at this point
Copy the full SHA f7af174View commit details
Commits on Feb 8, 2024
-
Offer improved customization options for user subclasses of UPath (#173)
* customizable fsspec filesystem factory * upath.core: fix _default_accessor override error * upath.core: fix _fs_factory call * upath.core: create a patched subclass for _fs_factory * upath.core: fix has_custom_fs_factory check * upath._protocol: move to upath protocol parsing * tests: allow setting azurite port through envvar * upath._flavour: factor out FSSpecFlavour * upath._protocol: add 'data' protocol matching * upath: allow customization of init args for UPath 3.12+ * upath._protocol: add allow_unkown kwarg for strip_upath_protocol * upath.registry: correct class for fsspec file/local * upath._flavour: allow unknown protocol * upath: use single implementation * upath: make flavour compatible with py3.8+ * upath.implementations: simplify UPath subclasses * upath: provide single UPath implementation * tests: skip/xfail obsolete tests * tests: memory fs normalization now passes on py38+ * upath: typo fixes in implementations.local * upath.implementations.local: fix issues with py312 base * upath.implementations.local: fix minor issue in init for WindowsUPath * tests: update pathlib3.12 tests to register subclasses * upath.core: don't promote local paths with storage_options to FilePath * upath.implementations.webdav: fix webdav for older fsspec versions * upath.core: port glob fix for older fsspec version * upath.core: remove inconsistent typing * upath: fix typing issues * repo: update pre-commit-config * readme: adjust LocalPath -> FilePath * upath: deprecate accessors more gracefully * upath.core: _accessor shim can't use property * upath.implementations.local: fix iterdir for fsspec local paths when called on a file * upath._compat: fix warnings._deprecated is missing on older pythons * upath.core: try to provide backwards compatibility for custom __new__ methods * upath: align all migration related deprecation warnings * upath.core: add comment explainin _protocol_dispatch * tests: some subclassing tests in the pathlib3.12 test suite xpass * tests: test the migration compat code with a GitHub implementation * tests: add comment regarding webdav test * tests: run github migration test only if GITHUB_TOKEN in env * tests: make pathlib3.12 tests succeed * upath.core: warn when importing _UriFlavour or PT * upath.core: improve comment regarding storage_options combination * upath._compat: fix backwards compat for custom accessors * upath: backwards compat support for _drv, _root, and _parts * upath: add comment regarding _url * upath: backward compat support for _path * upath: provide missing deprecated classmethods on py312 * upath: provide storage_options customization classmethod
Configuration menu - View commit details
-
Copy full SHA for 5c240c1 - Browse repository at this point
Copy the full SHA 5c240c1View commit details -
Co-authored-by: juftin <[email protected]> Co-authored-by: ap-- <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8314a65 - Browse repository at this point
Copy the full SHA 8314a65View commit details -
* tests: add azure mkdir test for new bucket source: dtrifiro@fac2bcf * upath: don't use makedirs in UPath.mkdir * upath.implementations.cloud: handle older versions of gcsfs's mkdir * tests: remove xfails from gcsfs mkdir tests
Configuration menu - View commit details
-
Copy full SHA for cfa0795 - Browse repository at this point
Copy the full SHA cfa0795View commit details
Commits on Feb 10, 2024
-
upath._stat: add a os.stat_result compatible fsspec info wrapper (#179)
* upath._stat: add a os.stat_result compatible fsspec info wrapper * upath._stat: add repr to UPathStatResult * tests: add a basic size and ISDIR, ISREG test * upath.implementations.http: fix folders are labeled as 'file' in info * upath._stat: mention issue with HTTPPath.stat() on older fsspec as known issue
Configuration menu - View commit details
-
Copy full SHA for a98c507 - Browse repository at this point
Copy the full SHA a98c507View commit details -
Override path formatting method for data-URIs (#169)
* Override path formatting method for data-URIs This fixes an issue with `UPath.stat()` for data URIs, where fsspec was expecting the full URI to be passed to `fs.info` instead of just the URI path as was previously implemented. * Update registry tests * upath.implementations.data: adjust DataPath and add tests * tests: xfail data tests when fsspec is too old --------- Co-authored-by: Andreas Poehlmann <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f6e9adc - Browse repository at this point
Copy the full SHA f6e9adcView commit details
Commits on Feb 13, 2024
-
upath.implementations: switch cloud, http and webdav to recommended _…
…transform_init_args (#181)
Configuration menu - View commit details
-
Copy full SHA for 0b6490c - Browse repository at this point
Copy the full SHA 0b6490cView commit details -
* upath: update readme for new release * upath: add version migration information to readme * upath: update changelog for new release
Configuration menu - View commit details
-
Copy full SHA for 569ceab - Browse repository at this point
Copy the full SHA 569ceabView commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v0.1.4...v0.2.0