We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
serve_wheel
To ensure the subprocess running the server is terminated, try-finally should be used.
try-finally
diff --git a/conftest.py b/conftest.py index 79987335d..6db5bde9a 100644 --- a/conftest.py +++ b/conftest.py @@ -364,10 +364,12 @@ def serve_wheel(request, tmp_path_factory): ], cwd=root, ) as prc: - url = f"http://localhost:{port}" - if existing_url := os.environ.get("PIP_EXTRA_INDEX_URL"): - url = f"{existing_url} {url}" - os.environ["PIP_EXTRA_INDEX_URL"] = url - - yield - prc.terminate() + try: + url = f"http://localhost:{port}" + if existing_url := os.environ.get("PIP_EXTRA_INDEX_URL"): + url = f"{existing_url} {url}" + os.environ["PIP_EXTRA_INDEX_URL"] = url + + yield + finally: + prc.terminate()
Make sure to open a PR from a non-master branch.
Sign off the commit using the -s flag when making a commit:
-s
git commit -s -m "..." # ^^ make sure to use this
Include #{issue_number} (e.g. #123) in the PR description when opening a PR.
#{issue_number}
#123
The text was updated successfully, but these errors were encountered:
Hello @harupy, I am looking for my first contribution to MLFlow. Can I work on this issue ?
Sorry, something went wrong.
@dominik-pichler absolutely!
@harupy Great! can you assign it to me?
@dominik-pichler assigned!
dominik-pichler
No branches or pull requests
Summary
To ensure the subprocess running the server is terminated,
try-finally
should be used.Notes
Make sure to open a PR from a non-master branch.
Sign off the commit using the
-s
flag when making a commit:Include
#{issue_number}
(e.g.#123
) in the PR description when opening a PR.The text was updated successfully, but these errors were encountered: