-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Don't check external psycopg packages for openssl3 copies #20513
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
base: master
Are you sure you want to change the base?
Conversation
b91f7dc
to
5f63dc7
Compare
31eb34b
to
b42b18a
Compare
b42b18a
to
e1639a9
Compare
This reverts commit 75b9ade.
): | ||
"""Check if a wheel contains any unacceptable files and exit if found.""" | ||
if any(wheel.name.startswith(pkg_prefix) for pkg_prefix in bypass_prefixes): | ||
return |
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.
Since (I guess) we aim at removing the tolerance, I would add some verbosity about it (warning or so). What do you think?
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.
Sounds fair, I'll add that.
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.
Much appreciated!
Review from rdesgroppes is dismissed. Related teams and files:
- agent-build
- .builders/scripts/repair_wheels.py
What does this PR do?
It adds a mechanism to bypass the "don't include externally built openssl3" checks.
Motivation
This will let us update from psycopg2 to psycopg(3) without having to build it ourselves (at the expense of shipping different openssl3 versions). psycopg2 got off the hook so far because it ships openssl 1, not 3.
Review checklist (to be filled by reviewers)
qa/skip-qa
label if the PR doesn't need to be tested during QA.backport/<branch-name>
label to the PR and it will automatically open a backport PR once this one is merged