From a9ab038e1400987993012c76489138ee3b3ddf93 Mon Sep 17 00:00:00 2001 From: Ashish Aggarwal Date: Thu, 16 Oct 2025 18:35:26 -0400 Subject: [PATCH 01/10] 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 02/10] 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 03/10] 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 04/10] 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 05/10] 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 06/10] 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. From dab45d2ec766df5f6bc303ff12b598edb038eb88 Mon Sep 17 00:00:00 2001 From: Ashish Aggarwal Date: Fri, 12 Dec 2025 15:53:26 -0500 Subject: [PATCH 07/10] Update package versioning and add logo to nuspec Refactored versioning in Directory.Build.props to use MS_PACKAGE_VERSION and updated DynamoPackageVersion. Modified nuspec to use a variable for version and include logo.png in the package. Added logo.png to the repository. --- Directory.Build.props | 7 ++++--- ...ualProgramming.PythonEngine.PythonNet3.nuspec | 3 ++- logo.png | Bin 0 -> 2621 bytes 3 files changed, 6 insertions(+), 4 deletions(-) create mode 100644 logo.png diff --git a/Directory.Build.props b/Directory.Build.props index 8061ab2..4097ed8 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -10,9 +10,10 @@ enable enable - - 1.4.4 - 4.0.0-beta2860 + + 0.0.0.0 + $(MS_PACKAGE_VERSION) + 4.0.0.3277 4.0 diff --git a/DynamoVisualProgramming.PythonEngine.PythonNet3.nuspec b/DynamoVisualProgramming.PythonEngine.PythonNet3.nuspec index a7280de..235fa7a 100644 --- a/DynamoVisualProgramming.PythonEngine.PythonNet3.nuspec +++ b/DynamoVisualProgramming.PythonEngine.PythonNet3.nuspec @@ -2,7 +2,7 @@ DynamoVisualProgramming.PythonEngine.PythonNet3 - 0.0.0 + $version$ Autodesk Autodesk Apache-2.0 @@ -12,6 +12,7 @@ Copyright Autodesk 2025 + diff --git a/logo.png b/logo.png new file mode 100644 index 0000000000000000000000000000000000000000..7f0ec8a5e8c61554b9fc0d2b465bb41ae76981b8 GIT binary patch literal 2621 zcmV-D3c~e?P)004R>004l5008;`004mK004C`008P>0026e000+ooVrmw00006 zVoOIv0RI600RN!9r;`8x00(qQO+^Ra2^bFr7}7>EbpQYfK}keGR9M56mTQb&M|sD8 z&&-_5d)@V3z3W?&x_07XV^R<(0s5f?r$T`Gsc9=j2&F)&(o`r4;qs*vAtfRx3YS!o z3XO_^RBD5`6txP9ol>c)NbHct!N$fh+4!>e-FM&jJ?G5K(+}@@y$}dyJ{%pLGc(Wc zxy*kaVSOAu^llJPu_S)gC}s4fy~7b+3v^FsJDz>dlm9SB3%1|>BmU(7{)M2Pg>pfL zlVR&jiWRF)Y)nk5P1ok0r|#s_H{Z{v9=n@gH{|lm4-UPHl*sjq-{Huvd(7nW@lPAW zT|iv`kC{E@ww*YUY<;$=)ia2DHg~n39zOAnrPqw@As zs?|_Jj6QX06tcA*U%B(0uLOAFk8YzLX00M2l6=-k{8%iCpdlDkaak(SB^*hw<0Ugh zMnI7T5&4NA$3)E27IQpL8>b%s=HD&toqRLDbMIZ88f_AdNUdL)g@z4VcC5E|_woMd@C#CvPlq(=pkjiN2r#}Dc<66##a&+PGzvrzvlnP<2yxdP zcbN8pgR~DEWbO26nfd3#HqRRDlnyV^prcML8Wj{kRV}JxORv3ttk|{VCUs6RB5JZ3 z6Zudn;X8tud(Ynx9~gfg0JA}_9#M}8rO046irLu>@5+S*#29p7iz(^R6fXg>0uB); z-b?4eKJ6U%z0kAHcS8(oWrzW`MJtb|(cGLwiT7{)iGB1#w*p`<8+g~Q39}e_+6les z+@^OVHeur)Ys~K-x=oLN_iI;D(21U&dK`%NYwSweP`= z+h~Bs%dtj9Fu=6*nTgPI34ZG&asB&y-n5t9<85}2w>f!n$$tODOAKYn{(Z}N(zT(Q zOA$b?q(Goy91U@-YQ>Ay3Z(?>@DQ%qL=+5yK@b@%ivSv#as}y@Hc=sxN0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1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 676fc92..052e131 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,6 +1,6 @@ #!/usr/bin/env groovy @Library('PSL@master') -@Library('CILibrary@CBP/stable') _ +@Library('CILibrary@nuget-test') _ StartPipeline() From affd4da5583bc14fe4ce13584337ed3d6fcc7fce Mon Sep 17 00:00:00 2001 From: Ashish Aggarwal Date: Tue, 16 Dec 2025 18:30:26 -0500 Subject: [PATCH 09/10] Update pipeline.yml --- pipeline.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pipeline.yml b/pipeline.yml index 936b0bf..91c2411 100644 --- a/pipeline.yml +++ b/pipeline.yml @@ -1,6 +1,6 @@ version: 1.4.6 pipeline_os: windows -create_pr_release_to_master: true +create_pr_release_to_public_master: true env: - GITHUB_ACCESS_TOKEN_ID: github_access_token_acsbuildguy @@ -57,4 +57,4 @@ deployment: nuspec_files: - DynamoVisualProgramming.PythonEngine.PythonNet3.nuspec package_version_cmd: echo %_PACKAGE_VERSION% - destination_source_name: Public Nuget \ No newline at end of file + destination_source_name: Public Nuget From 0604d1669505187bbf23a90c45bdc67dfec19965 Mon Sep 17 00:00:00 2001 From: Ashish Aggarwal Date: Tue, 16 Dec 2025 23:26:13 -0500 Subject: [PATCH 10/10] Update update --- Directory.Build.props | 8 ++++---- Jenkinsfile | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Directory.Build.props b/Directory.Build.props index 4097ed8..1a9c0e1 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -5,7 +5,7 @@ Dynamo Dynamo Copyright © Autodesk, Inc 2025 - + net10.0 enable enable @@ -15,11 +15,11 @@ $(MS_PACKAGE_VERSION) 4.0.0.3277 4.0 - + true false false $(SolutionDir)\package_output\DSPythonNet3\ - - + + \ No newline at end of file diff --git a/Jenkinsfile b/Jenkinsfile index 052e131..676fc92 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,6 +1,6 @@ #!/usr/bin/env groovy @Library('PSL@master') -@Library('CILibrary@nuget-test') _ +@Library('CILibrary@CBP/stable') _ StartPipeline()