Closed nicky132 closed 1 month ago
Poetry version 1.1.15
There is no point in raising issues against such old versions, please upgrade, please close this
New Poetry versions are faster in many operations and we haven't supported 1.1.x branch for some time now. If you experience this on modern versions, please open a new issue.
Poetry version 1.1.15
There is no point in raising issues against such old versions, please upgrade, please close this
`(myenv) [root@localhost label-studio-1.13.1]# poetry install Warning: Found deprecated key 'default' or 'secondary' in pyproject.toml configuration for source tsinghua-pypi. Please provide the key 'priority' instead. Accepted values are: 'default', 'primary', 'secondary', 'supplemental', 'explicit'. Warning: Found deprecated priority 'default' for source 'tsinghua-pypi' in pyproject.toml. You can achieve the same effect by changing the priority to 'primary' and putting the source first.
Current Python version (3.6.8) is not allowed by the project (>=3.8,<4). Please change python executable via the "env use" command. (myenv) [root@localhost label-studio-1.13.1]# python --version Python 3.8.19 (myenv) [root@localhost label-studio-1.13.1]# which python /root/miniconda3/envs/myenv/bin/python (myenv) [root@localhost label-studio-1.13.1]# poetry env info Warning: Found deprecated key 'default' or 'secondary' in pyproject.toml configuration for source tsinghua-pypi. Please provide the key 'priority' instead. Accepted values are: 'default', 'primary', 'secondary', 'supplemental', 'explicit'. Warning: Found deprecated priority 'default' for source 'tsinghua-pypi' in pyproject.toml. You can achieve the same effect by changing the priority to 'primary' and putting the source first.
Virtualenv Python: 3.6.8 Implementation: CPython Path: /root/.cache/pypoetry/virtualenvs/label-studio-D6emf7oA-py3.6 Executable: /root/.cache/pypoetry/virtualenvs/label-studio-D6emf7oA-py3.6/bin/python Valid: True
Base Platform: linux OS: posix Python: 3.6.8 Path: /usr Executable: /usr/bin/python3.6 (myenv) [root@localhost label-studio-1.13.1]# deactivate -bash: deactivate: command not found (myenv) [root@localhost label-studio-1.13.1]# deactivate -bash: deactivate: command not found (myenv) [root@localhost label-studio-1.13.1]# -bash: deactivate: command not found -bash: -bash:: command not found (myenv) [root@localhost label-studio-1.13.1]# conda deactivate (base) [root@localhost label-studio-1.13.1]# conda activate myenv (myenv) [root@localhost label-studio-1.13.1]# poetry env use /root/miniconda3/envs/myenv/bin/python Warning: Found deprecated key 'default' or 'secondary' in pyproject.toml configuration for source tsinghua-pypi. Please provide the key 'priority' instead. Accepted values are: 'default', 'primary', 'secondary', 'supplemental', 'explicit'. Warning: Found deprecated priority 'default' for source 'tsinghua-pypi' in pyproject.toml. You can achieve the same effect by changing the priority to 'primary' and putting the source first. Creating virtualenv label-studio-D6emf7oA-py3.8 in /root/.cache/pypoetry/virtualenvs Using virtualenv: /root/.cache/pypoetry/virtualenvs/label-studio-D6emf7oA-py3.8 (myenv) [root@localhost label-studio-1.13.1]# poetry install Warning: Found deprecated key 'default' or 'secondary' in pyproject.toml configuration for source tsinghua-pypi. Please provide the key 'priority' instead. Accepted values are: 'default', 'primary', 'secondary', 'supplemental', 'explicit'. Warning: Found deprecated priority 'default' for source 'tsinghua-pypi' in pyproject.toml. You can achieve the same effect by changing the priority to 'primary' and putting the source first. Updating dependencies Resolving dependencies... (66.4s)^C (myenv) [root@localhost label-studio-1.13.1]# poetry --version Poetry (version 1.8.3) (myenv) [root@localhost label-studio-1.13.1]# ` update already,still slow
New Poetry versions are faster in many operations and we haven't supported 1.1.x branch for some time now. If you experience this on modern versions, please open a new issue.
`WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager, possibly rendering your system unusable.It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv. Use the --root-user-action option if you know what you are doing and want to suppress this warning. (myenv) [root@localhost local]# poetry --version Poetry (version 1.8.3) (myenv) [root@localhost local]# ll total 603616 drwxr-xr-x. 2 root root 4096 Sep 14 17:45 bin drwxr-xr-x. 2 root root 6 Apr 11 2018 etc drwxr-xr-x. 2 root root 6 Apr 11 2018 games -rw-r--r--. 1 root root 2266947 Sep 14 08:20 get-pip.py -rw-r--r--. 1 root root 638976 Sep 14 08:13 get-pip.py.1 -rw-r--r--. 1 root root 2266947 Aug 27 02:04 get-pip.py.2 drwxr-xr-x. 3 root root 23 Sep 14 11:36 include drwxr-xr-x. 13 root root 4096 Sep 14 18:56 label-studio-1.13.1 -rw-r--r--. 1 root root 283523928 Aug 26 16:04 label-studio-1.13.1.zip drwxr-xr-x. 5 root root 79 Sep 14 11:36 lib drwxr-xr-x. 3 root root 23 Sep 14 08:53 lib64 drwxr-xr-x. 2 root root 6 Apr 11 2018 libexec -rw-r--r--. 1 root root 148981743 Aug 23 00:47 Miniconda3-latest-Linux-x86_64.sh -rw-r--r--. 1 root root 130606004 Sep 14 21:27 Miniconda3-latest-Linux-x86_64.sh.1 drwxrwxr-x. 17 zhangkai zhangkai 4096 Sep 14 11:36 Python-3.8.10 -rw-r--r--. 1 root root 24720640 Sep 14 11:07 Python-3.8.10.tgz drwxrwxr-x. 17 zhangkai zhangkai 4096 Sep 14 08:08 Python-3.8.12 drwxrwxr-x. 3 zhangkai zhangkai 20 Sep 13 14:12 Python-3.8.12_bak -rw-r--r--. 1 root root 24769402 Aug 31 2021 Python-3.8.12.tgz -rw-r--r--. 1 root root 125272 Sep 13 14:07 Python-3.8.12.tgz.1 -rw-r--r--. 1 root root 163840 Sep 13 14:11 Python-3.8.12.tgz.2 drwxr-xr-x. 2 root root 6 Apr 11 2018 sbin drwxr-xr-x. 5 root root 49 Mar 28 2021 share drwxr-xr-x. 2 root root 6 Apr 11 2018 src drwxr-xr-x. 4 root root 64 Sep 14 18:46 venv -rw-r--r--. 1 root root 3705 Sep 14 21:27 wget-log (myenv) [root@localhost local]# cd label-studio-1.13.1 (myenv) [root@localhost label-studio-1.13.1]# poetry install Warning: Found deprecated key 'default' or 'secondary' in pyproject.toml configuration for source tsinghua-pypi. Please provide the key 'priority' instead. Accepted values are: 'default', 'primary', 'secondary', 'supplemental', 'explicit'. Warning: Found deprecated priority 'default' for source 'tsinghua-pypi' in pyproject.toml. You can achieve the same effect by changing the priority to 'primary' and putting the source first.
Current Python version (3.6.8) is not allowed by the project (>=3.8,<4). Please change python executable via the "env use" command. (myenv) [root@localhost label-studio-1.13.1]# python --version Python 3.8.19 (myenv) [root@localhost label-studio-1.13.1]# which python /root/miniconda3/envs/myenv/bin/python (myenv) [root@localhost label-studio-1.13.1]# poetry env info Warning: Found deprecated key 'default' or 'secondary' in pyproject.toml configuration for source tsinghua-pypi. Please provide the key 'priority' instead. Accepted values are: 'default', 'primary', 'secondary', 'supplemental', 'explicit'. Warning: Found deprecated priority 'default' for source 'tsinghua-pypi' in pyproject.toml. You can achieve the same effect by changing the priority to 'primary' and putting the source first.
Virtualenv Python: 3.6.8 Implementation: CPython Path: /root/.cache/pypoetry/virtualenvs/label-studio-D6emf7oA-py3.6 Executable: /root/.cache/pypoetry/virtualenvs/label-studio-D6emf7oA-py3.6/bin/python Valid: True
Base Platform: linux OS: posix Python: 3.6.8 Path: /usr Executable: /usr/bin/python3.6 (myenv) [root@localhost label-studio-1.13.1]# deactivate -bash: deactivate: command not found (myenv) [root@localhost label-studio-1.13.1]# deactivate -bash: deactivate: command not found (myenv) [root@localhost label-studio-1.13.1]# -bash: deactivate: command not found -bash: -bash:: command not found (myenv) [root@localhost label-studio-1.13.1]# conda deactivate (base) [root@localhost label-studio-1.13.1]# conda activate myenv (myenv) [root@localhost label-studio-1.13.1]# poetry env use /root/miniconda3/envs/myenv/bin/python Warning: Found deprecated key 'default' or 'secondary' in pyproject.toml configuration for source tsinghua-pypi. Please provide the key 'priority' instead. Accepted values are: 'default', 'primary', 'secondary', 'supplemental', 'explicit'. Warning: Found deprecated priority 'default' for source 'tsinghua-pypi' in pyproject.toml. You can achieve the same effect by changing the priority to 'primary' and putting the source first. Creating virtualenv label-studio-D6emf7oA-py3.8 in /root/.cache/pypoetry/virtualenvs Using virtualenv: /root/.cache/pypoetry/virtualenvs/label-studio-D6emf7oA-py3.8 (myenv) [root@localhost label-studio-1.13.1]# poetry install Warning: Found deprecated key 'default' or 'secondary' in pyproject.toml configuration for source tsinghua-pypi. Please provide the key 'priority' instead. Accepted values are: 'default', 'primary', 'secondary', 'supplemental', 'explicit'. Warning: Found deprecated priority 'default' for source 'tsinghua-pypi' in pyproject.toml. You can achieve the same effect by changing the priority to 'primary' and putting the source first. Updating dependencies Resolving dependencies... (66.4s)^C (myenv) [root@localhost label-studio-1.13.1]# poetry --version Poetry (version 1.8.3) (myenv) [root@localhost label-studio-1.13.1]# ` have already update my poetry to the version 1.8.3 ,but i still got super slow Resolving dependencies....what can i do now?pls
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Description
[root@localhost label-studio-1.13.1]# poetry install Updating dependencies Resolving dependencies... (4839.8s)
Workarounds
pip install poetry poetry install then
Updating dependencies Resolving dependencies... (4839.8s)
too slow how can i faster that
Poetry Installation Method
pip
Operating System
CentOS Linux release 7.9.2009 (Core)
Poetry Version
[root@localhost label-studio-1.13.1]# poetry --version Poetry version 1.1.15
Poetry Configuration
Python Sysconfig
Example pyproject.toml
Poetry Runtime Logs