Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[v7r2]Client: protect documentation generation against py3 #5233

Merged
merged 1 commit into from Jul 2, 2021

Conversation

chaen
Copy link
Contributor

@chaen chaen commented Jun 29, 2021

This change of importlib_resources (python/importlib_resources#221) introduced a change of behavior (python/importlib_resources#230)

With importlib_resources >= 5.2.0, path would not throw an error if the resource does not exist, but fp.read_text would raise FileNotFoundError, so i just shifted the block in the try/except

BEGINRELEASENOTES
*Core
CHANGE: protect client doc generation against new importlib_resources

ENDRELEASENOTES

@chaen chaen force-pushed the rel-v7r2_FIX_addFunctions branch from 12b8f69 to 0923c8c Compare June 29, 2021 18:58
@chaen chaen requested a review from chrisburr June 29, 2021 18:59
@chaen chaen changed the title [WIP][v7r2]Client: protect documentation generation against py3 [v7r2]Client: protect documentation generation against py3 Jul 1, 2021
@chaen chaen marked this pull request as ready for review July 1, 2021 08:27
@atsareg atsareg merged commit 524815a into DIRACGrid:rel-v7r2 Jul 2, 2021
@chaen chaen deleted the rel-v7r2_FIX_addFunctions branch August 11, 2022 12:57
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.

None yet

3 participants