Package: python-fs / 2.4.16-9
Metadata
| Package | Version | Patches format |
|---|---|---|
| python-fs | 2.4.16-9 | 3.0 (quilt) |
Patch series
view the series file| Patch | File delta | Description |
|---|---|---|
| f6f260f97df29500a531baf1b370c3e4e4f3dc76.patch | (download) |
fs/test.py |
2 1 + 1 - 0 ! |
[patch] replace testcase method aliases removed in python 3.12 Bug: https://github.com/PyFilesystem/pyfilesystem2/issues/568 Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1058294 |
| remove_runtime_six.patch | (download) |
fs/_bulk.py |
2 1 + 1 - 0 ! |
remove runtime dependency on python3-six |
| remove six from fs test.py.patch | (download) |
fs/test.py |
57 26 + 31 - 0 ! |
remove six from fs/test.py Fix packages that build depend on python3-fs and import fs.test, eg. this is what pyfatfs does: ``` from fs.test import FSTestCases ``` |
| platformdirs.patch | (download) |
fs/appfs.py |
4 2 + 2 - 0 ! |
platformdirs =================================================================== |
| tests remove test that doesn t seem to make a lot of sens.patch | (download) |
tests/test_opener.py |
6 0 + 6 - 0 ! |
tests: remove test that doesn't seem to make a lot of sense It claims to be testing that a `__repr__()` "works", but this doesn't make any sense as everything eventually gets one from `object()`. It also makes use of the deprecated pkg_resources interface, so simply ditch this code entirely. |
| migrate entrypoints handling to standard library importli.patch | (download) |
fs/opener/registry.py |
38 29 + 9 - 0 ! |
migrate entrypoints handling to standard library importlib.metadata |
| drop the final remaining use of the deprecated pkg_resour.patch | (download) |
fs/__init__.py |
2 1 + 1 - 0 ! |
drop the final remaining use of the deprecated pkg_resources module Declaring a namespace package has gone through a few revisions. pkg_resources has a version that is heavily deprecated. pkgutil provides a python2/python3 compatible version that is also compatible with native python3 namespaces. https://packaging.python.org/en/latest/guides/packaging-namespace-packages/ pkg_resources is very very deprecated and importing or using it results in deprecation warnings. It's time to move off of it entirely. Fixes: https://github.com/PyFilesystem/pyfilesystem2/issues/577 |
