-
Notifications
You must be signed in to change notification settings - Fork 91
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
Python 3.12 beta1: 'PosixPath' object has no attribute '_drv' #831
Comments
So Travis is quite far behind. GitHub Actions is more up-to-date, and this project's CI is already testing 3.12 which is good to see 👍 Here's a build from last week, showing it using 3.12.0-alpha.7 (released 2023-04-04): |
GH Actions are up to date, they already use 3.12 beta1 as of today. I will see if I can get this done over the weekend - I hope that the problem with |
- distutils has been removed - variable renamed in pathlib - add workaround for patching open, comment out not working tests - fixes pytest-dev#830 and pytest-dev#831
Please check if the problem still happens with the main branch, and with beta 1. I actually consider this invalid, as it was tested with alpha2, which had never been supported. The callstack shows that the respective pathlib code has sufficiently changed meanwhile. I'm going to close this - please write new issues if you find problems with the beta1 (or later) Python version. |
I can confirm you are right. After TravisCI no supports |
Related to #830
--version
on TravisCI returnsPython 3.12.0a2+
. Not sure if this is different from "3.12 beta1".Here is another error in a
pyfakefs
using unittest.The related code
https://github.com/buhtz/backintime/blob/a80b655229207f90cd2552bec4bc869e597aa024/common/test/test_tools.py#L473-L513
The text was updated successfully, but these errors were encountered: