Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Empty build error not correctly parsed #2337

Closed
1 task
sanmai-NL opened this issue Oct 26, 2023 · 1 comment · Fixed by #2346
Closed
1 task

Empty build error not correctly parsed #2337

sanmai-NL opened this issue Oct 26, 2023 · 1 comment · Fixed by #2346
Labels
🐛 bug Something isn't working 💝 good first issue Good for newcomers

Comments

@sanmai-NL
Copy link
Contributor

  • I have searched the issue tracker and believe that this is not a duplicate.

Make sure you run commands with -v flag before pasting the output.

Steps to reproduce

+ pdm install --fail-fast --no-editable --no-isolation --no-lock --production --verbose
Lock file does not exist
STATUS: Resolving dependencies
pdm.termui: ======== Start resolving requirements ========
pdm.termui:   mysql-connector-python>=8.2.0
pdm.termui:   opencv-python>=4.8.1.78
pdm.termui:   python-dotenv>=1.0.0
pdm.termui:   supervision>=0.16.0
pdm.termui:   ultralytics>=8.0.201
pdm.termui:   python>=3.11,<3.12
pdm.termui:   Adding requirement mysql-connector-python>=8.2.0
unearth.collector: Failed to collect links from https://download.pytorch.org/whl/cpu/mysql-connector-python/: Client Error(403): Forbidden
pdm.termui:   Adding requirement opencv-python>=4.8.1.78
unearth.collector: Failed to collect links from https://download.pytorch.org/whl/cpu/opencv-python/: Client Error(403): Forbidden
pdm.termui:   Adding requirement python-dotenv>=1.0.0
unearth.collector: Failed to collect links from https://download.pytorch.org/whl/cpu/python-dotenv/: Client Error(403): Forbidden
pdm.termui:   Adding requirement supervision>=0.16.0
unearth.collector: Failed to collect links from https://download.pytorch.org/whl/cpu/supervision/: Client Error(403): Forbidden
pdm.termui:   Adding requirement ultralytics>=8.0.201
unearth.collector: Failed to collect links from https://download.pytorch.org/whl/cpu/ultralytics/: Client Error(403): Forbidden
pdm.termui:   Adding requirement python>=3.11,<3.12
pdm.termui: ======== Starting round 0 ========
unearth.preparer: Downloading <Link https://files.pythonhosted.org/packages/44/2f/62ea1c8b593f4e093cc1a7768f0d46112107e790c3e478532329e434f00b/python_dotenv-1.0.0-py3-none-any.whl (from https://pypi.org/simple/python-dotenv/)> (19 kB)
STATUS: Resolving: new pin python>=3.11,<3.12
pdm.termui: Pinning: python None
pdm.termui: ======== Ending round 0 ========
pdm.termui: ======== Starting round 1 ========
pdm.termui:   Adding requirement protobuf<=4.21.12,>=4.21.1(from mysql-connector-python 8.2.0)
unearth.collector: Failed to collect links from https://download.pytorch.org/whl/cpu/protobuf/: Client Error(403): Forbidden
STATUS: Resolving: new pin mysql-connector-python 8.2.0
pdm.termui: Pinning: mysql-connector-python 8.2.0
pdm.termui: ======== Ending round 1 ========
pdm.termui: ======== Starting round 2 ========
unearth.preparer: Downloading <Link https://files.pythonhosted.org/packages/e7/a2/3273c05fc5d959fa90de6453ebd6d45c6d4fab3ec212d631625ea5780921/protobuf-4.21.12-cp37-abi3-manylinux2014_x86_64.whl (from https://pypi.org/simple/protobuf/)> (409 kB)
pdm.termui:   Adding requirement numpy>=1.21.2; python_version >= "3.10"(from opencv-python 4.8.1.78)
pdm.termui:   Adding requirement numpy>=1.21.4; python_version >= "3.10" and platform_system == "Darwin"(from opencv-python 4.8.1.78)
pdm.termui:   Adding requirement numpy>=1.23.5; python_version >= "3.11"(from opencv-python 4.8.1.78)
pdm.termui:   Adding requirement numpy>=1.19.3; python_version >= "3.6" and platform_system == "Linux" and platform_machine == "aarch64"(from opencv-python 4.8.1.78)
pdm.termui:   Adding requirement numpy>=1.17.0; python_version >= "3.7"(from opencv-python 4.8.1.78)
pdm.termui:   Adding requirement numpy>=1.17.3; python_version >= "3.8"(from opencv-python 4.8.1.78)
pdm.termui:   Adding requirement numpy>=1.19.3; python_version >= "3.9"(from opencv-python 4.8.1.78)
STATUS: Resolving: new pin opencv-python 4.8.1.78
pdm.termui: Pinning: opencv-python 4.8.1.78
pdm.termui: ======== Ending round 2 ========
pdm.termui: ======== Starting round 3 ========
STATUS: Resolving: new pin python-dotenv 1.0.0
pdm.termui: Pinning: python-dotenv 1.0.0
pdm.termui: ======== Ending round 3 ========
pdm.termui: ======== Starting round 4 ========
pdm.termui:   Adding requirement matplotlib<4.0.0,>=3.7.1(from supervision 0.16.0)
unearth.collector: Failed to collect links from https://download.pytorch.org/whl/cpu/matplotlib/: Client Error(403): Forbidden
pdm.termui:   Adding requirement numpy<2.0.0,>=1.20.0(from supervision 0.16.0)
pdm.termui:   Adding requirement opencv-python-headless<5.0.0.0,>=4.8.0.74(from supervision 0.16.0)
unearth.collector: Failed to collect links from https://download.pytorch.org/whl/cpu/opencv-python-headless/: Client Error(403): Forbidden
pdm.termui:   Adding requirement pillow<11.0,>=9.4(from supervision 0.16.0)
pdm.termui:   Adding requirement pyyaml<7.0,>=6.0(from supervision 0.16.0)
unearth.collector: Failed to collect links from https://download.pytorch.org/whl/cpu/pyyaml/: Client Error(403): Forbidden
pdm.termui:   Adding requirement scipy<2.0.0,>=1.9.0(from supervision 0.16.0)
unearth.collector: Failed to collect links from https://download.pytorch.org/whl/cpu/scipy/: Client Error(403): Forbidden
STATUS: Resolving: new pin supervision 0.16.0
pdm.termui: Pinning: supervision 0.16.0
pdm.termui: ======== Ending round 4 ========
pdm.termui: ======== Starting round 5 ========
pdm.termui:   Adding requirement matplotlib>=3.3.0(from ultralytics 8.0.201)
unearth.collector: Failed to collect links from https://download.pytorch.org/whl/cpu/matplotlib/: Client Error(403): Forbidden
pdm.termui:   Adding requirement numpy>=1.22.2(from ultralytics 8.0.201)
pdm.termui:   Adding requirement opencv-python>=4.6.0(from ultralytics 8.0.201)
unearth.collector: Failed to collect links from https://download.pytorch.org/whl/cpu/opencv-python/: Client Error(403): Forbidden
pdm.termui:   Adding requirement pillow>=7.1.2(from ultralytics 8.0.201)
pdm.termui:   Adding requirement pyyaml>=5.3.1(from ultralytics 8.0.201)
unearth.collector: Failed to collect links from https://download.pytorch.org/whl/cpu/pyyaml/: Client Error(403): Forbidden
pdm.termui:   Adding requirement requests>=2.23.0(from ultralytics 8.0.201)
pdm.termui:   Adding requirement scipy>=1.4.1(from ultralytics 8.0.201)
unearth.collector: Failed to collect links from https://download.pytorch.org/whl/cpu/scipy/: Client Error(403): Forbidden
pdm.termui:   Adding requirement torch>=1.8.0(from ultralytics 8.0.201)
pdm.termui:   Adding requirement torchvision>=0.9.0(from ultralytics 8.0.201)
pdm.termui:   Adding requirement tqdm>=4.64.0(from ultralytics 8.0.201)
pdm.termui:   Adding requirement pandas>=1.1.4(from ultralytics 8.0.201)
unearth.collector: Failed to collect links from https://download.pytorch.org/whl/cpu/pandas/: Client Error(403): Forbidden
pdm.termui:   Adding requirement seaborn>=0.11.0(from ultralytics 8.0.201)
unearth.collector: Failed to collect links from https://download.pytorch.org/whl/cpu/seaborn/: Client Error(403): Forbidden
pdm.termui:   Adding requirement psutil(from ultralytics 8.0.201)
unearth.collector: Failed to collect links from https://download.pytorch.org/whl/cpu/psutil/: Client Error(403): Forbidden
pdm.termui:   Adding requirement py-cpuinfo(from ultralytics 8.0.201)
unearth.collector: Failed to collect links from https://download.pytorch.org/whl/cpu/py-cpuinfo/: Client Error(403): Forbidden
pdm.termui:   Adding requirement thop>=0.1.1(from ultralytics 8.0.201)
unearth.collector: Failed to collect links from https://download.pytorch.org/whl/cpu/thop/: Client Error(403): Forbidden
STATUS: Resolving: new pin ultralytics 8.0.201
pdm.termui: Pinning: ultralytics 8.0.201
pdm.termui: ======== Ending round 5 ========
pdm.termui: ======== Starting round 6 ========
unearth.preparer: Downloading <Link https://download.pytorch.org/whl/cpu/torch-2.1.0%2Bcpu-cp311-cp311-linux_x86_64.whl (from https://download.pytorch.org/whl/cpu/torch/)> (184.9 MB)
unearth.preparer: Downloading <Link https://download.pytorch.org/whl/cpu/torchvision-0.16.0%2Bcpu-cp311-cp311-linux_x86_64.whl (from https://download.pytorch.org/whl/cpu/torchvision/)> (1.6 MB)
unearth.preparer: Downloading <Link https://files.pythonhosted.org/packages/e0/a9/023730ba63db1e494a271cb018dcd361bd2c917ba7004c3e49d5daf795a2/py_cpuinfo-9.0.0-py3-none-any.whl (from https://pypi.org/simple/py-cpuinfo/)> (22 kB)
unearth.preparer: Downloading <Link https://files.pythonhosted.org/packages/bb/0f/72beeab4ff5221dc47127c80f8834b4bcd0cb36f6ba91c0b1d04a1233403/thop-0.1.1.post2209072238-py3-none-any.whl (from https://pypi.org/simple/thop/)> (15 kB)
STATUS: Resolving: new pin numpy 1.26.1
pdm.termui: Pinning: numpy 1.26.1
pdm.termui: ======== Ending round 6 ========
pdm.termui: ======== Starting round 7 ========
pdm.termui:   Adding requirement contourpy>=1.0.1(from matplotlib 3.8.0)
unearth.collector: Failed to collect links from https://download.pytorch.org/whl/cpu/contourpy/: Client Error(403): Forbidden
pdm.termui:   Adding requirement cycler>=0.10(from matplotlib 3.8.0)
unearth.collector: Failed to collect links from https://download.pytorch.org/whl/cpu/cycler/: Client Error(403): Forbidden
pdm.termui:   Adding requirement fonttools>=4.22.0(from matplotlib 3.8.0)
unearth.collector: Failed to collect links from https://download.pytorch.org/whl/cpu/fonttools/: Client Error(403): Forbidden
pdm.termui:   Adding requirement kiwisolver>=1.0.1(from matplotlib 3.8.0)
unearth.collector: Failed to collect links from https://download.pytorch.org/whl/cpu/kiwisolver/: Client Error(403): Forbidden
pdm.termui:   Adding requirement numpy<2,>=1.21(from matplotlib 3.8.0)
pdm.termui:   Adding requirement packaging>=20.0(from matplotlib 3.8.0)
pdm.termui:   Adding requirement pillow>=6.2.0(from matplotlib 3.8.0)
pdm.termui:   Adding requirement pyparsing>=2.3.1(from matplotlib 3.8.0)
unearth.collector: Failed to collect links from https://download.pytorch.org/whl/cpu/pyparsing/: Client Error(403): Forbidden
pdm.termui:   Adding requirement python-dateutil>=2.7(from matplotlib 3.8.0)
unearth.collector: Failed to collect links from https://download.pytorch.org/whl/cpu/python-dateutil/: Client Error(403): Forbidden
STATUS: Resolving: new pin matplotlib 3.8.0
pdm.termui: Pinning: matplotlib 3.8.0
pdm.termui: ======== Ending round 7 ========
pdm.termui: ======== Starting round 8 ========
unearth.preparer: Downloading <Link https://files.pythonhosted.org/packages/36/7a/87837f39d0296e723bb9b62bbb257d0355c7f6128853c78955f57342a56d/python_dateutil-2.8.2-py2.py3-none-any.whl (from https://pypi.org/simple/python-dateutil/)> (247 kB)
STATUS: Resolving: new pin pillow 10.1.0
pdm.termui: Pinning: pillow 10.1.0
pdm.termui: ======== Ending round 8 ========
pdm.termui: ======== Starting round 9 ========
STATUS: Resolving: new pin pyyaml 6.0.1
pdm.termui: Pinning: pyyaml 6.0.1
pdm.termui: ======== Ending round 9 ========
pdm.termui: ======== Starting round 10 ========
pdm.termui:   Adding requirement numpy<1.28.0,>=1.21.6(from scipy 1.11.3)
STATUS: Resolving: new pin scipy 1.11.3
pdm.termui: Pinning: scipy 1.11.3
pdm.termui: ======== Ending round 10 ========
pdm.termui: ======== Starting round 11 ========
pdm.termui:   Adding requirement numpy>=1.21.2; python_version >= "3.10"(from opencv-python-headless 4.8.1.78)
pdm.termui:   Adding requirement numpy>=1.21.4; python_version >= "3.10" and platform_system == "Darwin"(from opencv-python-headless 4.8.1.78)
pdm.termui:   Adding requirement numpy>=1.23.5; python_version >= "3.11"(from opencv-python-headless 4.8.1.78)
pdm.termui:   Adding requirement numpy>=1.19.3; python_version >= "3.6" and platform_system == "Linux" and platform_machine == "aarch64"(from opencv-python-headless 4.8.1.78)
pdm.termui:   Adding requirement numpy>=1.17.0; python_version >= "3.7"(from opencv-python-headless 4.8.1.78)
pdm.termui:   Adding requirement numpy>=1.17.3; python_version >= "3.8"(from opencv-python-headless 4.8.1.78)
pdm.termui:   Adding requirement numpy>=1.19.3; python_version >= "3.9"(from opencv-python-headless 4.8.1.78)
STATUS: Resolving: new pin opencv-python-headless 4.8.1.78
pdm.termui: Pinning: opencv-python-headless 4.8.1.78
pdm.termui: ======== Ending round 11 ========
pdm.termui: ======== Starting round 12 ========
STATUS: Resolving: new pin protobuf 4.21.12
pdm.termui: Pinning: protobuf 4.21.12
pdm.termui: ======== Ending round 12 ========
pdm.termui: ======== Starting round 13 ========
pdm.termui:   Adding requirement numpy>=1.23.2; python_version == "3.11"(from pandas 2.1.1)
pdm.termui:   Adding requirement python-dateutil>=2.8.2(from pandas 2.1.1)
unearth.collector: Failed to collect links from https://download.pytorch.org/whl/cpu/python-dateutil/: Client Error(403): Forbidden
pdm.termui:   Adding requirement pytz>=2020.1(from pandas 2.1.1)
unearth.collector: Failed to collect links from https://download.pytorch.org/whl/cpu/pytz/: Client Error(403): Forbidden
pdm.termui:   Adding requirement tzdata>=2022.1(from pandas 2.1.1)
unearth.collector: Failed to collect links from https://download.pytorch.org/whl/cpu/tzdata/: Client Error(403): Forbidden
STATUS: Resolving: new pin pandas 2.1.1
pdm.termui: Pinning: pandas 2.1.1
pdm.termui: ======== Ending round 13 ========
pdm.termui: ======== Starting round 14 ========
unearth.preparer: Downloading <Link https://files.pythonhosted.org/packages/d5/fb/a79efcab32b8a1f1ddca7f35109a50e4a80d42ac1c9187ab46522b2407d7/tzdata-2023.3-py2.py3-none-any.whl (from https://pypi.org/simple/tzdata/)> (341 kB)
pdm.termui:   Adding requirement charset-normalizer<4,>=2(from requests 2.31.0)
pdm.termui:   Adding requirement idna<4,>=2.5(from requests 2.31.0)
pdm.termui:   Adding requirement urllib3<3,>=1.21.1(from requests 2.31.0)
pdm.termui:   Adding requirement certifi>=2017.4.17(from requests 2.31.0)
STATUS: Resolving: new pin requests 2.31.0
pdm.termui: Pinning: requests 2.31.0
pdm.termui: ======== Ending round 14 ========
pdm.termui: ======== Starting round 15 ========
unearth.preparer: Downloading <Link https://files.pythonhosted.org/packages/fc/34/3030de6f1370931b9dbb4dad48f6ab1015ab1d32447850b9fc94e60097be/idna-3.4-py3-none-any.whl (from https://pypi.org/simple/idna/)> (61 kB)
pdm.termui:   Adding requirement numpy!=1.24.0,>=1.20(from seaborn 0.13.0)
pdm.termui:   Adding requirement pandas>=1.2(from seaborn 0.13.0)
unearth.collector: Failed to collect links from https://download.pytorch.org/whl/cpu/pandas/: Client Error(403): Forbidden
pdm.termui:   Adding requirement matplotlib!=3.6.1,>=3.3(from seaborn 0.13.0)
unearth.collector: Failed to collect links from https://download.pytorch.org/whl/cpu/matplotlib/: Client Error(403): Forbidden
STATUS: Resolving: new pin seaborn 0.13.0
pdm.termui: Pinning: seaborn 0.13.0
pdm.termui: ======== Ending round 15 ========
pdm.termui: ======== Starting round 16 ========
pdm.termui:   Adding requirement torch(from thop 0.1.1.post2209072238)
STATUS: Resolving: new pin thop 0.1.1.post2209072238
pdm.termui: Pinning: thop 0.1.1.post2209072238
pdm.termui: ======== Ending round 16 ========
pdm.termui: ======== Starting round 17 ========
pdm.termui:   Adding requirement filelock(from torch 2.1.0+cpu)
pdm.termui:   Adding requirement typing-extensions(from torch 2.1.0+cpu)
pdm.termui:   Adding requirement sympy(from torch 2.1.0+cpu)
pdm.termui:   Adding requirement networkx(from torch 2.1.0+cpu)
pdm.termui:   Adding requirement jinja2(from torch 2.1.0+cpu)
pdm.termui:   Adding requirement fsspec(from torch 2.1.0+cpu)
STATUS: Resolving: new pin torch 2.1.0+cpu
pdm.termui: Pinning: torch 2.1.0+cpu
pdm.termui: ======== Ending round 17 ========
pdm.termui: ======== Starting round 18 ========
unearth.preparer: Downloading <Link https://files.pythonhosted.org/packages/d2/05/e6600db80270777c4a64238a98d442f0fd07cc8915be2a1c16da7f2b9e74/sympy-1.12-py3-none-any.whl (from https://pypi.org/simple/sympy/)> (5.7 MB)
unearth.preparer: Downloading <Link https://files.pythonhosted.org/packages/bc/c3/f068337a370801f372f2f8f6bad74a5c140f6fda3d9de154052708dd3c65/Jinja2-3.1.2-py3-none-any.whl (from https://pypi.org/simple/jinja2/)> (133 kB)
pdm.termui:   Adding requirement numpy(from torchvision 0.16.0+cpu)
pdm.termui:   Adding requirement requests(from torchvision 0.16.0+cpu)
pdm.termui:   Adding requirement torch==2.1.0(from torchvision 0.16.0+cpu)
pdm.termui:   Adding requirement pillow!=8.3.*,>=5.3.0(from torchvision 0.16.0+cpu)
STATUS: Resolving: new pin torchvision 0.16.0+cpu
pdm.termui: Pinning: torchvision 0.16.0+cpu
pdm.termui: ======== Ending round 18 ========
pdm.termui: ======== Starting round 19 ========
pdm.termui:   Adding requirement colorama; platform_system == "Windows"(from tqdm 4.66.1)
STATUS: Resolving: new pin tqdm 4.66.1
pdm.termui: Pinning: tqdm 4.66.1
pdm.termui: ======== Ending round 19 ========
pdm.termui: ======== Starting round 20 ========
unearth.preparer: Downloading <Link https://files.pythonhosted.org/packages/d1/d6/3965ed04c63042e047cb6a3e6ed1a63a35087b6a609aa3a15ed8ac56c221/colorama-0.4.6-py2.py3-none-any.whl (from https://pypi.org/simple/colorama/)> (25 kB)
STATUS: Resolving: new pin psutil 5.9.6
pdm.termui: Pinning: psutil 5.9.6
pdm.termui: ======== Ending round 20 ========
pdm.termui: ======== Starting round 21 ========
STATUS: Resolving: new pin py-cpuinfo 9.0.0
pdm.termui: Pinning: py-cpuinfo 9.0.0
pdm.termui: ======== Ending round 21 ========
pdm.termui: ======== Starting round 22 ========
STATUS: Resolving: new pin charset-normalizer 3.3.1
pdm.termui: Pinning: charset-normalizer 3.3.1
pdm.termui: ======== Ending round 22 ========
pdm.termui: ======== Starting round 23 ========
STATUS: Resolving: new pin idna 3.4
pdm.termui: Pinning: idna 3.4
pdm.termui: ======== Ending round 23 ========
pdm.termui: ======== Starting round 24 ========
pdm.termui:   Adding requirement six>=1.5(from python-dateutil 2.8.2)
unearth.collector: Failed to collect links from https://download.pytorch.org/whl/cpu/six/: Client Error(403): Forbidden
STATUS: Resolving: new pin python-dateutil 2.8.2
pdm.termui: Pinning: python-dateutil 2.8.2
pdm.termui: ======== Ending round 24 ========
pdm.termui: ======== Starting round 25 ========
unearth.preparer: Downloading <Link https://files.pythonhosted.org/packages/d9/5a/e7c31adbe875f2abbb91bd84cf2dc52d792b5a01506781dbcf25c91daf11/six-1.16.0-py2.py3-none-any.whl (from https://pypi.org/simple/six/)> (11 kB)
STATUS: Resolving: new pin urllib3 2.0.7
pdm.termui: Pinning: urllib3 2.0.7
pdm.termui: ======== Ending round 25 ========
pdm.termui: ======== Starting round 26 ========
STATUS: Resolving: new pin certifi 2023.7.22
pdm.termui: Pinning: certifi 2023.7.22
pdm.termui: ======== Ending round 26 ========
pdm.termui: ======== Starting round 27 ========
pdm.termui:   Adding requirement numpy<2.0,>=1.16; python_version <= "3.11"(from contourpy 1.1.1)
STATUS: Resolving: new pin contourpy 1.1.1
pdm.termui: Pinning: contourpy 1.1.1
pdm.termui: ======== Ending round 27 ========
pdm.termui: ======== Starting round 28 ========
STATUS: Resolving: new pin cycler 0.12.1
pdm.termui: Pinning: cycler 0.12.1
pdm.termui: ======== Ending round 28 ========
pdm.termui: ======== Starting round 29 ========
STATUS: Resolving: new pin fonttools 4.43.1
pdm.termui: Pinning: fonttools 4.43.1
pdm.termui: ======== Ending round 29 ========
pdm.termui: ======== Starting round 30 ========
STATUS: Resolving: new pin kiwisolver 1.4.5
pdm.termui: Pinning: kiwisolver 1.4.5
pdm.termui: ======== Ending round 30 ========
pdm.termui: ======== Starting round 31 ========
STATUS: Resolving: new pin packaging 23.2
pdm.termui: Pinning: packaging 23.2
pdm.termui: ======== Ending round 31 ========
pdm.termui: ======== Starting round 32 ========
STATUS: Resolving: new pin pyparsing 3.1.1
pdm.termui: Pinning: pyparsing 3.1.1
pdm.termui: ======== Ending round 32 ========
pdm.termui: ======== Starting round 33 ========
STATUS: Resolving: new pin pytz 2023.3.post1
pdm.termui: Pinning: pytz 2023.3.post1
pdm.termui: ======== Ending round 33 ========
pdm.termui: ======== Starting round 34 ========
STATUS: Resolving: new pin tzdata 2023.3
pdm.termui: Pinning: tzdata 2023.3
pdm.termui: ======== Ending round 34 ========
pdm.termui: ======== Starting round 35 ========
STATUS: Resolving: new pin colorama 0.4.6
pdm.termui: Pinning: colorama 0.4.6
pdm.termui: ======== Ending round 35 ========
pdm.termui: ======== Starting round 36 ========
STATUS: Resolving: new pin filelock 3.12.4
pdm.termui: Pinning: filelock 3.12.4
pdm.termui: ======== Ending round 36 ========
pdm.termui: ======== Starting round 37 ========
STATUS: Resolving: new pin fsspec 2023.10.0
pdm.termui: Pinning: fsspec 2023.10.0
pdm.termui: ======== Ending round 37 ========
pdm.termui: ======== Starting round 38 ========
pdm.termui:   Adding requirement MarkupSafe>=2.0(from jinja2 3.1.2)
STATUS: Resolving: new pin jinja2 3.1.2
pdm.termui: Pinning: jinja2 3.1.2
pdm.termui: ======== Ending round 38 ========
pdm.termui: ======== Starting round 39 ========
STATUS: Resolving: new pin networkx 3.2
pdm.termui: Pinning: networkx 3.2
pdm.termui: ======== Ending round 39 ========
pdm.termui: ======== Starting round 40 ========
pdm.termui:   Adding requirement mpmath>=0.19(from sympy 1.12)
STATUS: Resolving: new pin sympy 1.12
pdm.termui: Pinning: sympy 1.12
pdm.termui: ======== Ending round 40 ========
pdm.termui: ======== Starting round 41 ========
unearth.preparer: Downloading <Link https://files.pythonhosted.org/packages/43/e3/7d92a15f894aa0c9c4b49b8ee9ac9850d6e63b03c9c32c0367a13ae62209/mpmath-1.3.0-py3-none-any.whl (from https://pypi.org/simple/mpmath/)> (536 kB)
STATUS: Resolving: new pin typing-extensions 4.8.0
pdm.termui: Pinning: typing-extensions 4.8.0
pdm.termui: ======== Ending round 41 ========
pdm.termui: ======== Starting round 42 ========
STATUS: Resolving: new pin MarkupSafe 2.1.3
pdm.termui: Pinning: MarkupSafe 2.1.3
pdm.termui: ======== Ending round 42 ========
pdm.termui: ======== Starting round 43 ========
STATUS: Resolving: new pin mpmath 1.3.0
pdm.termui: Pinning: mpmath 1.3.0
pdm.termui: ======== Ending round 43 ========
pdm.termui: ======== Starting round 44 ========
STATUS: Resolving: new pin six 1.16.0
pdm.termui: Pinning: six 1.16.0
pdm.termui: ======== Ending round 44 ========
pdm.termui: ======== Starting round 45 ========
pdm.termui: ======== Resolution Result ========
pdm.termui: Stable pins:
pdm.termui:                   python None
pdm.termui:   mysql-connector-python 8.2.0
pdm.termui:            opencv-python 4.8.1.78
pdm.termui:            python-dotenv 1.0.0
pdm.termui:              supervision 0.16.0
pdm.termui:              ultralytics 8.0.201
pdm.termui:                    numpy 1.26.1
pdm.termui:               matplotlib 3.8.0
pdm.termui:                   pillow 10.1.0
pdm.termui:                   pyyaml 6.0.1
pdm.termui:                    scipy 1.11.3
pdm.termui:   opencv-python-headless 4.8.1.78
pdm.termui:                 protobuf 4.21.12
pdm.termui:                   pandas 2.1.1
pdm.termui:                 requests 2.31.0
pdm.termui:                  seaborn 0.13.0
pdm.termui:                     thop 0.1.1.post2209072238
pdm.termui:                    torch 2.1.0+cpu
pdm.termui:              torchvision 0.16.0+cpu
pdm.termui:                     tqdm 4.66.1
pdm.termui:                   psutil 5.9.6
pdm.termui:               py-cpuinfo 9.0.0
pdm.termui:       charset-normalizer 3.3.1
pdm.termui:                     idna 3.4
pdm.termui:          python-dateutil 2.8.2
pdm.termui:                  urllib3 2.0.7
pdm.termui:                  certifi 2023.7.22
pdm.termui:                contourpy 1.1.1
pdm.termui:                   cycler 0.12.1
pdm.termui:                fonttools 4.43.1
pdm.termui:               kiwisolver 1.4.5
pdm.termui:                packaging 23.2
pdm.termui:                pyparsing 3.1.1
pdm.termui:                     pytz 2023.3.post1
pdm.termui:                   tzdata 2023.3
pdm.termui:                 colorama 0.4.6
pdm.termui:                 filelock 3.12.4
pdm.termui:                   fsspec 2023.10.0
pdm.termui:                   jinja2 3.1.2
pdm.termui:                 networkx 3.2
pdm.termui:                    sympy 1.12
pdm.termui:        typing-extensions 4.8.0
pdm.termui:               markupsafe 2.1.3
pdm.termui:                   mpmath 1.3.0
pdm.termui:                      six 1.16.0
STATUS: Fetching hashes for resolved packages...
unearth.collector: Failed to collect links from https://download.pytorch.org/whl/cpu/python-dotenv/: Client Error(403): Forbidden
pdm.termui: Fetching hashes for [email protected]
unearth.collector: Failed to collect links from https://download.pytorch.org/whl/cpu/supervision/: Client Error(403): Forbidden
pdm.termui: Fetching hashes for [email protected]
unearth.collector: Failed to collect links from https://download.pytorch.org/whl/cpu/pyyaml/: Client Error(403): Forbidden
pdm.termui: Fetching hashes for [email protected]
unearth.collector: Failed to collect links from https://download.pytorch.org/whl/cpu/ultralytics/: Client Error(403): Forbidden
unearth.collector: Failed to collect links from https://download.pytorch.org/whl/cpu/mysql-connector-python/: Client Error(403): Forbidden
pdm.termui: Fetching hashes for [email protected]
pdm.termui: Fetching hashes for [email protected]
pdm.termui: Fetching hashes for [email protected]
unearth.collector: Failed to collect links from https://download.pytorch.org/whl/cpu/seaborn/: Client Error(403): Forbidden
pdm.termui: Fetching hashes for [email protected]
unearth.collector: Failed to collect links from https://download.pytorch.org/whl/cpu/thop/: Client Error(403): Forbidden
pdm.termui: Fetching hashes for [email protected]
unearth.collector: Failed to collect links from https://download.pytorch.org/whl/cpu/opencv-python/: Client Error(403): Forbidden
unearth.collector: Failed to collect links from https://download.pytorch.org/whl/cpu/scipy/: Client Error(403): Forbidden
unearth.collector: Failed to collect links from https://download.pytorch.org/whl/cpu/opencv-python-headless/: Client Error(403): Forbidden
pdm.termui: Fetching hashes for [email protected]
pdm.termui: Fetching hashes for [email protected]
pdm.termui: Fetching hashes for [email protected]
unearth.collector: Failed to collect links from https://download.pytorch.org/whl/cpu/py-cpuinfo/: Client Error(403): Forbidden
pdm.termui: Fetching hashes for [email protected]
pdm.termui: Fetching hashes for [email protected]+cpu
pdm.termui: Fetching hashes for [email protected]
pdm.termui: Fetching hashes for [email protected]+cpu
pdm.termui: Fetching hashes for [email protected]
unearth.collector: Failed to collect links from https://download.pytorch.org/whl/cpu/python-dateutil/: Client Error(403): Forbidden
pdm.termui: Fetching hashes for [email protected]
unearth.collector: Failed to collect links from https://download.pytorch.org/whl/cpu/matplotlib/: Client Error(403): Forbidden
pdm.termui: Fetching hashes for [email protected]
pdm.termui: Fetching hashes for [email protected]
pdm.termui: Fetching hashes for [email protected]
unearth.collector: Failed to collect links from https://download.pytorch.org/whl/cpu/cycler/: Client Error(403): Forbidden
pdm.termui: Fetching hashes for [email protected]
pdm.termui: Fetching hashes for [email protected]
pdm.termui: Fetching hashes for [email protected]
pdm.termui: Fetching hashes for [email protected]
unearth.collector: Failed to collect links from https://download.pytorch.org/whl/cpu/kiwisolver/: Client Error(403): Forbidden
unearth.collector: Failed to collect links from https://download.pytorch.org/whl/cpu/pandas/: Client Error(403): Forbidden
unearth.collector: Failed to collect links from https://download.pytorch.org/whl/cpu/pyparsing/: Client Error(403): Forbidden
pdm.termui: Fetching hashes for [email protected]
unearth.collector: Failed to collect links from https://download.pytorch.org/whl/cpu/tzdata/: Client Error(403): Forbidden
pdm.termui: Fetching hashes for [email protected]
unearth.collector: Failed to collect links from https://download.pytorch.org/whl/cpu/protobuf/: Client Error(403): Forbidden
unearth.collector: Failed to collect links from https://download.pytorch.org/whl/cpu/fonttools/: Client Error(403): Forbidden
unearth.collector: Failed to collect links from https://download.pytorch.org/whl/cpu/psutil/: Client Error(403): Forbidden
unearth.collector: Failed to collect links from https://download.pytorch.org/whl/cpu/contourpy/: Client Error(403): Forbidden
unearth.collector: Failed to collect links from https://download.pytorch.org/whl/cpu/pytz/: Client Error(403): Forbidden
pdm.termui: Fetching hashes for [email protected]
pdm.termui: Fetching hashes for [email protected]
pdm.termui: Fetching hashes for [email protected]
pdm.termui: Fetching hashes for [email protected]
pdm.termui: Fetching hashes for [email protected]
pdm.termui: Fetching hashes for [email protected]
pdm.termui: Fetching hashes for [email protected]
pdm.termui: Fetching hashes for [email protected]
pdm.termui: Fetching hashes for [email protected]
pdm.termui: Fetching hashes for [email protected]
pdm.termui: Fetching hashes for [email protected]
pdm.termui: Fetching hashes for [email protected]
pdm.termui: Fetching hashes for [email protected]
pdm.termui: Fetching hashes for [email protected]
pdm.termui: Fetching hashes for [email protected]
pdm.termui: Fetching hashes for [email protected]
pdm.termui: Fetching hashes for [email protected]
unearth.collector: Failed to collect links from https://download.pytorch.org/whl/cpu/six/: Client Error(403): Forbidden
pdm.termui: Fetching hashes for [email protected]
STATUS: Resolving packages from lockfile...
STATUS: Fetching hashes for resolved packages...
Synchronizing working set with resolved packages: 10 to add, 0 to update, 0 to remove

unearth.preparer: Downloading <Link https://files.pythonhosted.org/packages/f6/eb/5585c96636bbb2755865c31d83a19dd220ef88e716df4659dacb86e009cc/networkx-3.2-py3-none-any.whl (from https://pypi.org/simple/networkx/)> (1.6 MB)
unearth.collector: Failed to collect links from https://download.pytorch.org/whl/cpu/python-dotenv/: Client Error(403): Forbidden
unearth.preparer: Using cached <Link https://files.pythonhosted.org/packages/44/2f/62ea1c8b593f4e093cc1a7768f0d46112107e790c3e478532329e434f00b/python_dotenv-1.0.0-py3-none-any.whl (from https://pypi.org/simple/python-dotenv/)>
  ✔ Install python-dotenv 1.0.0 successful
unearth.collector: Failed to collect links from https://download.pytorch.org/whl/cpu/mysql-connector-python/: Client Error(403): Forbidden
unearth.preparer: Downloading <Link https://files.pythonhosted.org/packages/c9/6a/df8325eb997944357f5f24e55900f24c4f82ab980ac7f0b013ef87c996e7/mysql_connector_python-8.2.0-cp311-cp311-manylinux_2_17_x86_64.whl (from https://pypi.org/simple/mysql-connector-python/)> (31.6 MB)
unearth.collector: Failed to collect links from https://download.pytorch.org/whl/cpu/opencv-python-headless/: Client Error(403): Forbidden
unearth.preparer: Downloading <Link https://files.pythonhosted.org/packages/9d/d7/e2aaf344254292d2046f9984b54212e4e7d69a57d30ae15e7294840710f6/opencv_python_headless-4.8.1.78-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (from https://pypi.org/simple/opencv-python-headless/)> (49.1 MB)
  ✔ Install networkx 3.2 successful
unearth.collector: Failed to collect links from https://download.pytorch.org/whl/cpu/supervision/: Client Error(403): Forbidden
unearth.collector: Failed to collect links from https://download.pytorch.org/whl/cpu/scipy/: Client Error(403): Forbidden
unearth.preparer: Downloading <Link https://files.pythonhosted.org/packages/c0/59/6bc863f530c0ba5da4c565fd40f17b2b333c2ab28b783202937293ae494a/supervision-0.16.0-py3-none-any.whl (from https://pypi.org/simple/supervision/)> (72 kB)
unearth.preparer: Downloading <Link https://files.pythonhosted.org/packages/ef/1b/7538792254aec6850657d5b940fd05fe60582af829ffe40d6c054f065f34/scipy-1.11.3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (from https://pypi.org/simple/scipy/)> (36.4 MB)
  ✔ Install supervision 0.16.0 successful
unearth.preparer: Downloading <Link https://files.pythonhosted.org/packages/8a/08/a7e5dadc21fe193baea5f257e11b7b70cc27a89692fc9e3ed690e55cc4b6/numpy-1.26.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (from https://pypi.org/simple/numpy/)> (18.2 MB)
unearth.collector: Failed to collect links from https://download.pytorch.org/whl/cpu/protobuf/: Client Error(403): Forbidden
unearth.preparer: Downloading <Link https://files.pythonhosted.org/packages/24/21/7d397a4b7934ff4028987914ac1044d3b7d52712f30e2ac7a2ae5bc86dd0/typing_extensions-4.8.0-py3-none-any.whl (from https://pypi.org/simple/typing-extensions/)> (31 kB)
unearth.preparer: Using cached <Link https://files.pythonhosted.org/packages/e7/a2/3273c05fc5d959fa90de6453ebd6d45c6d4fab3ec212d631625ea5780921/protobuf-4.21.12-cp37-abi3-manylinux2014_x86_64.whl (from https://pypi.org/simple/protobuf/)>
  ✔ Install typing-extensions 4.8.0 successful
unearth.collector: Failed to collect links from https://download.pytorch.org/whl/cpu/ultralytics/: Client Error(403): Forbidden
  ✔ Install protobuf 4.21.12 successful
unearth.preparer: Downloading <Link https://files.pythonhosted.org/packages/c6/d8/a04d1e67031cfe8b161ba9119b81085f52636c7cb14ae9d30f25069532ad/ultralytics-8.0.201-py3-none-any.whl (from https://pypi.org/simple/ultralytics/)> (644 kB)
  ✔ Install ultralytics 8.0.201 successful
  ✔ Install numpy 1.26.1 successful
  ✔ Install mysql-connector-python 8.2.0 successful
  ✔ Install opencv-python-headless 4.8.1.78 successful
  ✔ Install scipy 1.11.3 successful
unearth.preparer: The file . is a local directory, use it directly
pdm.termui: Running PEP 517 backend to get metadata for <Link file:///opt/ai (from None)>
pdm.termui: Preparing environment(Non-isolated mode) for PEP 517 build...
pdm.termui: ======== Start resolving requirements ========
pdm.termui:   pdm-backend
pdm.termui:   python>=3.11.4,<3.11.5
pdm.termui:   Adding requirement pdm-backend
unearth.collector: Failed to collect links from https://download.pytorch.org/whl/cpu/pdm-backend/: Client Error(403): Forbidden
pdm.termui:   Adding requirement python>=3.11.4,<3.11.5
pdm.termui: ======== Starting round 0 ========
pdm.termui: Pinning: python None
pdm.termui: ======== Ending round 0 ========
pdm.termui: ======== Starting round 1 ========
pdm.termui: Pinning: pdm-backend 2.1.7
pdm.termui: ======== Ending round 1 ========
pdm.termui: ======== Starting round 2 ========
pdm.termui: ======== Resolution Result ========
pdm.termui: Stable pins:
pdm.termui:        python None
pdm.termui:   pdm-backend 2.1.7
pdm.termui: Installing [email protected]...
unearth.preparer: Downloading <Link https://files.pythonhosted.org/packages/38/d8/0a932c1172645bebcd379ea0604a5db50b0410888fa8c5fe56b0ea12d87c/pdm_backend-2.1.7-py3-none-any.whl (from https://pypi.org/simple/pdm-backend/)> (94 kB)
pdm.termui: Synchronization complete.

Traceback (most recent call last):
  File "/home/ai/.local/bin/pdm", line 8, in <module>
    sys.exit(main())
             ^^^^^^
  File "/home/ai/.local/share/pdm/venv/lib/python3.11/site-packages/pdm/core.py", line 295, in main
    return Core().main(args or sys.argv[1:])
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/ai/.local/share/pdm/venv/lib/python3.11/site-packages/pdm/core.py", line 208, in main
    raise cast(Exception, err).with_traceback(traceback) from None
  File "/home/ai/.local/share/pdm/venv/lib/python3.11/site-packages/pdm/core.py", line 203, in main
    self.handle(project, options)
  File "/home/ai/.local/share/pdm/venv/lib/python3.11/site-packages/pdm/core.py", line 157, in handle
    command.handle(project, options)
  File "/home/ai/.local/share/pdm/venv/lib/python3.11/site-packages/pdm/cli/commands/install.py", line 100, in handle
    actions.do_sync(
  File "/home/ai/.local/share/pdm/venv/lib/python3.11/site-packages/pdm/cli/actions.py", line 215, in do_sync
    synchronizer.synchronize()
  File "/home/ai/.local/share/pdm/venv/lib/python3.11/site-packages/pdm/installers/synchronizers.py", line 460, in synchronize
    self.candidates[self_key] = self.self_candidate
                                ^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/functools.py", line 1001, in __get__
    val = self.func(instance)
          ^^^^^^^^^^^^^^^^^^^
  File "/home/ai/.local/share/pdm/venv/lib/python3.11/site-packages/pdm/installers/synchronizers.py", line 140, in self_candidate
    return self.environment.project.make_self_candidate(not self.no_editable)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/ai/.local/share/pdm/venv/lib/python3.11/site-packages/pdm/project/core.py", line 507, in make_self_candidate
    can.prepare(self.environment).metadata
  File "/home/ai/.local/share/pdm/venv/lib/python3.11/site-packages/pdm/models/candidates.py", line 590, in metadata
    result = self.prepare_metadata()
             ^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/ai/.local/share/pdm/venv/lib/python3.11/site-packages/pdm/models/candidates.py", line 497, in prepare_metadata
    return self._get_metadata_from_build(self._unpacked_dir, metadata_parent)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/ai/.local/share/pdm/venv/lib/python3.11/site-packages/pdm/models/candidates.py", line 572, in _get_metadata_from_build
    self._metadata_dir = builder(source_dir, self.environment).prepare_metadata(metadata_parent)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/ai/.local/share/pdm/venv/lib/python3.11/site-packages/pdm/builders/wheel.py", line 16, in prepare_metadata
    filename = self._hook.prepare_metadata_for_build_wheel(out_dir, config_settings)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/ai/.local/share/pdm/venv/lib/python3.11/site-packages/pyproject_hooks/_impl.py", line 186, in prepare_metadata_for_build_wheel
    return self._call_hook('prepare_metadata_for_build_wheel', {
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/ai/.local/share/pdm/venv/lib/python3.11/site-packages/pyproject_hooks/_impl.py", line 311, in _call_hook
    self._subprocess_runner(
  File "/home/ai/.local/share/pdm/venv/lib/python3.11/site-packages/pdm/builders/base.py", line 261, in subprocess_runner
    return log_subprocessor(cmd, cwd, extra_environ=env)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/ai/.local/share/pdm/venv/lib/python3.11/site-packages/pdm/builders/base.py", line 107, in log_subprocessor
    raise build_error(e) from None
          ^^^^^^^^^^^^^^
  File "/home/ai/.local/share/pdm/venv/lib/python3.11/site-packages/pdm/builders/base.py", line 76, in build_error
    if output[-1].strip().startswith("ModuleNotFoundError"):
       ~~~~~~^^^^
IndexError: list index out of range

Actual behavior

Build error not correctly parsed.

Expected behavior

Build error correctly parsed (empty ones handled).

Environment Information

# Paste the output of `pdm info && pdm info --env` below:
+ pdm venv create --with-pip 3.11 --system-site-packages
STATUS: Creating virtualenv using virtualenv...
Virtualenv /opt/ai/.venv is created successfully
+ pdm info
Virtualenv /opt/ai/.venv is reused.
PDM version:
  2.10.0
Python Interpreter:
  /opt/ai/.venv/bin/python (3.11)
Project Root:
  /opt/ai
Local Packages:
  
+ pdm info --env
{
  "implementation_name": "cpython",
  "implementation_version": "3.11.4",
  "os_name": "posix",
  "platform_machine": "x86_64",
  "platform_release": "6.5.6-200.fc38.aarch64",
  "platform_system": "Linux",
  "platform_version": "#1 SMP PREEMPT_DYNAMIC Fri Oct  6 19:34:05 UTC 2023",
  "python_full_version": "3.11.4",
  "platform_python_implementation": "CPython",
  "python_version": "3.11",
  "sys_platform": "linux"
}
@sanmai-NL sanmai-NL added the 🐛 bug Something isn't working label Oct 26, 2023
@frostming
Copy link
Collaborator

The stack trace clearly shows where the error is and how to fix it. I think this is a good first issue for contributors.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug Something isn't working 💝 good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants