pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/py-fakefs



Module Name:    pkgsrc
Committed By:   adam
Date:           Tue Apr 16 15:33:05 UTC 2024

Modified Files:
        pkgsrc/devel/py-fakefs: Makefile PLIST distinfo

Log Message:
py-fakefs: updated to 5.4.1

Version 5.4.1
Fixes a regression.

Fixes
* fixed a regression from version 5.4.0 that incorrectly handled files opened twice via file descriptor

Version 5.4.0
Improves permission handling.

Changes
* the handling of file permissions under Posix should now mostly match the behavior
 of the real filesystem, which may change the behavior of some tests
* removed the argument `module_cleanup_mode`, that was introduced as a temporary workaround
 in the previous version - related problems shall be handled using a cleanup handler

Enhancements
* added support for `O_NOFOLLOW` and `O_DIRECTORY` flags in `os.open`
* added support for fake `os.dup`, `os.dup2` and `os.lseek`

Fixes
* 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
* fixed `EncodingWarning` for Python >= 3.11
* 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`
* add missing `follow_symlink` argument to `os.link`
* fixed handling of missing attribute in `os.getxattr`
* 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`

Infrastructure
* replace `undefined` by own minimal implementation to avoid importing it


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 pkgsrc/devel/py-fakefs/Makefile
cvs rdiff -u -r1.5 -r1.6 pkgsrc/devel/py-fakefs/PLIST
cvs rdiff -u -r1.13 -r1.14 pkgsrc/devel/py-fakefs/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/py-fakefs/Makefile
diff -u pkgsrc/devel/py-fakefs/Makefile:1.12 pkgsrc/devel/py-fakefs/Makefile:1.13
--- pkgsrc/devel/py-fakefs/Makefile:1.12        Tue Jan 30 23:42:13 2024
+++ pkgsrc/devel/py-fakefs/Makefile     Tue Apr 16 15:33:05 2024
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.12 2024/01/30 23:42:13 adam Exp $
+# $NetBSD: Makefile,v 1.13 2024/04/16 15:33:05 adam Exp $
 
-DISTNAME=      pyfakefs-5.3.5
+DISTNAME=      pyfakefs-5.4.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/py//}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/pyfakefs/}

Index: pkgsrc/devel/py-fakefs/PLIST
diff -u pkgsrc/devel/py-fakefs/PLIST:1.5 pkgsrc/devel/py-fakefs/PLIST:1.6
--- pkgsrc/devel/py-fakefs/PLIST:1.5    Sat Dec  2 08:20:04 2023
+++ pkgsrc/devel/py-fakefs/PLIST        Tue Apr 16 15:33:05 2024
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.5 2023/12/02 08:20:04 adam Exp $
+@comment $NetBSD: PLIST,v 1.6 2024/04/16 15:33:05 adam Exp $
 ${PYSITELIB}/${WHEEL_INFODIR}/COPYING
 ${PYSITELIB}/${WHEEL_INFODIR}/METADATA
 ${PYSITELIB}/${WHEEL_INFODIR}/RECORD
@@ -90,6 +90,12 @@ ${PYSITELIB}/pyfakefs/pytest_tests/pytes
 ${PYSITELIB}/pyfakefs/pytest_tests/pytest_plugin_test.py
 ${PYSITELIB}/pyfakefs/pytest_tests/pytest_plugin_test.pyc
 ${PYSITELIB}/pyfakefs/pytest_tests/pytest_plugin_test.pyo
+${PYSITELIB}/pyfakefs/pytest_tests/pytest_reload_pandas_test.py
+${PYSITELIB}/pyfakefs/pytest_tests/pytest_reload_pandas_test.pyc
+${PYSITELIB}/pyfakefs/pytest_tests/pytest_reload_pandas_test.pyo
+${PYSITELIB}/pyfakefs/pytest_tests/unhashable.py
+${PYSITELIB}/pyfakefs/pytest_tests/unhashable.pyc
+${PYSITELIB}/pyfakefs/pytest_tests/unhashable.pyo
 ${PYSITELIB}/pyfakefs/tests/__init__.py
 ${PYSITELIB}/pyfakefs/tests/__init__.pyc
 ${PYSITELIB}/pyfakefs/tests/__init__.pyo

Index: pkgsrc/devel/py-fakefs/distinfo
diff -u pkgsrc/devel/py-fakefs/distinfo:1.13 pkgsrc/devel/py-fakefs/distinfo:1.14
--- pkgsrc/devel/py-fakefs/distinfo:1.13        Tue Jan 30 23:42:13 2024
+++ pkgsrc/devel/py-fakefs/distinfo     Tue Apr 16 15:33:05 2024
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.13 2024/01/30 23:42:13 adam Exp $
+$NetBSD: distinfo,v 1.14 2024/04/16 15:33:05 adam Exp $
 
-BLAKE2s (pyfakefs-5.3.5.tar.gz) = 05f78f7c73f20e3bb92c1d2196aa508b3fbb4e8af5b2ce28012dec19856a510a
-SHA512 (pyfakefs-5.3.5.tar.gz) = c477f3f6e2754100f320a9a966cdb69ec0845c68ce9428bbb72bf723d646ef007c94ff17336170a7861e45f83a5e8d7fbd72460345b7565570ab5494652d75c7
-Size (pyfakefs-5.3.5.tar.gz) = 196773 bytes
+BLAKE2s (pyfakefs-5.4.1.tar.gz) = 48e807875640f52341d87af604eafcd004dafcd12f999fb3b9242ad02763d1ae
+SHA512 (pyfakefs-5.4.1.tar.gz) = ea828ffe0a9f550f773cd87cef67978bda2c16fee8e5f940cb0e01be99326476913fd23d7d4a1fe29167fddce85392670020edd03289f97d8bc3bc9a5c425e88
+Size (pyfakefs-5.4.1.tar.gz) = 203319 bytes



Home | Main Index | Thread Index | Old Index