Age | Commit message (Collapse) | Author |
|
* update keywords
* create pyproject.toml with build backend
|
|
- see #746
|
|
- adapt to black formatting style using auto-black:
* replace single with double quotes
* use 88 character maximum line length
* some changes in line breaks
- add pre-commit.ci batch
- mention pre-commit in contributing guide
- closes #733
|
|
- auto-fixed whitespace problems
- fixed a few flake8 warnings
- remove flake8 and mypy run from workflow
(will be done by pre-commit CI)
- add pre-commit badge
|
|
- fixes #707
|
|
- add Python 3.11 to CI tests
- adapt the pathlib tests to work with Python 3.11
- adapt handling of pathlib in unfaked modules:
need to ensure that the original os module is used,
as pathlib has removed the accessor layer and now
directly accesses os
- add target_is_directory argument to symlink (ignored)
- 'U' open mode is no longer allowed in Python 3.11
- closes #677
|
|
- remove Python 3.6 from CI, adapt documentation
- remove stat_float_times (deprecated since 3.3, removed in 3.7)
|
|
pyfakefs 4.5 removed support for Python 3.5, but the python_requires
metadata was not updated to reflect this, which means that pyfakefs can
be installed in a Python 3.5 environment but will not run correctly.
|
|
- Python 3.5 had EOL 09/2020, and had already been removed from CI tests
- Python 3.5 does not fully support typing
- some minor usage documentation fixes
|
|
* Add basic mypy configuration file
* Move setters next to getters (see https://github.com/python/mypy/issues/1465)
* Fix open modes namedtuple name consistency
* Fix fake file size mypy errors
* Ignore missing attributes of pathlib, ignore invalid type for parent
* Fix pure path parent type
* Ignore module spec type error
* Add some patcher class attribute annotations
* Add setup.py annotations
|
|
- new strict argument for os.path.realpath()
- new follow_symlinks argument for pathlib.Path.chmod()
- new method pathlib.Path.hardlink_to
- new 'newline' argument in pathlib.Path.write_text()
|
|
- add license to setup.py for "setup.py show" to show it
|
|
|
|
- makes it better searchable as a pytest plugin
|
|
- reduces dependencies of setup.py
|
|
- see #524
|
|
- removed Python 2.7 and 3.4 support from documentation
|
|
- added note about ending Python 2.7/3.4 support in the documentation
|
|
- fix syntax error in qualifiers
|
|
|
|
- ensures running tests using setup under Python 2
- see #465
|
|
- added 3.7 builds for MacOS and Windows
- use released 3.7 build for Linux
|
|
- adapted version
- adapted release notes
- added Python 3.7 to setup classifiers
|
|
- tested in https://test.pypi.org/project/pyfakefs/3.4.2/
- see #358
|
|
- minor adaptations in README
- adapted copyright
- minor documentation changes for better output
- fixed failing doctests in fake_filesystem.py
- removed Python 3.2 from setup.py
|
|
- adapted method names
- adapted some formatting
- see #186
|
|
- see #329
|
|
Closes #293
|
|
* Copied mox3 stubout into pyfakefs
- removed dependency on mox3
* Added some tests for mox3_stubout functionality
* Added documentation for mox3 stubout usage in pyfakefs
- proposed by jmcgeheeiv in review
|
|
|
|
|
|
- lines were to be replaced
|
|
- pypandoc needs to be installed during registration
|
|
- slightly reworked some docstrings, added missing docstrings
- changed behavior of listdir() to returns unsorted entries as in the real function
|
|
- auto-format done by PyCharm
|
|
It was briefly added as an experiment.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
(If this was a deliberate anti spam strategy, maybe add a comment)
|
|
|
|
|
|
|
|
Google originally released pyfakefs under Apache version 2.0, and I have
reiterated that here.
|
|
|
|
Without this change, the setup.py build will result in
Traceback (most recent call last):
File "setup.py", line 19, in <module>
LONG_DESCRIPTION = open(readme).read()
IOError: [Errno 2] No such file or directory: 'README'
|
|
|