GitHubPath not working after 0.1.0 #154
Labels
bug 🐛
Something isn't working
compatibility 🤝
Compatibility with stdlib pathlib
enhancement 🚀
New feature or request
Milestone
I've got a couple projects, browsr and textual-universal-directorytree, that leverage
universal-pathlib
for a TUI file browser. I started working on updating dependencies yesterday and noticed an incompatibility with the new version ofuniversal-pathlib
: my custom implementation ofUPath
forfsspec
's GithubFileSystem stopped working after the release of0.1.0
. In particular, the methodis_dir()
is what broke on instances of theGitHubPath
:The following code, I'm calling it
example.py
, will correctly know that upath is a directory prior to0.1.0
but will get this wrong after:0.0.23 Output:
0.1.3 Output:
I know that GitHub isn't a supported
upath
implementation yet so I understand if you're unable to support this issue, I'd also like to get it added if that's something you're interested in. I'm happy to share code or submit a PR where I can - right now I'm just stuck on trying to figure out exactly what changed.The text was updated successfully, but these errors were encountered: