Skip to content

Conversation

@pabloitu
Copy link
Collaborator

refac: changing os.path for pathlib across the application, having mostly changes in the registries module.
fix: from_git now correctly locates the repository content in the desired path set in model_config. incremented timeout for Zenodo requests.
ft: get_source methods are now different for TimeDependent and TimeIndependent. Expanded git and zenodo accessors to handle end-cases, and to become adapted to the type of model structure (e.g., src or files).
tests: updated corresponding unit tests, and expanded integration tests to catch more end-cases when querying a model from a repository.

…ries and repositories. changed all corresponding tests.
…stly changes in the registries module.

fix: from_git now correctly locates the repository content in the desired path set in model_config. incremented timeout for Zenodo requests.
ft: get_source methods are now different for TimeDependent and TimeIndependent. Expanded git and zenodo accessors to handle end-cases, and to become adapted to the type of model structure (e.g., src or files).
tests: updated corresponding unit tests, and expanded integration tests to catch more end-cases when querying a model from a repository.
@pabloitu pabloitu linked an issue Oct 22, 2025 that may be closed by this pull request
…o raising Exception, so it can be catched by unit tests. Fix all type hintings not compatible with python 3.9.

tests: local git repo now has author, so tests can be run in CI or closed envs. Fixed relative paths and dir testing, to make it compatible with MACOS. All Zenodo tests can be skipped if they doesnt work. Connection can be unstable, and not working every time.
@pabloitu pabloitu merged commit 14ce485 into main Oct 22, 2025
7 checks passed
@pabloitu pabloitu deleted the 59-git-repository-accessor-failing-to-manage-path-structure branch October 23, 2025 11:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

git repository accessor failing to manage path structure

2 participants