Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: fsspec/universal_pathlib
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.1.4
Choose a base ref
...
head repository: fsspec/universal_pathlib
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.2.0
Choose a head ref
  • 11 commits
  • 39 files changed
  • 5 contributors

Commits on Oct 23, 2023

  1. Configuration menu
    Copy the full SHA
    befb71e View commit details
    Browse the repository at this point in the history

Commits on Jan 25, 2024

  1. 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]>
    glesperance and ap-- authored Jan 25, 2024
    Configuration menu
    Copy the full SHA
    9f8cc86 View commit details
    Browse the repository at this point in the history

Commits on Jan 26, 2024

  1. 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
    ap-- authored Jan 26, 2024
    Configuration menu
    Copy the full SHA
    a7cc6e6 View commit details
    Browse the repository at this point in the history

Commits on Jan 30, 2024

  1. Support Python 3.12 (#152)

    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
    ap-- authored Jan 30, 2024
    Configuration menu
    Copy the full SHA
    f7af174 View commit details
    Browse the repository at this point in the history

Commits on Feb 8, 2024

  1. 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
    ap-- authored Feb 8, 2024
    Configuration menu
    Copy the full SHA
    5c240c1 View commit details
    Browse the repository at this point in the history
  2. Add GitHubPath (#155)

    Co-authored-by: juftin <[email protected]>
    Co-authored-by: ap-- <[email protected]>
    3 people committed Feb 8, 2024
    Configuration menu
    Copy the full SHA
    8314a65 View commit details
    Browse the repository at this point in the history
  3. Fix broken mkdir (#177)

    * 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
    ap-- authored Feb 8, 2024
    Configuration menu
    Copy the full SHA
    cfa0795 View commit details
    Browse the repository at this point in the history

Commits on Feb 10, 2024

  1. 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
    ap-- authored Feb 10, 2024
    Configuration menu
    Copy the full SHA
    a98c507 View commit details
    Browse the repository at this point in the history
  2. 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]>
    joouha and ap-- authored Feb 10, 2024
    Configuration menu
    Copy the full SHA
    f6e9adc View commit details
    Browse the repository at this point in the history

Commits on Feb 13, 2024

  1. upath.implementations: switch cloud, http and webdav to recommended _…

    …transform_init_args (#181)
    ap-- authored Feb 13, 2024
    Configuration menu
    Copy the full SHA
    0b6490c View commit details
    Browse the repository at this point in the history
  2. Update docs for v0.2.0 (#182)

    * upath: update readme for new release
    * upath: add version migration information to readme
    * upath: update changelog for new release
    ap-- authored Feb 13, 2024
    Configuration menu
    Copy the full SHA
    569ceab View commit details
    Browse the repository at this point in the history
Loading