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

Use of deprecated path api Path.isdir #224

Closed
flying-sheep opened this issue Apr 9, 2024 · 1 comment
Closed

Use of deprecated path api Path.isdir #224

flying-sheep opened this issue Apr 9, 2024 · 1 comment

Comments

@flying-sheep
Copy link

flying-sheep commented Apr 9, 2024

See path 16.12.0:

Added .is_dir and .is_file for parity with pathlib. Deprecates .isdir and .isfile. (jaraco/path#214)

if hasattr(self, 'workspace') and self.workspace.isdir():

@flying-sheep flying-sheep changed the title Use of deprecated pathlib api Path.isdir Use of deprecated path api Path.isdir Apr 9, 2024
@flying-sheep
Copy link
Author

this now breaks as the API has been removed

JPEWdev added a commit to JPEWdev/shacl2code that referenced this issue Aug 2, 2024
The upstream for this module appears dead, and it is broken with the
latest version of python due to [1], so remove it and implement the
functionality locally

[1]: man-group/pytest-plugins#224
JPEWdev added a commit to JPEWdev/shacl2code that referenced this issue Aug 2, 2024
The upstream for this module appears dead, and it is broken with the
latest version of python due to [1], so remove it and implement the
functionality locally

[1]: man-group/pytest-plugins#224
JPEWdev added a commit to JPEWdev/shacl2code that referenced this issue Aug 2, 2024
The upstream for this module appears dead, and it is broken with the
latest version of python due to [1], so remove it and implement the
functionality locally

[1]: man-group/pytest-plugins#224
JPEWdev added a commit to JPEWdev/shacl2code that referenced this issue Aug 2, 2024
The upstream for this module appears dead, and it is broken with the
latest version of python due to [1], so remove it and implement the
functionality locally

[1]: man-group/pytest-plugins#224
JPEWdev added a commit to JPEWdev/shacl2code that referenced this issue Aug 2, 2024
The upstream for this module appears dead, and it is broken with the
latest version of python due to [1], so remove it and implement the
functionality locally

[1]: man-group/pytest-plugins#224
jonbannister added a commit that referenced this issue Aug 16, 2024
jonbannister added a commit that referenced this issue Oct 4, 2024
jonbannister added a commit that referenced this issue Oct 9, 2024
#224: Fix the use of Path, which renamed isdir() to is_dir().
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants