Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,23 +40,23 @@ jobs:
- name: Set up NuGet
uses: nuget/setup-nuget@v2.0.1

- name: Set up Python 3.14.3
- name: Set up Python 3.14.4
run: |
nuget install python -Version 3.14.3 -x -o .
nuget install python -Version 3.14.4 -x -o .
$py = Get-Item python\tools
Write-Host "Adding $py to PATH"
"$py" | Out-File $env:GITHUB_PATH -Encoding UTF8 -Append
working-directory: ${{ runner.temp }}

- name: Check Python version is 3.14.3
- name: Check Python version is 3.14.4
run: >
python -c "import sys;
print(sys.version);
print(sys.executable);
sys.exit(0 if sys.version_info[:5] == (3, 14, 3, 'final', 0) else 1)"
sys.exit(0 if sys.version_info[:5] == (3, 14, 4, 'final', 0) else 1)"

- name: Install build dependencies
run: python -m pip install "pymsbuild>=1.2.0b1"
run: python -m pip install "pymsbuild==1.2.2"

- name: 'Install test runner'
run: python -m pip install pytest pytest-cov
Expand Down
4 changes: 4 additions & 0 deletions _msbuild.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,9 @@ class ResourceFile(CSourceFile):
VersionInfo(FileDescription="Native helper functions for PyManager"),
PyFile('__init__.py'),
CPP_SETTINGS,
ItemDefinition("Link",
AdditionalDependencies=Prepend("wintrust.lib;"),
),
IncludeFile('*.h'),
CSourceFile('*.cpp'),
CFunction('coinitialize'),
Expand Down Expand Up @@ -89,6 +92,7 @@ class ResourceFile(CSourceFile):
CFunction('read_alias_package'),
CFunction('broadcast_settings_change'),
CFunction('get_processor_architecture'),
CFunction('verify_trust'),
source='src/_native',
RootNamespace='_native',
)
Expand Down
4 changes: 4 additions & 0 deletions _msbuild_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
PreprocessorDefinitions=Prepend("ERROR_LOCATIONS=1;BITS_INJECT_ERROR=1;"),
LanguageStandard="stdcpp20",
),
ItemDefinition("Link",
AdditionalDependencies=Prepend("wintrust.lib;"),
),
IncludeFile('*.h'),
CSourceFile('*.cpp'),
CFunction('coinitialize'),
Expand Down Expand Up @@ -55,6 +58,7 @@
CFunction('read_alias_package'),
CFunction('broadcast_settings_change'),
CFunction('get_processor_architecture'),
CFunction('verify_trust'),
source='src/_native',
),
DllPackage('_shellext_test',
Expand Down
Loading
Loading