pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/py-fakefs py-fakefs: updated to 3.5.7



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ec28b70745b2
branches:  trunk
changeset: 329878:ec28b70745b2
user:      adam <adam%pkgsrc.org@localhost>
date:      Sun Feb 17 08:36:33 2019 +0000

description:
py-fakefs: updated to 3.5.7

Version 3.5.7:
This is a mostly a bug-fix release.

Fixes
 * Regression: pathlib did not get patched in the presence of pathlib2
 * fixed errors if running the PyCharm debugger under Python 2

Infrastructure
 * do not run real file system tests by default
 * make tests run if running python setup.py test under Python 2


Version 3.5.6:

Changes
 * import external pathlib2 and scandir packages first if present


Version 3.5.5:

Fixes
 * removed shebang from test files to avoid packaging warnings


Version 3.5.4:

New Features
 * added context manager class Pause for pause/resume

Fixes
 * fixed AttributeError shown while displaying fs in a failing pytest
   in Python 2
 * fixed permission handling for root user
 * avoid AttributeError triggered by modules without __module__ attribute


Version 3.5.3:
This is a minor release to have a version with passing tests for OpenSUSE
packaging.

New Features
 * automatically patch file system methods imported as another name like
   from os.path import exists as my_exists, including builtin open
   and io.open

Fixes
 * make tests for access time less strict to account for file systems that
   do not change it immediately

Version 3.5.2:
This is mostly a bug-fix release.

New Features
 * 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

Fixes
 * fixed using modules_to_patch
 * fixed recursion error on unpickling the fake file system
 * allow trailing path in add_real_directory


Version 3.5:

Changes
 * This version of pyfakefs does not support Python 3.3. Python 3.3 users
   must keep using pyfakefs 3.4.3, or upgrade to a newer Python version.
 * The deprecation warnings for the old API are now switched on by default.
   To switch them off for legacy code, use:
   python
   from pyfakefs.deprecator import Deprecator
   Deprecator.show_warnings = False

New Features
 * Improved automatic patching:
   * automatically patch methods of a patched file system module imported like
     from os.path import exists
   * a module imported as another name (import os as _os) is now correctly
     patched without the need of additional parameters
   * automatically patch Path if imported like from pathlib import Path
   * parameter patch_path has been removed from UnitTest and Patcher,
     the correct patching of path imports is now done automatically
   * UnitTest /Patcher arguments can now also be set in setUpPyfakefs()
 * 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"

diffstat:

 devel/py-fakefs/Makefile |   6 ++-
 devel/py-fakefs/PLIST    |  95 +++++++++++++++++++++++++++++++++++++++++++++++-
 devel/py-fakefs/distinfo |  10 ++--
 3 files changed, 103 insertions(+), 8 deletions(-)

diffs (148 lines):

diff -r 796a46ac0e9c -r ec28b70745b2 devel/py-fakefs/Makefile
--- a/devel/py-fakefs/Makefile  Sun Feb 17 08:29:10 2019 +0000
+++ b/devel/py-fakefs/Makefile  Sun Feb 17 08:36:33 2019 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.1 2018/05/25 04:01:28 bsiegert Exp $
+# $NetBSD: Makefile,v 1.2 2019/02/17 08:36:33 adam Exp $
 
-DISTNAME=      pyfakefs-3.4.1
+DISTNAME=      pyfakefs-3.5.7
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/py//}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/pyfakefs/}
@@ -10,5 +10,7 @@
 COMMENT=       Fake file system that mocks the Python file system modules
 LICENSE=       apache-2.0
 
+USE_LANGUAGES= # none
+
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 796a46ac0e9c -r ec28b70745b2 devel/py-fakefs/PLIST
--- a/devel/py-fakefs/PLIST     Sun Feb 17 08:29:10 2019 +0000
+++ b/devel/py-fakefs/PLIST     Sun Feb 17 08:36:33 2019 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1 2018/05/25 04:01:28 bsiegert Exp $
+@comment $NetBSD: PLIST,v 1.2 2019/02/17 08:36:33 adam Exp $
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -10,6 +10,9 @@
 ${PYSITELIB}/pyfakefs/deprecator.py
 ${PYSITELIB}/pyfakefs/deprecator.pyc
 ${PYSITELIB}/pyfakefs/deprecator.pyo
+${PYSITELIB}/pyfakefs/extra_packages.py
+${PYSITELIB}/pyfakefs/extra_packages.pyc
+${PYSITELIB}/pyfakefs/extra_packages.pyo
 ${PYSITELIB}/pyfakefs/fake_filesystem.py
 ${PYSITELIB}/pyfakefs/fake_filesystem.pyc
 ${PYSITELIB}/pyfakefs/fake_filesystem.pyo
@@ -34,3 +37,93 @@
 ${PYSITELIB}/pyfakefs/pytest_plugin.py
 ${PYSITELIB}/pyfakefs/pytest_plugin.pyc
 ${PYSITELIB}/pyfakefs/pytest_plugin.pyo
+${PYSITELIB}/pyfakefs/tests/__init__.py
+${PYSITELIB}/pyfakefs/tests/__init__.pyc
+${PYSITELIB}/pyfakefs/tests/__init__.pyo
+${PYSITELIB}/pyfakefs/tests/all_tests.py
+${PYSITELIB}/pyfakefs/tests/all_tests.pyc
+${PYSITELIB}/pyfakefs/tests/all_tests.pyo
+${PYSITELIB}/pyfakefs/tests/all_tests_without_extra_packages.py
+${PYSITELIB}/pyfakefs/tests/all_tests_without_extra_packages.pyc
+${PYSITELIB}/pyfakefs/tests/all_tests_without_extra_packages.pyo
+${PYSITELIB}/pyfakefs/tests/dynamic_patch_test.py
+${PYSITELIB}/pyfakefs/tests/dynamic_patch_test.pyc
+${PYSITELIB}/pyfakefs/tests/dynamic_patch_test.pyo
+${PYSITELIB}/pyfakefs/tests/example.py
+${PYSITELIB}/pyfakefs/tests/example.pyc
+${PYSITELIB}/pyfakefs/tests/example.pyo
+${PYSITELIB}/pyfakefs/tests/example_test.py
+${PYSITELIB}/pyfakefs/tests/example_test.pyc
+${PYSITELIB}/pyfakefs/tests/example_test.pyo
+${PYSITELIB}/pyfakefs/tests/fake_filesystem_glob_test.py
+${PYSITELIB}/pyfakefs/tests/fake_filesystem_glob_test.pyc
+${PYSITELIB}/pyfakefs/tests/fake_filesystem_glob_test.pyo
+${PYSITELIB}/pyfakefs/tests/fake_filesystem_shutil_test.py
+${PYSITELIB}/pyfakefs/tests/fake_filesystem_shutil_test.pyc
+${PYSITELIB}/pyfakefs/tests/fake_filesystem_shutil_test.pyo
+${PYSITELIB}/pyfakefs/tests/fake_filesystem_test.py
+${PYSITELIB}/pyfakefs/tests/fake_filesystem_test.pyc
+${PYSITELIB}/pyfakefs/tests/fake_filesystem_test.pyo
+${PYSITELIB}/pyfakefs/tests/fake_filesystem_unittest_test.py
+${PYSITELIB}/pyfakefs/tests/fake_filesystem_unittest_test.pyc
+${PYSITELIB}/pyfakefs/tests/fake_filesystem_unittest_test.pyo
+${PYSITELIB}/pyfakefs/tests/fake_filesystem_vs_real_test.py
+${PYSITELIB}/pyfakefs/tests/fake_filesystem_vs_real_test.pyc
+${PYSITELIB}/pyfakefs/tests/fake_filesystem_vs_real_test.pyo
+${PYSITELIB}/pyfakefs/tests/fake_open_test.py
+${PYSITELIB}/pyfakefs/tests/fake_open_test.pyc
+${PYSITELIB}/pyfakefs/tests/fake_open_test.pyo
+${PYSITELIB}/pyfakefs/tests/fake_os_test.py
+${PYSITELIB}/pyfakefs/tests/fake_os_test.pyc
+${PYSITELIB}/pyfakefs/tests/fake_os_test.pyo
+${PYSITELIB}/pyfakefs/tests/fake_pathlib_test.py
+${PYSITELIB}/pyfakefs/tests/fake_pathlib_test.pyc
+${PYSITELIB}/pyfakefs/tests/fake_pathlib_test.pyo
+${PYSITELIB}/pyfakefs/tests/fake_stat_time_test.py
+${PYSITELIB}/pyfakefs/tests/fake_stat_time_test.pyc
+${PYSITELIB}/pyfakefs/tests/fake_stat_time_test.pyo
+${PYSITELIB}/pyfakefs/tests/fake_tempfile_test.py
+${PYSITELIB}/pyfakefs/tests/fake_tempfile_test.pyc
+${PYSITELIB}/pyfakefs/tests/fake_tempfile_test.pyo
+${PYSITELIB}/pyfakefs/tests/fixtures/__init__.py
+${PYSITELIB}/pyfakefs/tests/fixtures/__init__.pyc
+${PYSITELIB}/pyfakefs/tests/fixtures/__init__.pyo
+${PYSITELIB}/pyfakefs/tests/fixtures/module_with_attributes.py
+${PYSITELIB}/pyfakefs/tests/fixtures/module_with_attributes.pyc
+${PYSITELIB}/pyfakefs/tests/fixtures/module_with_attributes.pyo
+${PYSITELIB}/pyfakefs/tests/import_as_example.py
+${PYSITELIB}/pyfakefs/tests/import_as_example.pyc
+${PYSITELIB}/pyfakefs/tests/import_as_example.pyo
+${PYSITELIB}/pyfakefs/tests/mox3_stubout_example.py
+${PYSITELIB}/pyfakefs/tests/mox3_stubout_example.pyc
+${PYSITELIB}/pyfakefs/tests/mox3_stubout_example.pyo
+${PYSITELIB}/pyfakefs/tests/mox3_stubout_test.py
+${PYSITELIB}/pyfakefs/tests/mox3_stubout_test.pyc
+${PYSITELIB}/pyfakefs/tests/mox3_stubout_test.pyo
+${PYSITELIB}/pyfakefs/tests/pytest/__init__.py
+${PYSITELIB}/pyfakefs/tests/pytest/__init__.pyc
+${PYSITELIB}/pyfakefs/tests/pytest/__init__.pyo
+${PYSITELIB}/pyfakefs/tests/pytest/conftest.py
+${PYSITELIB}/pyfakefs/tests/pytest/conftest.pyc
+${PYSITELIB}/pyfakefs/tests/pytest/conftest.pyo
+${PYSITELIB}/pyfakefs/tests/pytest/example.py
+${PYSITELIB}/pyfakefs/tests/pytest/example.pyc
+${PYSITELIB}/pyfakefs/tests/pytest/example.pyo
+${PYSITELIB}/pyfakefs/tests/pytest/pytest_check_failed_plugin_test.py
+${PYSITELIB}/pyfakefs/tests/pytest/pytest_check_failed_plugin_test.pyc
+${PYSITELIB}/pyfakefs/tests/pytest/pytest_check_failed_plugin_test.pyo
+${PYSITELIB}/pyfakefs/tests/pytest/pytest_doctest_test.py
+${PYSITELIB}/pyfakefs/tests/pytest/pytest_doctest_test.pyc
+${PYSITELIB}/pyfakefs/tests/pytest/pytest_doctest_test.pyo
+${PYSITELIB}/pyfakefs/tests/pytest/pytest_fixture_test.py
+${PYSITELIB}/pyfakefs/tests/pytest/pytest_fixture_test.pyc
+${PYSITELIB}/pyfakefs/tests/pytest/pytest_fixture_test.pyo
+${PYSITELIB}/pyfakefs/tests/pytest/pytest_plugin_failing_test.py
+${PYSITELIB}/pyfakefs/tests/pytest/pytest_plugin_failing_test.pyc
+${PYSITELIB}/pyfakefs/tests/pytest/pytest_plugin_failing_test.pyo
+${PYSITELIB}/pyfakefs/tests/pytest/pytest_plugin_test.py
+${PYSITELIB}/pyfakefs/tests/pytest/pytest_plugin_test.pyc
+${PYSITELIB}/pyfakefs/tests/pytest/pytest_plugin_test.pyo
+${PYSITELIB}/pyfakefs/tests/test_utils.py
+${PYSITELIB}/pyfakefs/tests/test_utils.pyc
+${PYSITELIB}/pyfakefs/tests/test_utils.pyo
diff -r 796a46ac0e9c -r ec28b70745b2 devel/py-fakefs/distinfo
--- a/devel/py-fakefs/distinfo  Sun Feb 17 08:29:10 2019 +0000
+++ b/devel/py-fakefs/distinfo  Sun Feb 17 08:36:33 2019 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.1 2018/05/25 04:01:28 bsiegert Exp $
+$NetBSD: distinfo,v 1.2 2019/02/17 08:36:33 adam Exp $
 
-SHA1 (pyfakefs-3.4.1.tar.gz) = 84fd7408054b63ec0daa80c3874d994c6fc4f82f
-RMD160 (pyfakefs-3.4.1.tar.gz) = a4f1558d095fc681fe94f932287d0d366f686fcb
-SHA512 (pyfakefs-3.4.1.tar.gz) = 597858db12c9a8fae02d1b69b709d1ba68d9a6619b78faeea72ba426799ec18b4a9baf7bf542bd458c08c4ea217393316aff23b78e0e3f6c0cade87bafc54a67
-Size (pyfakefs-3.4.1.tar.gz) = 70877 bytes
+SHA1 (pyfakefs-3.5.7.tar.gz) = 502466f9d3ad2491f635371b5c346d9c50c19326
+RMD160 (pyfakefs-3.5.7.tar.gz) = 61bc616d8e2a9703d0d2bb63104f8ed1e7326d88
+SHA512 (pyfakefs-3.5.7.tar.gz) = 18a4e7dc17511bca9927a4fe9d0c788cc9b41a4225276f31a9697a279312c883127bd7161dd33e33bc65cf104c11fb92585d206fd6112dd6ec93f8544e7c4c5e
+Size (pyfakefs-3.5.7.tar.gz) = 155103 bytes



Home | Main Index | Thread Index | Old Index