tro-utils 0.5.1__tar.gz → 0.5.2__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 (87) hide show
  1. {tro_utils-0.5.1 → tro_utils-0.5.2}/PKG-INFO +1 -1
  2. {tro_utils-0.5.1 → tro_utils-0.5.2}/tro_utils/_version.py +3 -3
  3. {tro_utils-0.5.1 → tro_utils-0.5.2}/tro_utils/models/arrangement.py +1 -1
  4. {tro_utils-0.5.1 → tro_utils-0.5.2}/tro_utils/models/artifact.py +1 -1
  5. {tro_utils-0.5.1 → tro_utils-0.5.2}/tro_utils.egg-info/PKG-INFO +1 -1
  6. tro_utils-0.5.2/tro_utils.egg-info/scm_version.json +8 -0
  7. tro_utils-0.5.1/tro_utils.egg-info/scm_version.json +0 -8
  8. {tro_utils-0.5.1 → tro_utils-0.5.2}/.coveragerc +0 -0
  9. {tro_utils-0.5.1 → tro_utils-0.5.2}/.editorconfig +0 -0
  10. {tro_utils-0.5.1 → tro_utils-0.5.2}/.github/ISSUE_TEMPLATE.md +0 -0
  11. {tro_utils-0.5.1 → tro_utils-0.5.2}/.github/workflows/release.yml +0 -0
  12. {tro_utils-0.5.1 → tro_utils-0.5.2}/.github/workflows/test.yml +0 -0
  13. {tro_utils-0.5.1 → tro_utils-0.5.2}/.gitignore +0 -0
  14. {tro_utils-0.5.1 → tro_utils-0.5.2}/.readthedocs.yaml +0 -0
  15. {tro_utils-0.5.1 → tro_utils-0.5.2}/.travis.yml +0 -0
  16. {tro_utils-0.5.1 → tro_utils-0.5.2}/LICENSE +0 -0
  17. {tro_utils-0.5.1 → tro_utils-0.5.2}/MANIFEST.in +0 -0
  18. {tro_utils-0.5.1 → tro_utils-0.5.2}/Makefile +0 -0
  19. {tro_utils-0.5.1 → tro_utils-0.5.2}/README.md +0 -0
  20. {tro_utils-0.5.1 → tro_utils-0.5.2}/docs/Makefile +0 -0
  21. {tro_utils-0.5.1 → tro_utils-0.5.2}/docs/authors.md +0 -0
  22. {tro_utils-0.5.1 → tro_utils-0.5.2}/docs/conf.py +0 -0
  23. {tro_utils-0.5.1 → tro_utils-0.5.2}/docs/contributing.md +0 -0
  24. {tro_utils-0.5.1 → tro_utils-0.5.2}/docs/history.md +0 -0
  25. {tro_utils-0.5.1 → tro_utils-0.5.2}/docs/index.md +0 -0
  26. {tro_utils-0.5.1 → tro_utils-0.5.2}/docs/installation.md +0 -0
  27. {tro_utils-0.5.1 → tro_utils-0.5.2}/docs/make.bat +0 -0
  28. {tro_utils-0.5.1 → tro_utils-0.5.2}/docs/readme.md +0 -0
  29. {tro_utils-0.5.1 → tro_utils-0.5.2}/docs/requirements.txt +0 -0
  30. {tro_utils-0.5.1 → tro_utils-0.5.2}/docs/usage.md +0 -0
  31. {tro_utils-0.5.1 → tro_utils-0.5.2}/pyproject.toml +0 -0
  32. {tro_utils-0.5.1 → tro_utils-0.5.2}/pytest.ini +0 -0
  33. {tro_utils-0.5.1 → tro_utils-0.5.2}/requirements_dev.txt +0 -0
  34. {tro_utils-0.5.1 → tro_utils-0.5.2}/setup.cfg +0 -0
  35. {tro_utils-0.5.1 → tro_utils-0.5.2}/tests/__init__.py +0 -0
  36. {tro_utils-0.5.1 → tro_utils-0.5.2}/tests/conftest.py +0 -0
  37. {tro_utils-0.5.1 → tro_utils-0.5.2}/tests/helpers.py +0 -0
  38. {tro_utils-0.5.1 → tro_utils-0.5.2}/tests/test_arrangement_determinism.py +0 -0
  39. {tro_utils-0.5.1 → tro_utils-0.5.2}/tests/test_cli.py +0 -0
  40. {tro_utils-0.5.1 → tro_utils-0.5.2}/tests/test_extra_context.py +0 -0
  41. {tro_utils-0.5.1 → tro_utils-0.5.2}/tests/test_models_agent.py +0 -0
  42. {tro_utils-0.5.1 → tro_utils-0.5.2}/tests/test_models_artifact_arrangement.py +0 -0
  43. {tro_utils-0.5.1 → tro_utils-0.5.2}/tests/test_models_artifact_composition.py +0 -0
  44. {tro_utils-0.5.1 → tro_utils-0.5.2}/tests/test_models_artifact_location.py +0 -0
  45. {tro_utils-0.5.1 → tro_utils-0.5.2}/tests/test_models_composition_fingerprint.py +0 -0
  46. {tro_utils-0.5.1 → tro_utils-0.5.2}/tests/test_models_hash_value.py +0 -0
  47. {tro_utils-0.5.1 → tro_utils-0.5.2}/tests/test_models_performance.py +0 -0
  48. {tro_utils-0.5.1 → tro_utils-0.5.2}/tests/test_models_research_artifact.py +0 -0
  49. {tro_utils-0.5.1 → tro_utils-0.5.2}/tests/test_models_transparent_research_object.py +0 -0
  50. {tro_utils-0.5.1 → tro_utils-0.5.2}/tests/test_models_trs.py +0 -0
  51. {tro_utils-0.5.1 → tro_utils-0.5.2}/tests/test_models_tsa.py +0 -0
  52. {tro_utils-0.5.1 → tro_utils-0.5.2}/tests/test_replication_package_model.py +0 -0
  53. {tro_utils-0.5.1 → tro_utils-0.5.2}/tests/test_replication_package_verification.py +0 -0
  54. {tro_utils-0.5.1 → tro_utils-0.5.2}/tests/test_tro_arrangements.py +0 -0
  55. {tro_utils-0.5.1 → tro_utils-0.5.2}/tests/test_tro_creation.py +0 -0
  56. {tro_utils-0.5.1 → tro_utils-0.5.2}/tests/test_tro_hashing.py +0 -0
  57. {tro_utils-0.5.1 → tro_utils-0.5.2}/tests/test_tro_performances.py +0 -0
  58. {tro_utils-0.5.1 → tro_utils-0.5.2}/tests/test_tro_reporting.py +0 -0
  59. {tro_utils-0.5.1 → tro_utils-0.5.2}/tests/test_tro_save_load.py +0 -0
  60. {tro_utils-0.5.1 → tro_utils-0.5.2}/tests/test_tro_signing.py +0 -0
  61. {tro_utils-0.5.1 → tro_utils-0.5.2}/tests/test_tro_timestamping.py +0 -0
  62. {tro_utils-0.5.1 → tro_utils-0.5.2}/tests/test_tro_utility_methods.py +0 -0
  63. {tro_utils-0.5.1 → tro_utils-0.5.2}/tests/test_tro_workflow.py +0 -0
  64. {tro_utils-0.5.1 → tro_utils-0.5.2}/tests/test_trs_identifier.py +0 -0
  65. {tro_utils-0.5.1 → tro_utils-0.5.2}/tests/test_version.py +0 -0
  66. {tro_utils-0.5.1 → tro_utils-0.5.2}/tox.ini +0 -0
  67. {tro_utils-0.5.1 → tro_utils-0.5.2}/tro_utils/__init__.py +0 -0
  68. {tro_utils-0.5.1 → tro_utils-0.5.2}/tro_utils/cli.py +0 -0
  69. {tro_utils-0.5.1 → tro_utils-0.5.2}/tro_utils/default.jinja2 +0 -0
  70. {tro_utils-0.5.1 → tro_utils-0.5.2}/tro_utils/models/__init__.py +0 -0
  71. {tro_utils-0.5.1 → tro_utils-0.5.2}/tro_utils/models/_base.py +0 -0
  72. {tro_utils-0.5.1 → tro_utils-0.5.2}/tro_utils/models/agent.py +0 -0
  73. {tro_utils-0.5.1 → tro_utils-0.5.2}/tro_utils/models/attribute.py +0 -0
  74. {tro_utils-0.5.1 → tro_utils-0.5.2}/tro_utils/models/composition.py +0 -0
  75. {tro_utils-0.5.1 → tro_utils-0.5.2}/tro_utils/models/hash_value.py +0 -0
  76. {tro_utils-0.5.1 → tro_utils-0.5.2}/tro_utils/models/performance.py +0 -0
  77. {tro_utils-0.5.1 → tro_utils-0.5.2}/tro_utils/models/tro.py +0 -0
  78. {tro_utils-0.5.1 → tro_utils-0.5.2}/tro_utils/models/trs.py +0 -0
  79. {tro_utils-0.5.1 → tro_utils-0.5.2}/tro_utils/models/tsa.py +0 -0
  80. {tro_utils-0.5.1 → tro_utils-0.5.2}/tro_utils/replication_package.py +0 -0
  81. {tro_utils-0.5.1 → tro_utils-0.5.2}/tro_utils/tro_utils.py +0 -0
  82. {tro_utils-0.5.1 → tro_utils-0.5.2}/tro_utils.egg-info/SOURCES.txt +0 -0
  83. {tro_utils-0.5.1 → tro_utils-0.5.2}/tro_utils.egg-info/dependency_links.txt +0 -0
  84. {tro_utils-0.5.1 → tro_utils-0.5.2}/tro_utils.egg-info/entry_points.txt +0 -0
  85. {tro_utils-0.5.1 → tro_utils-0.5.2}/tro_utils.egg-info/requires.txt +0 -0
  86. {tro_utils-0.5.1 → tro_utils-0.5.2}/tro_utils.egg-info/scm_file_list.json +0 -0
  87. {tro_utils-0.5.1 → tro_utils-0.5.2}/tro_utils.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: tro-utils
3
- Version: 0.5.1
3
+ Version: 0.5.2
4
4
  Summary: Utilities for creating, editing and interacting with TROs
5
5
  Author-email: Kacper Kowalik <xarthisius.kk@gmail.com>, Craig Willis <willis8@illinois.edu>
6
6
  Maintainer-email: Kacper Kowalik <xarthisius.kk@gmail.com>
@@ -18,7 +18,7 @@ version_tuple: tuple[int | str, ...]
18
18
  commit_id: str | None
19
19
  __commit_id__: str | None
20
20
 
21
- __version__ = version = '0.5.1'
22
- __version_tuple__ = version_tuple = (0, 5, 1)
21
+ __version__ = version = '0.5.2'
22
+ __version_tuple__ = version_tuple = (0, 5, 2)
23
23
 
24
- __commit_id__ = commit_id = 'g67c2714a6'
24
+ __commit_id__ = commit_id = 'g6779ac9e5'
@@ -89,7 +89,7 @@ class ArtifactArrangement(TROVModel):
89
89
  comment = f"Scanned {directory}"
90
90
 
91
91
  directory = pathlib.Path(directory)
92
- magic_wrapper = magic.Magic(mime=True, uncompress=True)
92
+ magic_wrapper = magic.Magic(mime=True, uncompress=False)
93
93
 
94
94
  # Collect the file list first, then sort by relative path. os.walk
95
95
  # yields entries in filesystem order, which differs between machines;
@@ -59,7 +59,7 @@ class ResearchArtifact(TROVModel):
59
59
  if p.is_symlink():
60
60
  mime_type = "inode/symlink"
61
61
  else:
62
- magic_wrapper = magic.Magic(mime=True, uncompress=True)
62
+ magic_wrapper = magic.Magic(mime=True, uncompress=False)
63
63
  mime_type = magic_wrapper.from_file(str(p)) or "application/octet-stream"
64
64
 
65
65
  return cls(artifact_id=artifact_id, hash=hash_value, mime_type=mime_type)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: tro-utils
3
- Version: 0.5.1
3
+ Version: 0.5.2
4
4
  Summary: Utilities for creating, editing and interacting with TROs
5
5
  Author-email: Kacper Kowalik <xarthisius.kk@gmail.com>, Craig Willis <willis8@illinois.edu>
6
6
  Maintainer-email: Kacper Kowalik <xarthisius.kk@gmail.com>
@@ -0,0 +1,8 @@
1
+ {
2
+ "tag": "0.5.2",
3
+ "distance": 0,
4
+ "node": "g6779ac9e52f6a0b34569c1aaae88d1dc689f3dc9",
5
+ "dirty": false,
6
+ "branch": "HEAD",
7
+ "node_date": "2026-10-17"
8
+ }
@@ -1,8 +0,0 @@
1
- {
2
- "tag": "0.5.1",
3
- "distance": 0,
4
- "node": "g67c2714a6fa4d238b8d56aab7ea91e838dc9435f",
5
- "dirty": false,
6
- "branch": "HEAD",
7
- "node_date": "2026-10-08"
8
- }
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes