From 3a328b1191eb1d44ef1822bbff444bd7b8ecd812 Mon Sep 17 00:00:00 2001 From: Dominic van Berkel Date: Mon, 15 May 2023 09:36:18 +0200 Subject: [PATCH 1/2] Preserve symlinks during voyager deploy --- voyager/deployfromlockfile.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/voyager/deployfromlockfile.py b/voyager/deployfromlockfile.py index e77a53c..771add2 100644 --- a/voyager/deployfromlockfile.py +++ b/voyager/deployfromlockfile.py @@ -40,7 +40,7 @@ def deploy_all_dependencies(deploy_dir, only_runtime_deps): # use copy_tree from distutils because shutil.copytree stops if directory already exists # and therefore can't work in this for loop construction try: - copied += copy_tree(bin_path, deploy_dir) + copied += copy_tree(bin_path, deploy_dir, preserve_symlinks=True) except distutils.errors.DistutilsFileError: # Found a package that defines a bin dir that does not exist pass From d7eb31bc1a5f0602a2575e4c656ea73327f4a2a5 Mon Sep 17 00:00:00 2001 From: Dominic van Berkel Date: Mon, 15 May 2023 09:38:35 +0200 Subject: [PATCH 2/2] Release notes & version bump for 1.16.3 --- deploy/Installer.iss | 2 +- docs/release-notes.md | 3 +++ voyager/voyager.py | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/deploy/Installer.iss b/deploy/Installer.iss index 90807cf..91d2225 100644 --- a/deploy/Installer.iss +++ b/deploy/Installer.iss @@ -1,5 +1,5 @@ // ########################### -#define Release "1.16.2" +#define Release "1.16.3" // ########################### #define AppName "voyager" diff --git a/docs/release-notes.md b/docs/release-notes.md index 36c1b05..448e73d 100644 --- a/docs/release-notes.md +++ b/docs/release-notes.md @@ -1,5 +1,8 @@ # Release notes +### [1.16.3] +- Preserve symlinks during `voyager deploy`. + ### [1.16.2] - Also deploy transitive runtime dependencies diff --git a/voyager/voyager.py b/voyager/voyager.py index 28d6941..4b60d44 100644 --- a/voyager/voyager.py +++ b/voyager/voyager.py @@ -40,7 +40,7 @@ import voyager.doc as doc_server import voyager.package_update as package_updater -VERSION = "1.16.2" +VERSION = "1.16.3" @click.group()