-
-
Notifications
You must be signed in to change notification settings - Fork 14
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
PyPy3.10: xattr.getxattr()
does not accept pathlib.Path
whereas it works on CPython
#41
Comments
Oh, sorry, I was looking at the wrong argument. It's probably https://foss.heptapod.net/pypy/pypy/-/issues/3168; i.e. |
Could you change CI to use pypy-3.10-nightly, pypy-3.9-nightly and ping me on CI failures? pyxattr/.github/workflows/ci.yml Lines 35 to 37 in 1d04275
|
I added handling for |
I've switch to pypy-3.9-nightly and 3.10-nightly. The run passed: https://github.com/iustin/pyxattr/actions/runs/6982967019. |
You can always convert a |
@iustin you may want to switch back to the last stable release which contains the fix I mentioned above, since using nightlies may be noisy (no guarantee they work all the time) |
I was actually going to ask about that, since I had to disable 3.10-nightly yesterday. Is there a canonical list of the stable releases? |
There are a few :) The list of released downloads as a json file (consumed by the python setup github action) is here, and the downloads themselves are here The changelogs are here, and you can see the fix for this issue in the version-specific changelog. |
Based on #41, this can be re-enabled now.
Based on #41, this can be re-enabled now.
I've re-enabled pypy-3.10, and moved 3.9 from nightly to well, no nightly. However, it's still not clear to me how to read the list of releases. E.g. from this snippet:
How do you get to a valid |
From #41, the Pathlib issues should have been fixed under PyPy, so enable these as well to prevent regressions.
From #41, the Pathlib issues should have been fixed under PyPy, so enable these as well to prevent regressions.
Per #41, this is now fixed in pypy 3.10, so we can enable the tests to prevent regressions.
Per #41, this is now fixed in pypy 3.10, so we can enable the tests to prevent regressions.
Per #41, this is now fixed in pypy 3.10, so we can enable the tests to prevent regressions. That makes pypy-3.10 the first pypy version that runs all tests that cpython does!
Per #41, this is now fixed in pypy 3.10, so we can enable the tests to prevent regressions. That makes pypy-3.10 the first pypy version that runs all tests that cpython does!
I've enabled PathLib tests under pypy 3.10, which means it now runs all tests that CPython does. I'll mark this issue closed, now. Thanks all! |
You can get notified of changes to the download site via something like https://visualping.io/ |
Well, yes, thanks, but I was hoping that there would be something built-in to GitHub actions marketplace, or similar. All good, I can periodically check myself. |
I think the line in question is:pyxattr/xattr.c
Line 439 in 1d04275
I suppose CPython implicitly convertspathlib.Path
to a string, whereas PyPy throws an error.CC @mattip
The text was updated successfully, but these errors were encountered: