Commit Graph

50 Commits

Author SHA256 Message Date
Ana Guerrero
6de3fe28c1 Accepting request 1169537 from devel:languages:python
- update to 5.4.1:
  * fixed a regression from version 5.4.0 that incorrectly
    handled files opened twice via file descriptor
- update to 5.4.0
  * Improves permission handling.
  * added support for `O_NOFOLLOW` and `O_DIRECTORY` flags in
    `os.open`
  * added support for fake `os.dup`, `os.dup2` and `os.lseek`
  * fixed a specific problem on reloading a pandas-related module
  * added possibility for unload hooks for specific modules
    use this also to reload django views (see #932)
  * fixed `EncodingWarning` for Python >= 3.11 (see #957)
    consider directory ownership while adding or removing
    directory entries
  * fixed handling of directory enumeration and search
    permissions under Posix systems
  * fixed creation of the temp directory in the fake file system
    after a filesystem reset
  * fixed handling of `dirfd` in `os.symlink` (see #968)
  * add missing `follow_symlink` argument to `os.link` (see #973)
  * fixed handling of missing attribute in `os.getxattr` (see
  * fixed permission problem with `shutil.rmtree` if emulating
    Windows under POSIX
  * fixed handling of errors on opening files via file descriptor
  * fixed handling of `umask` - it is now applied by default
  * fixed behavior of `os.makedirs` (see #987)

OBS-URL: https://build.opensuse.org/request/show/1169537
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyfakefs?expand=0&rev=22
2024-04-23 16:55:01 +00:00
1607220516 - update to 5.4.1:
* fixed a regression from version 5.4.0 that incorrectly
    handled files opened twice via file descriptor
- update to 5.4.0
  * Improves permission handling.
  * added support for `O_NOFOLLOW` and `O_DIRECTORY` flags in
    `os.open`
  * added support for fake `os.dup`, `os.dup2` and `os.lseek`
  * fixed a specific problem on reloading a pandas-related module
  * added possibility for unload hooks for specific modules
    use this also to reload django views (see #932)
  * fixed `EncodingWarning` for Python >= 3.11 (see #957)
    consider directory ownership while adding or removing
    directory entries
  * fixed handling of directory enumeration and search
    permissions under Posix systems
  * fixed creation of the temp directory in the fake file system
    after a filesystem reset
  * fixed handling of `dirfd` in `os.symlink` (see #968)
  * add missing `follow_symlink` argument to `os.link` (see #973)
  * fixed handling of missing attribute in `os.getxattr` (see
  * fixed permission problem with `shutil.rmtree` if emulating
    Windows under POSIX
  * fixed handling of errors on opening files via file descriptor
  * fixed handling of `umask` - it is now applied by default
  * fixed behavior of `os.makedirs` (see #987)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyfakefs?expand=0&rev=48
2024-04-21 08:46:24 +00:00
Ana Guerrero
169695ab18 Accepting request 1143996 from devel:languages:python
- update to 5.3.5:
  * Fixes a regression due to the changed behavior of the dynamic
    patcher cleanup (see #939).
  * The change is now by default only made if the `django` module
    is loaded, and the behavior can
  * be changed using the new argument `module_cleanup_mode`.

OBS-URL: https://build.opensuse.org/request/show/1143996
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyfakefs?expand=0&rev=21
2024-02-06 15:32:27 +00:00
7bd5d1796b - update to 5.3.5:
* Fixes a regression due to the changed behavior of the dynamic
    patcher cleanup (see #939).
  * The change is now by default only made if the `django` module
    is loaded, and the behavior can
  * be changed using the new argument `module_cleanup_mode`.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyfakefs?expand=0&rev=46
2024-02-04 12:24:20 +00:00
Ana Guerrero
6851ff315b Accepting request 1141813 from devel:languages:python
- update to 5.3.4:
  * fixes handling of unhashable modules which cannot be cached
    (see #923)
  * reload modules loaded by the dynamic patcher instead of
    removing them - sometimes they may
  * not be reloaded automatically (see #932)
  * add back argument `use_dynamic_patch` as a fallback for
    similar problems
  * fixed a problem with patching `_io` under Python 3.12 (see
    #910)
  * fixed a problem with accessing the temp path if emulating
    Linux under Windows
  * (see #912)
  * fixed result of `os.walk` with a path-like top directory
  * (see #915)
  * properly fixed the problem that filesystem patching was still
    active in the pytest
  * logreport phase (see #904), the previous fix was incomplete
  * changed behavior of `add_real_directory` to be able to map a
    real directory
  * Restores compatibility with PyTorch 2.0 and above, as well as
    with other classes that have custom __setattr__ methods
    (see #905).
  * Adds official support for Python 3.12.
  * removed a leftover debug print statement (see #869)
  * make sure tests work without HOME environment set (see #870)
  * automount drive or UNC path under Windows if needed for
    `pathlib.Path.mkdir()`
  * (see #890)
  * adapt patching `io.open` and `io.open_code` to work with

OBS-URL: https://build.opensuse.org/request/show/1141813
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyfakefs?expand=0&rev=20
2024-01-29 21:25:57 +00:00
dff2c9aca1 - update to 5.3.4:
* fixes handling of unhashable modules which cannot be cached
    (see #923)
  * reload modules loaded by the dynamic patcher instead of
    removing them - sometimes they may
  * not be reloaded automatically (see #932)
  * add back argument `use_dynamic_patch` as a fallback for
    similar problems
  * fixed a problem with patching `_io` under Python 3.12 (see
    #910)
  * fixed a problem with accessing the temp path if emulating
    Linux under Windows
  * (see #912)
  * fixed result of `os.walk` with a path-like top directory
  * (see #915)
  * properly fixed the problem that filesystem patching was still
    active in the pytest
  * logreport phase (see #904), the previous fix was incomplete
  * changed behavior of `add_real_directory` to be able to map a
    real directory
  * Restores compatibility with PyTorch 2.0 and above, as well as
    with other classes that have custom __setattr__ methods
    (see #905).
  * Adds official support for Python 3.12.
  * removed a leftover debug print statement (see #869)
  * make sure tests work without HOME environment set (see #870)
  * automount drive or UNC path under Windows if needed for
    `pathlib.Path.mkdir()`
  * (see #890)
  * adapt patching `io.open` and `io.open_code` to work with

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyfakefs?expand=0&rev=44
2024-01-26 21:22:34 +00:00
Ana Guerrero
00420f56e2 Accepting request 1109529 from devel:languages:python
- update to 5.2.4:
  * Fixes a rare problem on pytest shutdown.
  * Adds compatibility with PyPy 3.10 and Python 3.12.

    `fake_path.FakePathModule`, `fake_io.FakeIoModule` and
- Update to version 5.0.0
- Update to version 4.7.0
- Update to version 3.5.2
  - Added support for path-like objects as arguments in create_file(),
    - readline() did not work correctly in binary mode
    - several functions did not behave correctly for paths ending with a
- Initial packaging of version 3.4.1

OBS-URL: https://build.opensuse.org/request/show/1109529
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyfakefs?expand=0&rev=19
2023-09-08 19:15:06 +00:00
5875baf218 - update to 5.2.4:
* Fixes a rare problem on pytest shutdown.
  * Adds compatibility with PyPy 3.10 and Python 3.12.
    `fake_path.FakePathModule`, `fake_io.FakeIoModule` and
- Update to version 5.0.0
- Update to version 4.7.0
- Update to version 3.5.2
  - Added support for path-like objects as arguments in create_file(),
    - readline() did not work correctly in binary mode
    - several functions did not behave correctly for paths ending with a
- Initial packaging of version 3.4.1

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyfakefs?expand=0&rev=42
2023-09-07 11:35:42 +00:00
Dominique Leuenberger
dda33ea661 Accepting request 1085988 from devel:languages:python
- update to 5.2.2:
  * Made the user and group IDs accessible via dedicated
    ``get_uid`` and ``get_gid`` functions
    (for symmetry to ``set_uid`` / ``set_gid``)
  * The test fixture is now included in the source distribution
    and installed with the package.
  * Some public constants in `fake_filesystem` that had been
    moved to `helpers` are made accessible from there again
  * Add missing fake implementations for `os.getuid` and
    `os.getgid` (Posix only)
  * Make sure a `/tmp` path exists under linux (`TMPDIR` may
    point elsewhere)
  * Support for latest Python 3.12 version.
  * Properties defining the capabilities of some `os` functions
    like `os.supports_follow_symlinks` are now properly faked to
    contain the fake functions if the real functions are faked
  * Supports current Python 3.12 version (alpha 6). We plan to
    make patch releases in case of breaking changes in alpha
    or beta versions.
  * Fake module classes previously defined in `fake_filesystem`
    have now moved to their own modules: `fake_os.FakeOsModule`,
    `fake_path.FakePathModule`, `fake_io.FakeIoModule` and 
    `fake_open.FakeFileOpen`.
  * Patching of parsers for pandas >= 1.2 is removed since pandas
    now uses Python fs functions internally even when the engine
    selected is "c".
  * added possibility to set a path inaccessible under Windows by
    using `chown()` with the `force_unix_mode` flag (see #720)
  * added class level setup method `setUpClassPyfakefs` for
    unittest and class-scoped

OBS-URL: https://build.opensuse.org/request/show/1085988
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyfakefs?expand=0&rev=18
2023-05-11 10:31:36 +00:00
89a75aac61 - update to 5.2.2:
* Made the user and group IDs accessible via dedicated
    ``get_uid`` and ``get_gid`` functions
    (for symmetry to ``set_uid`` / ``set_gid``)
  * The test fixture is now included in the source distribution
    and installed with the package.
  * Some public constants in `fake_filesystem` that had been
    moved to `helpers` are made accessible from there again
  * Add missing fake implementations for `os.getuid` and
    `os.getgid` (Posix only)
  * Make sure a `/tmp` path exists under linux (`TMPDIR` may
    point elsewhere)
  * Support for latest Python 3.12 version.
  * Properties defining the capabilities of some `os` functions
    like `os.supports_follow_symlinks` are now properly faked to
    contain the fake functions if the real functions are faked
  * Supports current Python 3.12 version (alpha 6). We plan to
    make patch releases in case of breaking changes in alpha
    or beta versions.
  * Fake module classes previously defined in `fake_filesystem`
    have now moved to their own modules: `fake_os.FakeOsModule`,
    `fake_path.FakePathModule`, `fake_io.FakeIoModule` and 
    `fake_open.FakeFileOpen`.
  * Patching of parsers for pandas >= 1.2 is removed since pandas
    now uses Python fs functions internally even when the engine
    selected is "c".
  * added possibility to set a path inaccessible under Windows by
    using `chown()` with the `force_unix_mode` flag (see #720)
  * added class level setup method `setUpClassPyfakefs` for
    unittest and class-scoped

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyfakefs?expand=0&rev=40
2023-05-10 07:08:54 +00:00
Dominique Leuenberger
3b526f484d Accepting request 1081658 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1081658
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyfakefs?expand=0&rev=17
2023-04-22 19:57:56 +00:00
087ee9e6bf Accepting request 1081551 from home:dirkmueller:acdc:as_python3_module
SR for python stack proposal

OBS-URL: https://build.opensuse.org/request/show/1081551
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyfakefs?expand=0&rev=38
2023-04-21 13:24:54 +00:00
Dominique Leuenberger
3cb6108292 Accepting request 1032496 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1032496
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyfakefs?expand=0&rev=16
2022-11-01 15:10:34 +00:00
Markéta Machová
ac02467bdb Accepting request 1032042 from home:yarunachalam:branches:devel:languages:python
- Update to version 5.0.0 
  New version after the transfer to pytest-dev.
  Changes
  * the old-style API deprecated since version 3.4 has now been removed
  * the method copyRealFile deprecated since version 3.2 has been removed - use add_real_file instead
  Infrastructure
  * transferred the repository to the pytest-dev organization
  * renamed the master branch to main
  * added automatic PyPI release workflow
  * move documentation from GitHub Pages to Read the Docs
  New Features
  * added some support for st_blocks in stat result (see #722)
  Fixes
  * fixed handling of O_TMPFILE in os.open (caused handling of O_DIRECTORY as O_TMPFILE) (see #723)
  * fixed handling of read permissions (see #719)

OBS-URL: https://build.opensuse.org/request/show/1032042
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyfakefs?expand=0&rev=36
2022-10-31 13:20:45 +00:00
Dominique Leuenberger
3933186568 Accepting request 1010379 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1010379
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyfakefs?expand=0&rev=15
2022-10-14 13:40:16 +00:00
0152802285 Accepting request 1010263 from home:yarunachalam:branches:devel:languages:python
- Update to version 4.7.0 
  Changes
  fs fixtures cannot be nested; any nested fs fixture
  (for example inside an fs_session or fs_module fixture) will just reference the outer fixture (the behavior had been unexpected before)
  Fixes
  reverted a performance optimization introduced in version 3.3.0 that caused hanging tests with installed torch (see #693)
  do not use the build-in opener in pathlib as it may cause problems (see #697)
  add support for path-like objects in shutil.disk_usage (see #699)
  do not advertise support for Python 3.6 in setup.py (see #707)
  return the expected type from fcntl.ioctl and fcntl.fcntl calls if arg is of type byte; the call itself does nothing as before
  do not skip filesystem modules by name to allow using own modules with the same name (see #707)
  add missing support for os.renames (see #714)

OBS-URL: https://build.opensuse.org/request/show/1010263
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyfakefs?expand=0&rev=34
2022-10-13 07:02:17 +00:00
Dominique Leuenberger
d33d2da49b Accepting request 993545 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/993545
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyfakefs?expand=0&rev=14
2022-08-10 15:12:24 +00:00
ebc6fb3e5f Accepting request 993340 from home:bnavigator:branches:devel:languages:python
- Update to 4.6.3
  * automatically reset filesystem on changing is_windows_fs or
    is_macos (see #692) - ensures better upwards compatibility in
    most cases
  * Make sure you write to the filesystem after you change
    is_windows_fs or is_macos, otherwise the changes will be lost.
  * fixed regression: os.path.exists returned True for any root
    drive path under Windows
- Update to 4.6.2
  * fixed support for opener introduced in previous patch release
    (see #689)
  * added support for opener argument in open, which is used in
    tempfile in Python 3.11 since beta 4 (see #686)
  * make sure tests run without pyfakefs installed as a package
    (see #687)
- Version 4.6.0
  * Adds support for Python 3.11, removes support for Python 3.6,
    changes root path behavior under Windows.
  * Python 3.6 has reached its end of life on 2021/12/23 and is no
    longer officially supported by pyfakefs ** os.stat_float_times
    has been removed in Python 3.7 and is therefore no longer
    supported under Windows, the root path is now effectively C:\
    instead of \; a path starting with \ points to the current
    drive as in the real file system (see #673)
  * fake pathlib.Path.owner() and pathlib.Path.group() now behave
    like the real methods - they look up the real user/group name
    for the user/group id that is associated with the fake file
    (see #678)
  * added some support for the upcoming Python version 3.11 (see
    #677)

OBS-URL: https://build.opensuse.org/request/show/993340
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyfakefs?expand=0&rev=32
2022-08-06 15:23:38 +00:00
Dominique Leuenberger
5033a854f4 Accepting request 940364 from devel:languages:python
- Update to 4.5.3:
  * New Features
    + added support for some Python 3.10 features:
    + new method pathlib.Path.hardlink_to
    + new newline argument in pathlib.Path.write_text
    + new follow_symlinks argument in pathlib.Path.stat and pathlib.Path.chmod
    + new 'strict' argument in os.path.realpath
    + added support for pathlib.Path.link_to (new in Python 3.8) (see #580)
    + added support for pathlib.Path.readlink (new in Python 3.9) (see #584)
    + added FakeFilesystem.create_link convenience method which creates intermittent directories (see #580)
  * Changes
    + Python 3.5 has reached its end of life in September 2020 and is no longer supported
    + pathlib2 is still supported, but considered to have the same functionality as pathlib and is no longer tested separately; the previous behavior broke newer pathlib features if pathlib2 was installed (see #592)
    + Added caching of patched modules to avoid lookup overhead
    + Added use_cache option and clear_cache method to be able to deal with unwanted side effects of the newly introduced caching
    + The patchfs decorator now expects a positional argument instead of the keyword arguments fs. This avoids confusion with the pytest fs fixture and conforms to the behavior of mock.patch. You may have to adapt the argument order if you use the patchfs and mock.patch decorators together (see #566)
    + Default arguments that are file system functions are now not patched by default to avoid a large performance impact. An additional parameter patch_default_args has been added that switches this behavior on (see #567).
  * Fixes
    + added handling of path-like where missing
    + improved handling of str/bytes paths
    + suppress all warnings while inspecting loaded modules (see #614)
    + do not import pandas and related modules if it is not patched (see #627)
    + handle pathlib.Path.owner() and pathlib.Path.group by returning the current user/group name (see #629)
    + fixed handling of use_known_patches=False (could cause an exception)
    + correctly handle byte paths in os.path.exists (see #595)
    + Update fake_pathlib to support changes coming in Python 3.10 (see
    + correctly handle UNC paths in os.path.split and in directory path evaluation (see #606)
    + fixed handling of pipe descriptors in the fake filesystem (see #581)
    + added non-functional argument effective_ids to os.access (see #585)
    + correctly handle os.file for unreadable files (see #588)

OBS-URL: https://build.opensuse.org/request/show/940364
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyfakefs?expand=0&rev=13
2021-12-16 20:18:41 +00:00
Steve Kowalik
e804cd0f77 - Update to 4.5.3:
* New Features
    + added support for some Python 3.10 features:
    + new method pathlib.Path.hardlink_to
    + new newline argument in pathlib.Path.write_text
    + new follow_symlinks argument in pathlib.Path.stat and pathlib.Path.chmod
    + new 'strict' argument in os.path.realpath
    + added support for pathlib.Path.link_to (new in Python 3.8) (see #580)
    + added support for pathlib.Path.readlink (new in Python 3.9) (see #584)
    + added FakeFilesystem.create_link convenience method which creates intermittent directories (see #580)
  * Changes
    + Python 3.5 has reached its end of life in September 2020 and is no longer supported
    + pathlib2 is still supported, but considered to have the same functionality as pathlib and is no longer tested separately; the previous behavior broke newer pathlib features if pathlib2 was installed (see #592)
    + Added caching of patched modules to avoid lookup overhead
    + Added use_cache option and clear_cache method to be able to deal with unwanted side effects of the newly introduced caching
    + The patchfs decorator now expects a positional argument instead of the keyword arguments fs. This avoids confusion with the pytest fs fixture and conforms to the behavior of mock.patch. You may have to adapt the argument order if you use the patchfs and mock.patch decorators together (see #566)
    + Default arguments that are file system functions are now not patched by default to avoid a large performance impact. An additional parameter patch_default_args has been added that switches this behavior on (see #567).
  * Fixes
    + added handling of path-like where missing
    + improved handling of str/bytes paths
    + suppress all warnings while inspecting loaded modules (see #614)
    + do not import pandas and related modules if it is not patched (see #627)
    + handle pathlib.Path.owner() and pathlib.Path.group by returning the current user/group name (see #629)
    + fixed handling of use_known_patches=False (could cause an exception)
    + correctly handle byte paths in os.path.exists (see #595)
    + Update fake_pathlib to support changes coming in Python 3.10 (see
    + correctly handle UNC paths in os.path.split and in directory path evaluation (see #606)
    + fixed handling of pipe descriptors in the fake filesystem (see #581)
    + added non-functional argument effective_ids to os.access (see #585)
    + correctly handle os.file for unreadable files (see #588)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyfakefs?expand=0&rev=31
2021-12-14 04:42:16 +00:00
Dominique Leuenberger
8eaed001e3 Accepting request 784798 from devel:languages:python
Staging:I py3 only pkg

OBS-URL: https://build.opensuse.org/request/show/784798
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyfakefs?expand=0&rev=12
2020-04-19 19:40:32 +00:00
Tomáš Chvátal
859cb3cec0 - Update to 4.0.2:
* py3 only variant

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyfakefs?expand=0&rev=29
2020-03-14 07:23:10 +00:00
Dominique Leuenberger
e6f5e3abf2 Accepting request 782610 from devel:languages:python
- Swith to multibuild in order to avoid full python buildcycle

- Update to 3.7.2:
  * Various fixes for python 3.8

OBS-URL: https://build.opensuse.org/request/show/782610
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyfakefs?expand=0&rev=11
2020-03-08 21:22:58 +00:00
Tomáš Chvátal
9b2249f70a - Swith to multibuild in order to avoid full python buildcycle
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyfakefs?expand=0&rev=27
2020-03-08 03:37:02 +00:00
Tomáš Chvátal
695f6465c0 - Update to 3.7.2:
* Various fixes for python 3.8

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyfakefs?expand=0&rev=26
2020-03-07 13:56:11 +00:00
Dominique Leuenberger
e0f7a63b7e Accepting request 755753 from devel:languages:python
- Pull in the full python

OBS-URL: https://build.opensuse.org/request/show/755753
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyfakefs?expand=0&rev=10
2019-12-11 11:14:55 +00:00
Tomáš Chvátal
86b8cc6acf - Pull in the full python
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyfakefs?expand=0&rev=24
2019-12-11 08:45:30 +00:00
Dominique Leuenberger
1b5fa7d897 Accepting request 735927 from devel:languages:python
- Update 3.6.1:
  * fix borked tests from 3.6

- Update to 3.6:
  * fixed incorrect argument names for some os functions
  * fake DirEntry now implements os.PathLike in Python >= 3.6 (see #483)
  * fixed incorrect argument name for os.makedirs (see #481)
  * avoid pytest warning under Python 2.7 (see #466)
  * add next to FakeFileWrapper (see #485)

OBS-URL: https://build.opensuse.org/request/show/735927
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyfakefs?expand=0&rev=9
2019-10-08 17:58:33 +00:00
Tomáš Chvátal
4b5d7eb2f7 - Update 3.6.1:
* fix borked tests from 3.6

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyfakefs?expand=0&rev=22
2019-10-07 18:04:20 +00:00
Tomáš Chvátal
1613009ca8 - Update to 3.6:
* fixed incorrect argument names for some os functions
  * fake DirEntry now implements os.PathLike in Python >= 3.6 (see #483)
  * fixed incorrect argument name for os.makedirs (see #481)
  * avoid pytest warning under Python 2.7 (see #466)
  * add next to FakeFileWrapper (see #485)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyfakefs?expand=0&rev=21
2019-10-07 08:56:22 +00:00
Dominique Leuenberger
86d8b5e6b6 Accepting request 687703 from devel:languages:python
- Update to 3.5.8:
  * Mainly fixes a regression bug under Python 2.7.

OBS-URL: https://build.opensuse.org/request/show/687703
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyfakefs?expand=0&rev=8
2019-03-24 14:00:29 +00:00
Tomáš Chvátal
803d2fdf4d - Update to 3.5.8:
* Mainly fixes a regression bug under Python 2.7.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyfakefs?expand=0&rev=19
2019-03-22 14:29:29 +00:00
Stephan Kulow
7cf8b0e715 Accepting request 674178 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/674178
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyfakefs?expand=0&rev=7
2019-02-25 16:51:09 +00:00
Tomáš Chvátal
dce3b10741 Accepting request 674160 from home:kbabioch:branches:devel:languages:python
- Update to version 3.5.7
  * Fixes a regression introduced in the last version

OBS-URL: https://build.opensuse.org/request/show/674160
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyfakefs?expand=0&rev=17
2019-02-12 16:24:32 +00:00
Dominique Leuenberger
ef4b6786bd Accepting request 665654 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/665654
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyfakefs?expand=0&rev=6
2019-01-24 13:10:07 +00:00
Tomáš Chvátal
2b70c9e558 Accepting request 665653 from home:kbabioch:branches:devel:languages:python
- Removed unit tests from package

OBS-URL: https://build.opensuse.org/request/show/665653
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyfakefs?expand=0&rev=15
2019-01-14 08:43:02 +00:00
Karol Babioch
a6b702ff03 Accepting request 665330 from home:kbabioch:branches:devel:languages:python
- Update to version 3.5.6
  * import external pathlib2 and scandir packages first if present

OBS-URL: https://build.opensuse.org/request/show/665330
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyfakefs?expand=0&rev=14
2019-01-13 17:30:44 +00:00
Dominique Leuenberger
be4aea6da2 Accepting request 660559 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/660559
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyfakefs?expand=0&rev=5
2018-12-24 10:47:17 +00:00
Karol Babioch
1f6de43041 Accepting request 660392 from home:kbabioch:branches:devel:languages:python
- Update to version 3.5.5
  * Removed permission warnings (shebang line vs. executable bit)

OBS-URL: https://build.opensuse.org/request/show/660392
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyfakefs?expand=0&rev=12
2018-12-21 14:29:33 +00:00
Dominique Leuenberger
6daf482906 Accepting request 660280 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/660280
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyfakefs?expand=0&rev=4
2018-12-21 07:22:31 +00:00
Tomáš Chvátal
170fd754bc Accepting request 660211 from home:kbabioch:branches:devel:languages:python
- Update to version 3.5.4
  * added context manager class Pause for pause/resume
  * fixed permission handling for root user
  * avoid AttributeError triggered by modules without __module__ attribute

OBS-URL: https://build.opensuse.org/request/show/660211
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyfakefs?expand=0&rev=10
2018-12-20 12:36:52 +00:00
Dominique Leuenberger
f9b6f93b8e Accepting request 651220 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/651220
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyfakefs?expand=0&rev=3
2018-11-26 09:28:45 +00:00
Karol Babioch
450e240f4b Accepting request 651219 from home:kbabioch:branches:devel:languages:python
- Update to version 3.5.3
  * automatically patch file system methods imported as another name like from
    os.path import exists as my_exists, including builtin open and io.open
  * make tests for access time less strict to account for file systems that do
    not change it immediately

OBS-URL: https://build.opensuse.org/request/show/651219
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyfakefs?expand=0&rev=8
2018-11-22 19:47:40 +00:00
Karol Babioch
f77f6262ac Accepting request 648402 from home:kbabioch:branches:devel:languages:python
- Update to version 3.5.2 
  * This is mostly a bug-fix release.
  * added support for pause/resume of patching the file system modules
  * allow to set current group ID, set current user ID and group ID as `st_uid`
    and `st_gid` in new files
  * fixed using `modules_to_patch` (regression)
  * fixed recursion error on unpickling the fake file system
  * allow trailing path in `add_real_directory`

OBS-URL: https://build.opensuse.org/request/show/648402
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyfakefs?expand=0&rev=7
2018-11-12 09:11:29 +00:00
Tomáš Chvátal
bedee0f129 - State in more dependencies, the tests are still borked
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyfakefs?expand=0&rev=6
2018-11-01 10:04:53 +00:00
Karol Babioch
ac9f520932 Accepting request 643884 from home:kbabioch:branches:devel:languages:python
- Update to version 3.5
  * This version of pyfakefs does not support Python 3.3.
  * The deprecation warnings for the old API are now switched on by default.
  * Improved automatic patching:
  * added possibility to set user ID
  * added side_effect option to fake files
  * added some support for extended filesystem attributes under Linux
  * handle `contents=None` in `create_file()` as empty contents if size not set
  * added pathlib2 support
  * added support for null device
  * improved error message for "Bad file descriptor in fake filesystem"
  * fixed pytest when both pyfakefs and future are installed
  * file timestamps are now updated more according to the real behavior
  * fixed a problem related with patching shutil functions using zipfile

OBS-URL: https://build.opensuse.org/request/show/643884
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyfakefs?expand=0&rev=5
2018-10-23 06:43:56 +00:00
Yuchen Lin
e7bc545145 Accepting request 616798 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/616798
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyfakefs?expand=0&rev=2
2018-06-19 10:01:12 +00:00
Tomáš Chvátal
d6781a806b Accepting request 616707 from home:kbabioch:branches:devel:languages:python
- Update to version 3.4.3
  - Added support for path-like objects as arguments in create_file(), 
    create_dir(), create_symlink(), add_real_file() and add_real_directory()
  - Bugfixes:
    - tell after seek gave incorrect result in append mode
    - flushing file contents after truncate was incorrect under some conditions
    - readline() did not work correctly in binary mode 
    - pathlib.Path.resolve() behaved incorrectly if the path does not exist
    - closed attribute was not implemented in fake file
    - add_real_directory did not behave correctly for nested paths
    - several functions did not behave correctly for paths ending with a 
      path separator

OBS-URL: https://build.opensuse.org/request/show/616707
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyfakefs?expand=0&rev=3
2018-06-14 07:51:29 +00:00
Dominique Leuenberger
cade349ff3 Accepting request 599186 from devel:languages:python
requires as dependency for python-fido2

OBS-URL: https://build.opensuse.org/request/show/599186
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyfakefs?expand=0&rev=1
2018-04-26 11:36:56 +00:00
Tomáš Chvátal
b5287f7e82 Accepting request 599181 from home:kbabioch
neeeded as dep for python-fido2

OBS-URL: https://build.opensuse.org/request/show/599181
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyfakefs?expand=0&rev=1
2018-04-20 08:14:22 +00:00