Skip to content

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

Merged
merged 19 commits into from
Jan 17, 2025

Conversation

blink1073
Copy link
Member

@blink1073 blink1073 commented Jan 10, 2025

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 and uv in the system setup, and then use uv run instead of all these hard-coded paths.

@blink1073 blink1073 requested a review from NoahStapp January 10, 2025 21:24
@blink1073
Copy link
Member Author

zizmor failure is unrelated: zizmorcore/zizmor#431

@blink1073 blink1073 marked this pull request as ready for review January 13, 2025 16:23
@blink1073
Copy link
Member Author

@NoahStapp this is ready for review

@@ -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)
Copy link
Contributor

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.

Copy link
Member Author

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
Copy link
Contributor

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?

Copy link
Member Author

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.

@blink1073 blink1073 requested a review from NoahStapp January 17, 2025 18:40
Copy link
Contributor

@NoahStapp NoahStapp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome work Steve!

@blink1073 blink1073 merged commit 86084ad into mongodb:master Jan 17, 2025
46 of 47 checks passed
@blink1073 blink1073 deleted the add-justfile-jan branch January 17, 2025 20:48
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.

2 participants