-
Notifications
You must be signed in to change notification settings - Fork 427
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
Provide codesigned stub exe's #5252
Conversation
ae43ff3
to
6ef531c
Compare
CodSpeed Performance ReportMerging #5252 will improve performances by ×9.8Comparing Summary
Benchmarks breakdown
|
6374cd3
to
6710c45
Compare
Co-authored-by: Schuyler Martin <schuylermartin45@gmail.com>
Co-authored-by: Bianca Henderson <beeankha@gmail.com>
|
||
from conda_build.utils import on_win | ||
|
||
HERE = os.path.abspath(os.path.dirname(__file__)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we be mixing pathlib
and os.path
calls in the same file? Or do we want to be consistent in usage?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
there is no Pathlib variant of shutil.which and other tests don't seem to use Pathlib much at first glance, but I'm a big proponent of Pathlib.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We've been slowly moving paths in conda over to pathlib, but rest assured it backfired in messy code where paths are handed around and assumed strings.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some nit-picky comments but overall I'm glad to see additional testing.
I think the logic for detecting cases where the test can't run looks correct!
Spent like 5x as long writing the tests as I did signing the files, but decided we didn't want to be surprised in the future when these are no longer signed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not loving that we're adding the same code paths in conda in conda/conda#13721 as well as here. Let's discuss what you're trying to do with these tests. Verify that signtool works?
Also, like conda/conda#13721 this doesn't elaborate how the files were created that we're shipping after this is merged, which is a big miss and should be recorded in this pull request for posterity. Frankly I'm a little concerned that the blobs aren't created in a transparent process via a CD system.
|
||
from conda_build.utils import on_win | ||
|
||
HERE = os.path.abspath(os.path.dirname(__file__)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We've been slowly moving paths in conda over to pathlib, but rest assured it backfired in messy code where paths are handed around and assumed strings.
@chenghlee Please take a look at these (which are less urgent than the linked feature in conda) but would still benefit from your seal of approval. |
Description
Checklist - did you ...
news
directory (using the template) for the next release's release notes?