From 951a794642e10a147a1259675cf164647c8630fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89tienne=20T=C3=A9treault-Pinard?= Date: Wed, 21 Jun 2023 11:16:48 -0400 Subject: [PATCH 1/2] use `julia --project` in JuliaRunner instead of just `julia` to support testing within Julia environments. --- dash/testing/application_runners.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/dash/testing/application_runners.py b/dash/testing/application_runners.py index 996cbf4f18..2b560c89da 100644 --- a/dash/testing/application_runners.py +++ b/dash/testing/application_runners.py @@ -505,7 +505,9 @@ def start(self, app, start_timeout=30, cwd=None): logger.info("Run Dash.jl app with julia => %s", app) - args = shlex.split(f"julia {os.path.realpath(app)}", posix=not self.is_windows) + args = shlex.split( + f"julia --project {os.path.realpath(app)}", posix=not self.is_windows + ) logger.debug("start Dash.jl process with %s", args) try: From dc313bbd80503762f0e66e61d3ed945749db6fed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89tienne=20T=C3=A9treault-Pinard?= Date: Tue, 27 Jun 2023 13:22:35 -0400 Subject: [PATCH 2/2] update changelog --- CHANGELOG.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8116ab20c7..121e10e06e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,12 @@ All notable changes to `dash` will be documented in this file. This project adheres to [Semantic Versioning](https://semver.org/). +## [UNRELEASED] + +## Changed + +- [#2573](https://github.com/plotly/dash/pull/2573) Use `julia --project` command inside `JuliaRunner`. + ## [2.11.0] - 2023-06-23 ## Added