-
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: no attribute 'parse_parts' #830
Comments
Thanks - |
- 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 with the main branch and reopen if the issue is still there. Note that the code is no longer compatible with the latest alpha. |
I can confirm you are right. After TravisCI no supports |
Description
Yesterday the first Beta of Python 3.12 was released. So I triggered the TravisCI build and my testsuite with that Python version in my own project Back In Time.
There might be a problem with
pyfakefs
and Python 3.12 (--version
on TravisCI returnsPython 3.12.0a2+
). But I'm not sure.The error message from the test run is
Reproduce
The code of the test can be found here.
https://github.com/buhtz/backintime/blob/1cb873c06305426dfb401353540a50149277c2c8/common/test/test_diagnostics.py#L103-L134
I'm not able to run Python 3.12 locally on my machine. So I'm not able to create an MWE. But I'll try to figuring out to do this with a Python3.12-docker-thing.
Research
Python 3.11 has
pathlib._Flavour.parse_parts()
. But it is gone in Python 3.12; including theclass _Flavour
.I checked the commit and PR history and found nothing but I'm also not good in handling such git features.
I also can not see something relevant in the CHANGELOG.
I asked the CPython people: python/cpython#104921 and they gave detailed answers that might help you with fixing this.
The text was updated successfully, but these errors were encountered: