-
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.11 test failures (IsADirectoryError) with 4.6.0 #686
Comments
Thanks for the report. Maybe it was premature to claim support for Python 3.11, given that it is not released yet. I will have a closer tonight or tomorrow, maybe I'll find some Python 3.11 changes in |
While this is not fixed, you probably have to pin pyfakefs to a version < 4.6.0 (though that would not support 3.11 at all). |
Ok, turns out that error now also appears in the same CI tests that passed yesterday, on all systems. Yesterday's builds have used Python 3.11 beta 3, while today's use 3.11 beta 4, which has been released a day before. Obviously something has changed in Hopefully I can reproduce this locally once I have installed the new version... |
Update: this is indeed missing functionality in pyfakefs. In |
- needed to support tempfile in Python 3.11 - fixes pytest-dev#686
- needed to support tempfile in Python 3.11 - fixes #686
Thanks! |
I put out a new Pypi patch release (4.6.1). |
- the wrong argument had been passed - fixes pytest-dev#686
When running the unit tests locally, test_minijail_env_vars fails with an IsADirectoryError (Is a directory in the fake filesystem: '/tmp'). It looks as if this is an issue with pyfakefs misbehaving on certain platforms in newer versions of Python: pytest-dev/pyfakefs#686 By updating the pipfile to a newer version of pyfakefs, the unit test now passes.
Describe the bug
The 4.6.0 declares support for py3.11. However, when running the test suite I get a bunch of failures (they seem to boil down to
IsADirectoryError
being raised):Test failures
How To Reproduce
tox -e py311
Your environment
Please run the following and paste the output.
The text was updated successfully, but these errors were encountered: