Skip to content

Commit

Permalink
Merge pull request #27 from mpvginde/bugfix/real_paths
Browse files Browse the repository at this point in the history
[draft] bugfix: fully resolve mount points
  • Loading branch information
HCookie authored Oct 25, 2024
2 parents c5267a5 + 5814826 commit 1ef0643
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Keep it human-readable, your future self will thank you!
- Fix `__version__` import in init

### Changed

- Fix: resolve mounted filesystems in provenance
- Fix pre-commit regex
- ci: extend python versions [#23] (https://github.com/ecmwf/anemoi-utils/pull/23)
- Update copyright notice
Expand Down
1 change: 1 addition & 0 deletions src/anemoi/utils/provenance.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ def _module_versions(full):

roots = {}
for name, path in sysconfig.get_paths().items():
path = os.path.realpath(path)
if path not in roots:
roots[path] = name

Expand Down

0 comments on commit 1ef0643

Please sign in to comment.