rms-filecache 2.0.2__tar.gz → 2.0.4__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (48) hide show
  1. {rms_filecache-2.0.2 → rms_filecache-2.0.4}/.github/workflows/run-tests.yml +3 -3
  2. {rms_filecache-2.0.2/rms_filecache.egg-info → rms_filecache-2.0.4}/PKG-INFO +2 -1
  3. {rms_filecache-2.0.2 → rms_filecache-2.0.4}/filecache/_version.py +2 -2
  4. {rms_filecache-2.0.2 → rms_filecache-2.0.4}/filecache/file_cache.py +3 -3
  5. {rms_filecache-2.0.2 → rms_filecache-2.0.4}/pyproject.toml +1 -0
  6. {rms_filecache-2.0.2 → rms_filecache-2.0.4/rms_filecache.egg-info}/PKG-INFO +2 -1
  7. {rms_filecache-2.0.2 → rms_filecache-2.0.4}/.coveragerc +0 -0
  8. {rms_filecache-2.0.2 → rms_filecache-2.0.4}/.flake8 +0 -0
  9. {rms_filecache-2.0.2 → rms_filecache-2.0.4}/.github/pull_request_template.md +0 -0
  10. {rms_filecache-2.0.2 → rms_filecache-2.0.4}/.github/workflows/publish_to_pypi.yml +0 -0
  11. {rms_filecache-2.0.2 → rms_filecache-2.0.4}/.github/workflows/publish_to_test_pypi.yml +0 -0
  12. {rms_filecache-2.0.2 → rms_filecache-2.0.4}/.gitignore +0 -0
  13. {rms_filecache-2.0.2 → rms_filecache-2.0.4}/.readthedocs.yaml +0 -0
  14. {rms_filecache-2.0.2 → rms_filecache-2.0.4}/LICENSE +0 -0
  15. {rms_filecache-2.0.2 → rms_filecache-2.0.4}/README.md +0 -0
  16. {rms_filecache-2.0.2 → rms_filecache-2.0.4}/docs/Makefile +0 -0
  17. {rms_filecache-2.0.2 → rms_filecache-2.0.4}/docs/conf.py +0 -0
  18. {rms_filecache-2.0.2 → rms_filecache-2.0.4}/docs/index.rst +0 -0
  19. {rms_filecache-2.0.2 → rms_filecache-2.0.4}/docs/make.bat +0 -0
  20. {rms_filecache-2.0.2 → rms_filecache-2.0.4}/docs/module.rst +0 -0
  21. {rms_filecache-2.0.2 → rms_filecache-2.0.4}/filecache/__init__.py +0 -0
  22. {rms_filecache-2.0.2 → rms_filecache-2.0.4}/filecache/file_cache_path.py +0 -0
  23. {rms_filecache-2.0.2 → rms_filecache-2.0.4}/filecache/file_cache_source.py +0 -0
  24. {rms_filecache-2.0.2 → rms_filecache-2.0.4}/filecache/file_cache_types.py +0 -0
  25. {rms_filecache-2.0.2 → rms_filecache-2.0.4}/filecache/my_glob.py +0 -0
  26. {rms_filecache-2.0.2 → rms_filecache-2.0.4}/mypy.ini +0 -0
  27. {rms_filecache-2.0.2 → rms_filecache-2.0.4}/requirements.txt +0 -0
  28. {rms_filecache-2.0.2 → rms_filecache-2.0.4}/rms_filecache.egg-info/SOURCES.txt +0 -0
  29. {rms_filecache-2.0.2 → rms_filecache-2.0.4}/rms_filecache.egg-info/dependency_links.txt +0 -0
  30. {rms_filecache-2.0.2 → rms_filecache-2.0.4}/rms_filecache.egg-info/requires.txt +0 -0
  31. {rms_filecache-2.0.2 → rms_filecache-2.0.4}/rms_filecache.egg-info/top_level.txt +0 -0
  32. {rms_filecache-2.0.2 → rms_filecache-2.0.4}/setup.cfg +0 -0
  33. {rms_filecache-2.0.2 → rms_filecache-2.0.4}/test_files/expected/lorem1.txt +0 -0
  34. {rms_filecache-2.0.2 → rms_filecache-2.0.4}/test_files/expected/subdir1/lorem1.txt +0 -0
  35. {rms_filecache-2.0.2 → rms_filecache-2.0.4}/test_files/expected/subdir1/subdir2a/binary1.bin +0 -0
  36. {rms_filecache-2.0.2 → rms_filecache-2.0.4}/test_files/expected/subdir1/subdir2b/binary1.bin +0 -0
  37. {rms_filecache-2.0.2 → rms_filecache-2.0.4}/test_programs/locking.py +0 -0
  38. {rms_filecache-2.0.2 → rms_filecache-2.0.4}/test_programs/multi_download.py +0 -0
  39. {rms_filecache-2.0.2 → rms_filecache-2.0.4}/tests/__init__.py +0 -0
  40. {rms_filecache-2.0.2 → rms_filecache-2.0.4}/tests/gs_lifecycle_config.json +0 -0
  41. {rms_filecache-2.0.2 → rms_filecache-2.0.4}/tests/gs_lifecycle_config_info.txt +0 -0
  42. {rms_filecache-2.0.2 → rms_filecache-2.0.4}/tests/s3_bucket_policy_read.txt +0 -0
  43. {rms_filecache-2.0.2 → rms_filecache-2.0.4}/tests/s3_bucket_policy_write.txt +0 -0
  44. {rms_filecache-2.0.2 → rms_filecache-2.0.4}/tests/s3_lifecycle_policy.txt +0 -0
  45. {rms_filecache-2.0.2 → rms_filecache-2.0.4}/tests/test_file_cache.py +0 -0
  46. {rms_filecache-2.0.2 → rms_filecache-2.0.4}/tests/test_file_cache_path.py +0 -0
  47. {rms_filecache-2.0.2 → rms_filecache-2.0.4}/tests/test_file_cache_source.py +0 -0
  48. {rms_filecache-2.0.2 → rms_filecache-2.0.4}/tests/test_url_to_path.py +0 -0
@@ -43,7 +43,7 @@ jobs:
43
43
  strategy:
44
44
  matrix:
45
45
  os: [ubuntu-latest, macos-latest, windows-latest]
46
- python-version: ['3.9', '3.10', '3.11', '3.12']
46
+ python-version: ['3.9', '3.10', '3.11', '3.12', '3.13']
47
47
  fail-fast: false
48
48
  permissions:
49
49
  contents: read
@@ -80,8 +80,8 @@ jobs:
80
80
  coverage report -m
81
81
 
82
82
  - name: Upload coverage report to codecov
83
- uses: codecov/codecov-action@v4
84
- if: matrix.os == 'ubuntu-latest' && matrix.python-version == '3.12'
83
+ uses: codecov/codecov-action@v5
84
+ if: matrix.os == 'ubuntu-latest' && matrix.python-version == '3.13'
85
85
  with:
86
86
  token: ${{ secrets.CODECOV_TOKEN }}
87
87
  verbose: true
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: rms-filecache
3
- Version: 2.0.2
3
+ Version: 2.0.4
4
4
  Summary: File cache for files retrieved from the cloud
5
5
  Maintainer-email: "Robert S. French" <rfrench@seti.org>
6
6
  License: Apache-2.0
@@ -19,6 +19,7 @@ Classifier: Programming Language :: Python :: 3.9
19
19
  Classifier: Programming Language :: Python :: 3.10
20
20
  Classifier: Programming Language :: Python :: 3.11
21
21
  Classifier: Programming Language :: Python :: 3.12
22
+ Classifier: Programming Language :: Python :: 3.13
22
23
  Classifier: Operating System :: MacOS :: MacOS X
23
24
  Classifier: Operating System :: POSIX :: Linux
24
25
  Classifier: Operating System :: Microsoft :: Windows
@@ -12,5 +12,5 @@ __version__: str
12
12
  __version_tuple__: VERSION_TUPLE
13
13
  version_tuple: VERSION_TUPLE
14
14
 
15
- __version__ = version = '2.0.2'
16
- __version_tuple__ = version_tuple = (2, 0, 2)
15
+ __version__ = version = '2.0.4'
16
+ __version_tuple__ = version_tuple = (2, 0, 4)
@@ -1311,7 +1311,7 @@ class FileCache:
1311
1311
  self.upload(url, anonymous=anonymous, url_to_path=url_to_path)
1312
1312
 
1313
1313
  def new_path(self,
1314
- path: str,
1314
+ path: str | Path | FCPath,
1315
1315
  *,
1316
1316
  anonymous: Optional[bool] = None,
1317
1317
  lock_timeout: Optional[int] = None,
@@ -1358,10 +1358,10 @@ class FileCache:
1358
1358
  If None, use the default translators for this :class:`FileCache` instance.
1359
1359
  """
1360
1360
 
1361
- if isinstance(path, Path):
1361
+ if isinstance(path, (Path, FCPath)):
1362
1362
  path = str(path)
1363
1363
  if not isinstance(path, str):
1364
- raise TypeError('path is not a str or Path')
1364
+ raise TypeError('path is not a str or Path or FCPath')
1365
1365
  path = path.replace('\\', '/').rstrip('/')
1366
1366
  if anonymous is None:
1367
1367
  anonymous = self.anonymous
@@ -36,6 +36,7 @@ classifiers = [
36
36
  "Programming Language :: Python :: 3.10",
37
37
  "Programming Language :: Python :: 3.11",
38
38
  "Programming Language :: Python :: 3.12",
39
+ "Programming Language :: Python :: 3.13",
39
40
  "Operating System :: MacOS :: MacOS X",
40
41
  "Operating System :: POSIX :: Linux",
41
42
  "Operating System :: Microsoft :: Windows"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: rms-filecache
3
- Version: 2.0.2
3
+ Version: 2.0.4
4
4
  Summary: File cache for files retrieved from the cloud
5
5
  Maintainer-email: "Robert S. French" <rfrench@seti.org>
6
6
  License: Apache-2.0
@@ -19,6 +19,7 @@ Classifier: Programming Language :: Python :: 3.9
19
19
  Classifier: Programming Language :: Python :: 3.10
20
20
  Classifier: Programming Language :: Python :: 3.11
21
21
  Classifier: Programming Language :: Python :: 3.12
22
+ Classifier: Programming Language :: Python :: 3.13
22
23
  Classifier: Operating System :: MacOS :: MacOS X
23
24
  Classifier: Operating System :: POSIX :: Linux
24
25
  Classifier: Operating System :: Microsoft :: Windows
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes