Login
You're viewing the front-end.social public feed.
  • Sep 18, 2024, 12:39 PM

    tox.wiki/en/latest/faq.html#te is very helpful, except where tox now creates a .tox/.pkg virtualenv using Python 3.12 to run pyproject_api to run setuptools.build_meta, and this venv ends up with setuptools version 65.6.3, which doesn't support Python 3.12.

    I think setuptoos 65.6.3 is the one bundled with virtualenv 20.22?

    I don't know how to ask tox to please pip install -U setuptools inside the .pkg virtualenv before it tries to run pyproject_api. Or how to use a different Python for .pkg.

    💬 1🔄 1⭐ 0

Replies

  • Sep 18, 2024, 1:09 PM

    Actually, where did setuptool 65 come from? the virtualenv in the .tox/.tox environment has wheels for setuptools 44.1.1, 50.3.2, 59.6.0, and 67.6.1. PyPI has setuptools 75.1.0.

    💬 1🔄 0⭐ 0
  • Sep 18, 2024, 1:10 PM

    System Python should be irrelevant (besides, it has python3-setuptools 68.1.2).

    💬 0🔄 0⭐ 0
  • Sep 18, 2024, 1:23 PM

    Hmm, ~/.local/share/virtualenv/wheel/3.12/embed/3/setuptools.json lists five different setuptools versions, from 65.5.1 to setuptools up to 65.6.3.

    This is great (not). A dependency on the cache in ~/.local/.

    💬 0🔄 0⭐ 0