From d0a8c6b75770103e9eb8a9790f52ce8de64b5a2a Mon Sep 17 00:00:00 2001 From: JinWang An Date: Mon, 27 Mar 2023 17:02:34 +0900 Subject: [PATCH] Imported Upstream version 57.2.0 --- .bumpversion.cfg | 2 +- .github/workflows/main.yml | 8 +++++++- CHANGES.rst | 9 +++++++++ setup.cfg | 2 +- setuptools/_distutils/util.py | 1 + 5 files changed, 19 insertions(+), 3 deletions(-) diff --git a/.bumpversion.cfg b/.bumpversion.cfg index 99ebf2f..ac2e2b6 100644 --- a/.bumpversion.cfg +++ b/.bumpversion.cfg @@ -1,5 +1,5 @@ [bumpversion] -current_version = 57.1.0 +current_version = 57.2.0 commit = True tag = True diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index cd1969c..c0916fa 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -23,7 +23,13 @@ jobs: run: | python -m pip install tox - name: Run tests - run: tox + run: tox -- --cov-report xml + - name: Publish coverage + uses: codecov/codecov-action@v1 + with: + flags: >- # Mark which lines are covered by which envs + ${{ runner.os }}, + ${{ matrix.python }} release: needs: test diff --git a/CHANGES.rst b/CHANGES.rst index 3024ed6..ba4a5fb 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -1,3 +1,12 @@ +v57.2.0 +------- + + +Changes +^^^^^^^ +* #2724: Added detection of Windows ARM64 build environments using the ``VSCMD_ARG_TGT_ARCH`` environment variable. + + v57.1.0 ------- diff --git a/setup.cfg b/setup.cfg index 25d4610..ebb42e4 100644 --- a/setup.cfg +++ b/setup.cfg @@ -2,7 +2,7 @@ license_files = LICENSE name = setuptools -version = 57.1.0 +version = 57.2.0 author = Python Packaging Authority author_email = distutils-sig@python.org description = Easily download, build, install, upgrade, and uninstall Python packages diff --git a/setuptools/_distutils/util.py b/setuptools/_distutils/util.py index 76657d2..4232fd2 100644 --- a/setuptools/_distutils/util.py +++ b/setuptools/_distutils/util.py @@ -103,6 +103,7 @@ def get_platform(): 'x86' : 'win32', 'x64' : 'win-amd64', 'arm' : 'win-arm32', + 'arm64': 'win-arm64', } return TARGET_TO_PLAT.get(os.environ.get('VSCMD_ARG_TGT_ARCH')) or get_host_platform() else: -- 2.34.1