Skip to content

Commit

Permalink
upgrade setuptools to 46.0.0 from 45.3.0 for Python3.5+ (#1702)
Browse files Browse the repository at this point in the history
Signed-off-by: Bernat Gabor <[email protected]>
  • Loading branch information
gaborbernat authored Mar 9, 2020
1 parent 7bdc179 commit 53f8aba
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 8 deletions.
1 change: 1 addition & 0 deletions docs/changelog/1702.bugfix.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Upgrade embedded setuptools to ``46.0.0`` from ``45.3.0`` on Python ``3.5+``.
10 changes: 5 additions & 5 deletions src/virtualenv/seed/embed/wheels/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,27 +3,27 @@
BUNDLE_SUPPORT = {
"3.9": {
"pip": "pip-20.0.2-py2.py3-none-any.whl",
"setuptools": "setuptools-45.3.0-py3-none-any.whl",
"setuptools": "setuptools-46.0.0-py3-none-any.whl",
"wheel": "wheel-0.34.2-py2.py3-none-any.whl",
},
"3.8": {
"pip": "pip-20.0.2-py2.py3-none-any.whl",
"setuptools": "setuptools-45.3.0-py3-none-any.whl",
"setuptools": "setuptools-46.0.0-py3-none-any.whl",
"wheel": "wheel-0.34.2-py2.py3-none-any.whl",
},
"3.7": {
"pip": "pip-20.0.2-py2.py3-none-any.whl",
"setuptools": "setuptools-45.3.0-py3-none-any.whl",
"setuptools": "setuptools-46.0.0-py3-none-any.whl",
"wheel": "wheel-0.34.2-py2.py3-none-any.whl",
},
"3.6": {
"pip": "pip-20.0.2-py2.py3-none-any.whl",
"setuptools": "setuptools-45.3.0-py3-none-any.whl",
"setuptools": "setuptools-46.0.0-py3-none-any.whl",
"wheel": "wheel-0.34.2-py2.py3-none-any.whl",
},
"3.5": {
"pip": "pip-20.0.2-py2.py3-none-any.whl",
"setuptools": "setuptools-45.3.0-py3-none-any.whl",
"setuptools": "setuptools-46.0.0-py3-none-any.whl",
"wheel": "wheel-0.34.2-py2.py3-none-any.whl",
},
"3.4": {
Expand Down
Binary file not shown.
1 change: 0 additions & 1 deletion tests/unit/create/test_creator.py
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,6 @@ def test_create_long_path(current_fastest, tmp_path):


@pytest.mark.parametrize("creator", set(PythonInfo.current_system().creators().key_to_class) - {"builtin"})
@pytest.mark.timeout(timeout=30)
def test_create_distutils_cfg(creator, tmp_path, monkeypatch):
result = cli_run([ensure_text(str(tmp_path / "venv")), "--activators", "", "--creator", creator])

Expand Down
1 change: 0 additions & 1 deletion tests/unit/seed/test_extra_install.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ def builtin_shows_marker_missing():
reason="Building C-Extensions requires header files with host python",
)
@pytest.mark.parametrize("creator", list(i for i in CREATOR_CLASSES.keys() if i != "builtin"))
@pytest.mark.timeout(timeout=30)
def test_can_build_c_extensions(creator, tmp_path, coverage_env):
session = cli_run(["--creator", creator, "--seed", "app-data", str(tmp_path), "-vvv"])
coverage_env()
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ commands =
python -m coverage run\
-m pytest \
--junitxml {toxworkdir}/junit.{envname}.xml \
--timeout 20 \
--timeout 30 \
tests {posargs:--int}

python -m coverage combine
Expand Down

0 comments on commit 53f8aba

Please sign in to comment.