main/py3-virtualenv: move py3-python-discovery to depends

Resolve runtime error, found in txt2tags.

```
Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "/usr/lib/python3.14/site-packages/tox/__main__.py", line 6, in <module>
    run()
    ~~~^^

[...]

  File "/usr/lib/python3.14/site-packages/tox/tox_env/python/api.py", line 14, in <module>
    from virtualenv.discovery.py_spec import PythonSpec
  File "/usr/lib/python3.14/site-packages/virtualenv/discovery/py_spec.py", line 5, in <module>
    from python_discovery import PythonSpec
ModuleNotFoundError: No module named 'python_discovery'
```
This commit is contained in:
mio 2026-05-09 00:33:05 +00:00
parent 07352b71cd
commit f1ee383b1b

View File

@ -3,18 +3,17 @@
# Maintainer: Patrycja Rosa <alpine@ptrcnull.me>
pkgname=py3-virtualenv
pkgver=21.3.0
pkgrel=0
pkgrel=1
pkgdesc="Virtual Python3 Environment builder"
url="https://virtualenv.pypa.io/en/latest/"
arch="noarch"
license="MIT"
depends="py3-platformdirs py3-distlib py3-filelock"
depends="py3-platformdirs py3-distlib py3-filelock py3-python-discovery"
makedepends="
py3-gpep517
py3-hatchling
py3-hatch-vcs
py3-wheel
py3-python-discovery
"
checkdepends="
py3-flaky