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

is_file should return false unless that file exists #55

Closed
jaraco opened this issue Jun 7, 2020 · 0 comments · Fixed by #60
Closed

is_file should return false unless that file exists #55

jaraco opened this issue Jun 7, 2020 · 0 comments · Fixed by #60

Comments

@jaraco
Copy link
Owner

jaraco commented Jun 7, 2020

In importlib.resources, I've had to add special handling for zipp.Path.is_file returning true when the name looks valid but the file doesn't exist. By contrast, pathlib.Path.is_file returns False for paths that don't exist, even if they represent potentially vaild file references.

jaraco added a commit that referenced this issue Sep 22, 2020
jaraco added a commit that referenced this issue Sep 22, 2020
jaraco pushed a commit that referenced this issue Jul 12, 2022
This patch adds a job that is able to accurately signal whether
all the expectations of the required jobs to succeed are met.

This job can then be used as a source of truth for judging whether
"CI passes" and can be used in the branch protection. It also plays
a role of a convenient "gate" — this is the only job that would have
to be listed in the branch protection as opposed to listing every
single job name generated by the test matrix (and they all have
different names — it's not possible to just select one `test` job
name).

Ref: https://github.com/re-actors/alls-green#why
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 a pull request may close this issue.

1 participant