Commit Graph

14 Commits

Author SHA256 Message Date
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
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
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
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
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
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
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
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