Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Teach zipp.Path some additional pathlib.Path methods. #85

Merged
merged 11 commits into from Nov 25, 2022

Commits on Nov 2, 2022

  1. Teach zipp.Path some additional pathlib.Path methods.

    Covers:
    
        * Path.match
        * Path.glob
        * Path.rglob
        * Path.relative_to
        * Path.is_symlink (with trivial implementation given the lack of
          symlink support currently)
    
    along with an implementation of Path.__eq__ for testing/comparison
    purposes.
    
    Part of the implementation here makes use of CPython internals (from
    the pathlib module) but it seems to handle fixing that requires some
    refactoring upstream.
    Julian committed Nov 2, 2022
    Copy the full SHA
    c75ce49 View commit details
    Browse the repository at this point in the history

Commits on Nov 25, 2022

  1. Remove unused import.

    jaraco committed Nov 25, 2022
    Copy the full SHA
    c678a4f View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    519640e View commit details
    Browse the repository at this point in the history
  3. Re-implement glob directly, adding compatibility for older Pythons an…

    …d avoids platform-specific concerns.
    jaraco committed Nov 25, 2022
    Copy the full SHA
    e587f31 View commit details
    Browse the repository at this point in the history
  4. Copy the full SHA
    8325251 View commit details
    Browse the repository at this point in the history
  5. Copy the full SHA
    4e271ca View commit details
    Browse the repository at this point in the history
  6. Use PurePosixPath for relative paths within a zip file. Fixes failing…

    … test on Windows. Added test for relative paths with subdirectories.
    jaraco committed Nov 25, 2022
    Copy the full SHA
    057ed57 View commit details
    Browse the repository at this point in the history
  7. Remove constraint that the result of relative_to is a pathlib object.…

    … Instead, assert that its string value resolves to the expected value.
    jaraco committed Nov 25, 2022
    Copy the full SHA
    e7f4ace View commit details
    Browse the repository at this point in the history
  8. Copy the full SHA
    25739bc View commit details
    Browse the repository at this point in the history
  9. Copy the full SHA
    53e573b View commit details
    Browse the repository at this point in the history
  10. Update changelog.

    jaraco committed Nov 25, 2022
    Copy the full SHA
    7d052c1 View commit details
    Browse the repository at this point in the history