Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion build-windows.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

import os
import pathlib
import platform
import subprocess
import sys
import venv
Expand All @@ -15,7 +16,8 @@
VENV = BUILD / "venv"
PIP = VENV / "Scripts" / "pip.exe"
PYTHON = VENV / "Scripts" / "python.exe"
REQUIREMENTS = ROOT / "requirements.win.txt"
ARCH = "-arm64" if platform.machine() == "ARM64" else ""
REQUIREMENTS = ROOT / f"requirements.win{ARCH}.txt"
WINDOWS_DIR = ROOT / "cpython-windows"


Expand Down
3 changes: 2 additions & 1 deletion pythonbuild/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
import urllib.request
import zipfile

import github
import yaml
import zstandard

Expand Down Expand Up @@ -654,6 +653,8 @@ def validate_python_json(info, extension_modules):


def release_download_statistics(mode="by_asset"):
import github

by_tag = collections.Counter()
by_build = collections.Counter()
by_build_install_only = collections.Counter()
Expand Down
4 changes: 3 additions & 1 deletion requirements.in
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
docker
jinja2
jsonschema
PyGithub
# This does not built on the aarch64-windows runners yet, and is only needed for
# development so we'll just skip it for now.
PyGithub; sys_platform != "win32" or platform_machine != "aarch64"
PyYAML
# Undeclared dependency in docker 5.0 package.
six
Expand Down
Loading
Loading