Unable to deploy Python
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- powershell
- Domain
- devops
Research direction
Start with the WinGetPackage Python.Python.3.10 configuration and compare the local Start-GuestConfigurationPackageRemediation result with Get-GuestConfigurationPackageComplianceStatus. Reproduce the package and policy flow on Windows 10 with GuestConfiguration 4.5.0; done means the Python package is reported compliant after remediation, not only installed locally.
Written by the indexing model from the issue text.
Description
Details of the scenario you tried and the problem that is occurring
I am trying to distribute Python using the same pattern as I have successfully distributed other applications - but it is not working. I have tried running remediation tasks which complete successfully however when I run a
Get-GuestConfigurationPackageComplianceStatus against the package it continues to show as not compliant
Start-GuestConfigurationPackageRemediation when run locally will execute the install without issue
My configuration is below
As above, I can compile, create the package and policy without issue. It works when run locally
Verbose logs showing the problem
n/a
Suggested solution to the issue
The DSC configuration that is used to reproduce the issue (if applicable)
Configuration Install
{
Import-DscResource -ModuleName Microsoft.WinGet.DSC
node localhost
{
WinGetPackage Python.Python.3.10
{
Id = 'Python.Python.3.10'
source = 'winget'
InstallMode = 'silent'
}
}
}
$appName = "Python3"
$version = "v1"
Install -OutputPath .\CompiledMOF\${appName}_${version}
The operating system the target node is running
Microsoft Windows [Version 10.0.22631.4037]
Version and build of PowerShell the target node is running
Name Value
PSVersion 7.4.4
PSEdition Core
GitCommitId 7.4.4
OS Microsoft Windows 10.0.22631
Platform Win32NT
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0
Version of the module that was used
Name Version Path
GuestConfiguration 4.5.0 C:\Program Files\WindowsPowerShell\Modules\GuestConfiguration\4.5.0\GuestConfiguration.psd1
- Dominant language
- PowerShell
- Stars
- 8
- Forks
- 13
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from Azure/GuestConfiguration
-
Difficulty 4/5 3-5 days Newbie friendliness 45/100
Azure/GuestConfiguration#322 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 45/100
Azure/GuestConfiguration#320 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
Azure/GuestConfiguration#319 · 1 comment ·
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
Azure/GuestConfiguration#312 · 1 comment ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
Azure/GuestConfiguration#308 · 1 comment ·
All issues in Azure/GuestConfiguration
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
copse-dev/agent-pane#2953 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
simonw/sqlite-utils#872 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 84/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
danielmiessler/LifeOS#2215 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
sympozium-ai/sympozium#627 ·