-
Notifications
You must be signed in to change notification settings - Fork 1.1k
PYTHON-4975 Use justfile as the task runner #2057
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
Conversation
zizmor failure is unrelated: zizmorcore/zizmor#431 |
@NoahStapp this is ready for review |
pymongo/pyopenssl_context.py
Outdated
@@ -277,7 +277,7 @@ def __get_options(self) -> None: | |||
# Calling set_options adds the option to the existing bitmask and | |||
# returns the new bitmask. | |||
# https://www.pyopenssl.org/en/stable/api/ssl.html#OpenSSL.SSL.Context.set_options | |||
return self._ctx.set_options(0) |
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.
Accidental regression? This incorrect type hint is fixed in master.
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.
Fixed
@@ -13,6 +13,32 @@ else | |||
SUDO="sudo" | |||
fi | |||
|
|||
# Install just. | |||
if [ "${CI:-}" == "true" ]; then |
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.
Is CI
set somewhere by drivers-evergreen-tools on some platforms?
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.
It is set on Evergreen jobs only. I'll add a comment.
Co-authored-by: Noah Stapp <noah@noahstapp.com>
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.
Awesome work Steve!
I ran a cross-section of tasks here: https://spruce.mongodb.com/version/67830641207aee000703f428/tasks?sorts=STATUS%3AASC%3BBASE_STATUS%3ADESC.
The justfile itself will get a lot cleaner once we switch to uv. We'll be able to install
just
anduv
in the system setup, and then useuv run
instead of all these hard-coded paths.