From a9ab038e1400987993012c76489138ee3b3ddf93 Mon Sep 17 00:00:00 2001 From: Ashish Aggarwal Date: Thu, 16 Oct 2025 18:35:26 -0400 Subject: [PATCH 1/6] Add NuGet packaging for PythonNet3 engine Introduced a nuspec file and nuget.config for packaging DynamoVisualProgramming.PythonEngine.PythonNet3. Updated pipeline.yml to support NuGet deployment using a secret API key and new configuration files. --- ...Programming.PythonEngine.PythonNet3.nuspec | 19 +++++++++++++++++++ nuget.config | 6 ++++++ pipeline.yml | 14 ++++++++++++++ 3 files changed, 39 insertions(+) create mode 100644 DynamoVisualProgramming.PythonEngine.PythonNet3.nuspec create mode 100644 nuget.config diff --git a/DynamoVisualProgramming.PythonEngine.PythonNet3.nuspec b/DynamoVisualProgramming.PythonEngine.PythonNet3.nuspec new file mode 100644 index 0000000..46b4420 --- /dev/null +++ b/DynamoVisualProgramming.PythonEngine.PythonNet3.nuspec @@ -0,0 +1,19 @@ + + + + DynamoVisualProgramming.PythonEngine.PythonNet3 + 0.0.0 + Autodesk + Autodesk + Apache-2.0 + https://github.com/DynamoDS/PythonNet3Engine + false + PythonNet3 Engine Nuget, it contains the necessary binaries to load the PythonNet3 engine to Dynamo + Copyright Autodesk 2025 + + + + + + + \ No newline at end of file diff --git a/nuget.config b/nuget.config new file mode 100644 index 0000000..404390d --- /dev/null +++ b/nuget.config @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/pipeline.yml b/pipeline.yml index 84c12c6..c259157 100644 --- a/pipeline.yml +++ b/pipeline.yml @@ -7,6 +7,12 @@ env: - SLACK_QUANTUM_BUILD_CHANNEL : "#dynamo-jenkinsbuild" - JENKINS_NODE_WIN: CDA-VS22-SVC +jenkins_creds: + - + type: secretText + credentialsId: dynamovisualprogramming_nuget_api_key + secretText: API_KEY + code_analysis: sonarqube: source_encoding: UTF-8 @@ -44,3 +50,11 @@ deployment: use_dev_pm: false outputs: - DSPythonNet3.zip + - + type: nuget + custom_api_key: ${API_KEY} + nuget_config_file: nuget.config + nuspec_files: + - DynamoVisualProgramming.PythonEngine.PythonNet3.nuspec + package_version_cmd: echo %MS_PACKAGE_VERSION% + destination_source_name: Public Nuget \ No newline at end of file From 5bbf95d0ae2ff7cb49c7fcc579707cf5adde4527 Mon Sep 17 00:00:00 2001 From: Ashish Aggarwal Date: Thu, 16 Oct 2025 19:52:58 -0400 Subject: [PATCH 2/6] update --- DynamoVisualProgramming.PythonEngine.PythonNet3.nuspec | 6 +++--- README.md | 2 ++ 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/DynamoVisualProgramming.PythonEngine.PythonNet3.nuspec b/DynamoVisualProgramming.PythonEngine.PythonNet3.nuspec index 46b4420..a7280de 100644 --- a/DynamoVisualProgramming.PythonEngine.PythonNet3.nuspec +++ b/DynamoVisualProgramming.PythonEngine.PythonNet3.nuspec @@ -12,8 +12,8 @@ Copyright Autodesk 2025 - - - + + + \ No newline at end of file diff --git a/README.md b/README.md index 7f4da27..b63babb 100644 --- a/README.md +++ b/README.md @@ -9,6 +9,8 @@ Builds are published to [Jenkins](https://master-5.jenkins.autodesk.com/job/Dyna ## Deployment The repository uses the release branch to deploy to [Dynamo Package Manager](www.dynamopackages.com). +As well as to public Nuget: https://www.nuget.org/packages/DynamoVisualProgramming.PythonEngine.PythonNet3 +(make sure the pkg.json file has the intended version before releasing) The package `PythonNet3 Engine` is a dynamo package that is consumed by dynamo users using the Package Manager. The following explains the deployment process to continously push updates to that package. From 7aea314c607578dff00a20cb5c396ff4bd781894 Mon Sep 17 00:00:00 2001 From: Ashish Aggarwal Date: Thu, 16 Oct 2025 19:53:17 -0400 Subject: [PATCH 3/6] Update pipeline.yml --- pipeline.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pipeline.yml b/pipeline.yml index c259157..73363d4 100644 --- a/pipeline.yml +++ b/pipeline.yml @@ -56,5 +56,5 @@ deployment: nuget_config_file: nuget.config nuspec_files: - DynamoVisualProgramming.PythonEngine.PythonNet3.nuspec - package_version_cmd: echo %MS_PACKAGE_VERSION% + package_version_cmd: echo %_PACKAGE_VERSION% destination_source_name: Public Nuget \ No newline at end of file From c15fadb94ddbad0c4516842dc7e3ec8916a8950d Mon Sep 17 00:00:00 2001 From: Ashish Aggarwal Date: Thu, 16 Oct 2025 19:54:27 -0400 Subject: [PATCH 4/6] Update README.md --- README.md | 1 - 1 file changed, 1 deletion(-) diff --git a/README.md b/README.md index b63babb..5c11a1e 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,6 @@ Builds are published to [Jenkins](https://master-5.jenkins.autodesk.com/job/Dyna The repository uses the release branch to deploy to [Dynamo Package Manager](www.dynamopackages.com). As well as to public Nuget: https://www.nuget.org/packages/DynamoVisualProgramming.PythonEngine.PythonNet3 -(make sure the pkg.json file has the intended version before releasing) The package `PythonNet3 Engine` is a dynamo package that is consumed by dynamo users using the Package Manager. The following explains the deployment process to continously push updates to that package. From d9b9d68b3c8f408737476e7fee374a3a4247ae13 Mon Sep 17 00:00:00 2001 From: Ashish Aggarwal Date: Thu, 16 Oct 2025 20:51:03 -0400 Subject: [PATCH 5/6] update version --- Directory.Build.props | 4 ++-- pipeline.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Directory.Build.props b/Directory.Build.props index b2bb747..8061ab2 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -4,14 +4,14 @@ $(Company) Dynamo Dynamo - Copyright © Autodesk, Inc 2024 + Copyright © Autodesk, Inc 2025 net10.0 enable enable - 1.4.0 + 1.4.4 4.0.0-beta2860 4.0 diff --git a/pipeline.yml b/pipeline.yml index 73363d4..37ce15c 100644 --- a/pipeline.yml +++ b/pipeline.yml @@ -1,4 +1,4 @@ -version: 1.4.1 +version: 1.4.3 pipeline_os: windows create_pr_release_to_master: true From 29be6769b7ea166b680ff1e8fd635e7820a9a951 Mon Sep 17 00:00:00 2001 From: Ashish Aggarwal Date: Thu, 16 Oct 2025 20:52:28 -0400 Subject: [PATCH 6/6] Update README.md --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 5c11a1e..6164c6c 100644 --- a/README.md +++ b/README.md @@ -10,6 +10,7 @@ Builds are published to [Jenkins](https://master-5.jenkins.autodesk.com/job/Dyna The repository uses the release branch to deploy to [Dynamo Package Manager](www.dynamopackages.com). As well as to public Nuget: https://www.nuget.org/packages/DynamoVisualProgramming.PythonEngine.PythonNet3 +(Make sure to update the binary version in Directory.build.props before releasing and match it to the version that will be deployed after release) The package `PythonNet3 Engine` is a dynamo package that is consumed by dynamo users using the Package Manager. The following explains the deployment process to continously push updates to that package.