Summary: | pyvenv in python3 fails | ||
---|---|---|---|
Product: | Sisyphus | Reporter: | Ivan Zakharyaschev <imz> |
Component: | python3 | Assignee: | Grigory Ustinov <grenka> |
Status: | CLOSED FIXED | QA Contact: | qa-sisyphus |
Severity: | major | ||
Priority: | P3 | CC: | evg, george, glebfm, grenka, imz, nbr, obirvalger, vitty, vladimir.didenko |
Version: | unstable | ||
Hardware: | all | ||
OS: | Linux | ||
Bug Depends on: | |||
Bug Blocks: | 32205 |
Description
Ivan Zakharyaschev
2016-06-22 15:48:04 MSK
site-packages re-configuration example -- so that new site-packages are seen by the old python3: http://git.altlinux.org/gears/p/python3.0.git?p=python3.0.git;a=blob;f=python3.spec;h=0df8a1d9dda6e43699ef5dd3881244ea055a8401;hb=3802a4828d5b863cf2ff2d60b5a639e720e705da#l77 Про venv : при сборке пакета python3 таких лишних неупакованных файлов нет: warning: Installed (but unpackaged) file(s) found: /usr/lib64/libpython3.5m.a в репозитории пакетов, это содержащих, нет: [imz@basalt ~]$ fgrep /ensurepip /ALT/Sisyphus/*/base/contents_index /ALT/Sisyphus/i586/base/contents_index:/usr/lib/python2.7/ensurepip/__init__.py python-modules-ensurepip /ALT/Sisyphus/i586/base/contents_index:/usr/lib/python2.7/ensurepip/__init__.pyc python-modules-ensurepip /ALT/Sisyphus/i586/base/contents_index:/usr/lib/python2.7/ensurepip/__init__.pyo python-modules-ensurepip /ALT/Sisyphus/i586/base/contents_index:/usr/lib/python2.7/ensurepip/__main__.py python-modules-ensurepip /ALT/Sisyphus/i586/base/contents_index:/usr/lib/python2.7/ensurepip/__main__.pyc python-modules-ensurepip /ALT/Sisyphus/i586/base/contents_index:/usr/lib/python2.7/ensurepip/__main__.pyo python-modules-ensurepip /ALT/Sisyphus/i586/base/contents_index:/usr/lib/python2.7/ensurepip/_uninstall.py python-modules-ensurepip /ALT/Sisyphus/i586/base/contents_index:/usr/lib/python2.7/ensurepip/_uninstall.pyc python-modules-ensurepip /ALT/Sisyphus/i586/base/contents_index:/usr/lib/python2.7/ensurepip/_uninstall.pyo python-modules-ensurepip /ALT/Sisyphus/i586/base/contents_index:/usr/lib/python3.5/ensurepip python3-base /ALT/Sisyphus/i586/base/contents_index:/usr/lib/python3.5/ensurepip/__init__.py python3-base /ALT/Sisyphus/i586/base/contents_index:/usr/lib/python3.5/ensurepip/__main__.py python3-base /ALT/Sisyphus/i586/base/contents_index:/usr/lib/python3.5/ensurepip/__pycache__ python3-base /ALT/Sisyphus/i586/base/contents_index:/usr/lib/python3.5/ensurepip/__pycache__/__init__.cpython-35.opt-1.pyc python3-base /ALT/Sisyphus/i586/base/contents_index:/usr/lib/python3.5/ensurepip/__pycache__/__init__.cpython-35.opt-2.pyc python3-base /ALT/Sisyphus/i586/base/contents_index:/usr/lib/python3.5/ensurepip/__pycache__/__init__.cpython-35.pyc python3-base /ALT/Sisyphus/i586/base/contents_index:/usr/lib/python3.5/ensurepip/__pycache__/__main__.cpython-35.opt-1.pyc python3-base /ALT/Sisyphus/i586/base/contents_index:/usr/lib/python3.5/ensurepip/__pycache__/__main__.cpython-35.opt-2.pyc python3-base /ALT/Sisyphus/i586/base/contents_index:/usr/lib/python3.5/ensurepip/__pycache__/__main__.cpython-35.pyc python3-base /ALT/Sisyphus/i586/base/contents_index:/usr/lib/python3.5/ensurepip/__pycache__/_uninstall.cpython-35.opt-1.pyc python3-base /ALT/Sisyphus/i586/base/contents_index:/usr/lib/python3.5/ensurepip/__pycache__/_uninstall.cpython-35.opt-2.pyc python3-base /ALT/Sisyphus/i586/base/contents_index:/usr/lib/python3.5/ensurepip/__pycache__/_uninstall.cpython-35.pyc python3-base /ALT/Sisyphus/i586/base/contents_index:/usr/lib/python3.5/ensurepip/_uninstall.py python3-base /ALT/Sisyphus/noarch/base/contents_index:/usr/share/doc/python-doc-2.7.12/_sources/library/ensurepip.txt python-doc /ALT/Sisyphus/noarch/base/contents_index:/usr/share/doc/python-doc-2.7.12/library/ensurepip.html python-doc /ALT/Sisyphus/noarch/base/contents_index:/usr/share/doc/python3-doc-3.5.2/_sources/library/ensurepip.txt python3-doc /ALT/Sisyphus/noarch/base/contents_index:/usr/share/doc/python3-doc-3.5.2/library/ensurepip.html python3-doc /ALT/Sisyphus/noarch/base/contents_index:/usr/share/jython/Lib/ensurepip jython /ALT/Sisyphus/noarch/base/contents_index:/usr/share/jython/Lib/ensurepip/__init__$py.class jython /ALT/Sisyphus/noarch/base/contents_index:/usr/share/jython/Lib/ensurepip/__init__.py jython /ALT/Sisyphus/noarch/base/contents_index:/usr/share/jython/Lib/ensurepip/__main__$py.class jython /ALT/Sisyphus/noarch/base/contents_index:/usr/share/jython/Lib/ensurepip/__main__.py jython /ALT/Sisyphus/noarch/base/contents_index:/usr/share/jython/Lib/ensurepip/_bundled jython /ALT/Sisyphus/noarch/base/contents_index:/usr/share/jython/Lib/ensurepip/_bundled/pip-1.6-py2.py3-none-any.whl jython /ALT/Sisyphus/noarch/base/contents_index:/usr/share/jython/Lib/ensurepip/_bundled/setuptools-14.3.2-py2.py3-none-any.whl jython /ALT/Sisyphus/noarch/base/contents_index:/usr/share/jython/Lib/ensurepip/_uninstall$py.class jython /ALT/Sisyphus/noarch/base/contents_index:/usr/share/jython/Lib/ensurepip/_uninstall.py jython /ALT/Sisyphus/x86_64/base/contents_index:/usr/lib64/python2.7/ensurepip/__init__.py python-modules-ensurepip /ALT/Sisyphus/x86_64/base/contents_index:/usr/lib64/python2.7/ensurepip/__init__.pyc python-modules-ensurepip /ALT/Sisyphus/x86_64/base/contents_index:/usr/lib64/python2.7/ensurepip/__init__.pyo python-modules-ensurepip /ALT/Sisyphus/x86_64/base/contents_index:/usr/lib64/python2.7/ensurepip/__main__.py python-modules-ensurepip /ALT/Sisyphus/x86_64/base/contents_index:/usr/lib64/python2.7/ensurepip/__main__.pyc python-modules-ensurepip /ALT/Sisyphus/x86_64/base/contents_index:/usr/lib64/python2.7/ensurepip/__main__.pyo python-modules-ensurepip /ALT/Sisyphus/x86_64/base/contents_index:/usr/lib64/python2.7/ensurepip/_uninstall.py python-modules-ensurepip /ALT/Sisyphus/x86_64/base/contents_index:/usr/lib64/python2.7/ensurepip/_uninstall.pyc python-modules-ensurepip /ALT/Sisyphus/x86_64/base/contents_index:/usr/lib64/python2.7/ensurepip/_uninstall.pyo python-modules-ensurepip /ALT/Sisyphus/x86_64/base/contents_index:/usr/lib64/python3.5/ensurepip python3-base /ALT/Sisyphus/x86_64/base/contents_index:/usr/lib64/python3.5/ensurepip/__init__.py python3-base /ALT/Sisyphus/x86_64/base/contents_index:/usr/lib64/python3.5/ensurepip/__main__.py python3-base /ALT/Sisyphus/x86_64/base/contents_index:/usr/lib64/python3.5/ensurepip/__pycache__ python3-base /ALT/Sisyphus/x86_64/base/contents_index:/usr/lib64/python3.5/ensurepip/__pycache__/__init__.cpython-35.opt-1.pyc python3-base /ALT/Sisyphus/x86_64/base/contents_index:/usr/lib64/python3.5/ensurepip/__pycache__/__init__.cpython-35.opt-2.pyc python3-base /ALT/Sisyphus/x86_64/base/contents_index:/usr/lib64/python3.5/ensurepip/__pycache__/__init__.cpython-35.pyc python3-base /ALT/Sisyphus/x86_64/base/contents_index:/usr/lib64/python3.5/ensurepip/__pycache__/__main__.cpython-35.opt-1.pyc python3-base /ALT/Sisyphus/x86_64/base/contents_index:/usr/lib64/python3.5/ensurepip/__pycache__/__main__.cpython-35.opt-2.pyc python3-base /ALT/Sisyphus/x86_64/base/contents_index:/usr/lib64/python3.5/ensurepip/__pycache__/__main__.cpython-35.pyc python3-base /ALT/Sisyphus/x86_64/base/contents_index:/usr/lib64/python3.5/ensurepip/__pycache__/_uninstall.cpython-35.opt-1.pyc python3-base /ALT/Sisyphus/x86_64/base/contents_index:/usr/lib64/python3.5/ensurepip/__pycache__/_uninstall.cpython-35.opt-2.pyc python3-base /ALT/Sisyphus/x86_64/base/contents_index:/usr/lib64/python3.5/ensurepip/__pycache__/_uninstall.cpython-35.pyc python3-base /ALT/Sisyphus/x86_64/base/contents_index:/usr/lib64/python3.5/ensurepip/_uninstall.py python3-base [imz@basalt ~]$ Зато это есть у jython. Откуда это надо брать? Какие идеи? Помощь в правильной упаковке приветствуется. имею в виду /ALT/Sisyphus/noarch/base/contents_index:/usr/share/jython/Lib/ensurepip/_bundled jython /ALT/Sisyphus/noarch/base/contents_index:/usr/share/jython/Lib/ensurepip/_bundled/pip-1.6-py2.py3-none-any.whl jython /ALT/Sisyphus/noarch/base/contents_index:/usr/share/jython/Lib/ensurepip/_bundled/setuptools-14.3.2-py2.py3-none-any.whl jython Терятеся при сборке python3? Или стоит по-другому "настроить" venv при упаковке так, чтобы оно это в другом виде искало? Я-то тут причём? В Debian создают wheels (необходимые для работы venv) при сборке пакетов, по-моему: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=732703#55 Bug #748301 is the distlib patch to build its wheel. Bug #748299 is the python-setuptools patch to build its wheel. и см. также остальные их переделки. python3-3.7.3-alt1 -> sisyphus: Tue Apr 02 2019 Grigory Ustinov <grenka@altlinux> 3.7.3-alt1 - Updated to upstream version 3.7.3 (Closes: #36297). - Added list of architectures which has multilib support in ALT (thx to arei@). - Added pathfix.py to python3-tools (thx to viy@). - Bring back venv support (thx to obirvalger@ and imz@) (Closes: #32211). - Add idle desktop file (Closes: #27542.) |