-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into distutils-import-hack
- Loading branch information
Showing
39 changed files
with
182 additions
and
1,348 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
[bumpversion] | ||
current_version = 49.2.0 | ||
current_version = 49.2.1 | ||
commit = True | ||
tag = True | ||
|
||
|
This file was deleted.
Oops, something went wrong.
59 changes: 0 additions & 59 deletions
59
.github/ISSUE_TEMPLATE/setuptools-warns-about-python-2-incompatibility.md
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,32 +25,54 @@ jobs: | |
- 3.6 | ||
- 3.5 | ||
os: | ||
- ubuntu-latest | ||
- ubuntu-18.04 | ||
- ubuntu-16.04 | ||
- macOS-latest | ||
# - windows-2019 | ||
# - windows-2016 | ||
include: | ||
# Dev versions | ||
- { python-version: 3.9-dev, os: ubuntu-20.04 } | ||
# Pre-release versions (GH-shipped) | ||
- os: ubuntu-20.04 | ||
python-version: 3.9.0-beta.4 - 3.9.0 | ||
# Pre-release versions (deadsnakes) | ||
- os: ubuntu-20.04 | ||
python-version: 3.9-beta | ||
# Dev versions (deadsnakes) | ||
- os: ubuntu-20.04 | ||
python-version: 3.9-dev | ||
- os: ubuntu-20.04 | ||
python-version: 3.8-dev | ||
|
||
env: | ||
NETWORK_REQUIRED: 1 | ||
PYTHON_VERSION: ${{ matrix.python-version }} | ||
TOX_PARALLEL_NO_SPINNER: 1 | ||
TOXENV: python | ||
USE_DEADSNAKES: false | ||
|
||
steps: | ||
- uses: actions/checkout@master | ||
- name: Set up Python ${{ matrix.python-version }} (deadsnakes) | ||
- name: Set flag to use deadsnakes | ||
if: >- | ||
endsWith(env.PYTHON_VERSION, '-beta') || | ||
endsWith(env.PYTHON_VERSION, '-dev') | ||
run: | | ||
from __future__ import print_function | ||
python_version = '${{ env.PYTHON_VERSION }}'.replace('-beta', '') | ||
print('::set-env name=PYTHON_VERSION::{ver}'.format(ver=python_version)) | ||
print('::set-env name=USE_DEADSNAKES::true') | ||
shell: python | ||
- name: Set up Python ${{ env.PYTHON_VERSION }} (deadsnakes) | ||
uses: deadsnakes/[email protected] | ||
if: endsWith(matrix.python-version, '-dev') | ||
if: fromJSON(env.USE_DEADSNAKES) && true || false | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
- name: Set up Python ${{ matrix.python-version }} | ||
uses: actions/[email protected] | ||
if: "!endsWith(matrix.python-version, '-dev')" | ||
python-version: ${{ env.PYTHON_VERSION }} | ||
- name: Set up Python ${{ env.PYTHON_VERSION }} | ||
uses: actions/[email protected] | ||
if: >- | ||
!fromJSON(env.USE_DEADSNAKES) && true || false | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
python-version: ${{ env.PYTHON_VERSION }} | ||
- name: Log Python version | ||
run: >- | ||
python --version | ||
|
@@ -82,9 +104,9 @@ jobs: | |
run: >- | ||
python -m pip freeze --all | ||
- name: Adjust TOXENV for PyPy | ||
if: startsWith(matrix.python-version, 'pypy') | ||
if: startsWith(env.PYTHON_VERSION, 'pypy') | ||
run: >- | ||
echo "::set-env name=TOXENV::${{ matrix.python-version }}" | ||
echo "::set-env name=TOXENV::${{ env.PYTHON_VERSION }}" | ||
- name: Log env vars | ||
run: >- | ||
env | ||
|
@@ -100,10 +122,14 @@ jobs: | |
python -m | ||
tox | ||
--parallel auto | ||
--parallel-live | ||
--notest | ||
--skip-missing-interpreters false | ||
- name: Test with tox | ||
run: >- | ||
python -m | ||
tox | ||
--parallel auto | ||
--parallel-live | ||
-- | ||
-vvvvv |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,9 @@ | ||
v49.2.1 | ||
------- | ||
|
||
* #2257: Fixed two flaws in distutils._msvccompiler.MSVCCompiler.spawn. | ||
|
||
|
||
v49.2.0 | ||
------- | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
Porting from Distutils | ||
====================== | ||
|
||
Setuptools and the PyPA have a `stated goal <https://github.com/pypa/packaging-problems/issues/127>`_ to make Setuptools the reference API for distutils. | ||
|
||
Since the 49.1.2 release, Setuptools includes a local, vendored copy of distutils (from late copies of CPython) that is disabled by default. To enable the use of this copy of distutils when invoking setuptools, set the enviroment variable: | ||
|
||
SETUPTOOLS_USE_DISTUTILS=local | ||
|
||
This behavior is planned to become the default. | ||
|
||
Prefer Setuptools | ||
----------------- | ||
|
||
As Distutils is deprecated, any usage of functions or objects from distutils is similarly discouraged, and Setuptools aims to replace or deprecate all such uses. This section describes the recommended replacements. | ||
|
||
``distutils.core.setup`` → ``setuptools.setup`` | ||
|
||
``distutils.cmd.Command`` → ``setuptools.Command`` | ||
|
||
``distutils.log`` → (no replacement yet) | ||
|
||
``distutils.version.*`` → ``packaging.version.*`` | ||
|
||
If a project relies on uses of ``distutils`` that do not have a suitable replacement above, please search the `Setuptools issue tracker <https://github.com/pypa/setuptools/issues/>`_ and file a request, describing the use-case so that Setuptools' maintainers can investigate. Please provide enough detail to help the maintainers understand how distutils is used, what value it provides, and why that behavior should be supported. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Binary file not shown.
Oops, something went wrong.