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

Cannot import "apt" as a site package #1787

Closed
1 task done
lofidevops opened this issue Mar 27, 2023 · 8 comments
Closed
1 task done

Cannot import "apt" as a site package #1787

lofidevops opened this issue Mar 27, 2023 · 8 comments
Labels
🐛 bug Something isn't working

Comments

@lofidevops
Copy link

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

Related issues? #985 #634

Background

For various reasons, installing apt into a virtualenv is tricky. With other package managers I've found it easier to just use site-packages (sometimes called "system packages"). But I'm struggling to achieve the same result with pdm.

A simple test is that a script with "import apt" should run without error.

Steps to reproduce

Create a pdm project with the following files. Then try pdm install --dev --no-isolation and pdm run -v --site-packages spsample

pyproject.toml

[project]
name = "spsample"
version = "0.0.1"
description = "Example using site packages."
requires-python = ">=3.10"

[build-system]
requires = ["pdm-backend"]
build-backend = "pdm.backend"

[project.scripts]
spsample = "spsample.cli:invoke"

src/spsample/cli.py

import apt


def invoke():
    print("Hello world!")


if __name__ == "__main__":
    invoke()

Actual behavior

Traceback (most recent call last):
  File "/home/user/spsample/.venv/bin/spsample", line 5, in <module>
    from spsample.cli import invoke
  File "/home/user/spsample/src/spsample/cli.py", line 1, in <module>
    import apt
ModuleNotFoundError: No module named 'apt'

Expected behavior

Should print "Hello world!" after importing the system package called apt.

Environment Information

PDM version:
  2.4.9
Python Interpreter:
  /home/user/spsample/.venv/bin/python (3.10)
Project Root:
  /home/user/spsample
Project Packages:
  None
{
  "implementation_name": "cpython",
  "implementation_version": "3.10.6",
  "os_name": "posix",
  "platform_machine": "x86_64",
  "platform_release": "5.19.0-35-generic",
  "platform_system": "Linux",
  "platform_version": "#36~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Feb 17 15:17:25 UTC 2",
  "python_full_version": "3.10.6",
  "platform_python_implementation": "CPython",
  "python_version": "3.10",
  "sys_platform": "linux"
}

pdm list -v --graph

spsample 0.0.1+editable [ Not required ]
@lofidevops lofidevops added the 🐛 bug Something isn't working label Mar 27, 2023
@lofidevops
Copy link
Author

Workaround 1:

  1. Open .venv/pyvenv.cfg
  2. Modify include-system-site-packages = false to true

Workaround 2:

Instead of pdm init --dev:

pdm venv create python3.10 --system-site-packages
pdm sync --dev

This is a very special case, so I think my workaround 2 is acceptable. If there isn't any feedback, I'll submit a documentation update.

@sanmai-NL
Copy link
Contributor

sanmai-NL commented Jun 12, 2023

The --system-site-packages option doesn't exist anymore (with PDM 2.7.2).

@lofidevops
Copy link
Author

@sanmai-NL Thanks for the heads-up. I don't see this explicitly mentioned in the release notes, I assume it's a side-effect of a fix?

For me this is one highly specific use-case, I can't speak to how useful the feature is in general.

  • Can this flag still be set in pyvenv.cfg or an equivalent?
  • If not, can this feature be re-introduced?

@sanmai-NL
Copy link
Contributor

@lofidevops I think I was mistaken. Will continue debugging tomorrow.

@sanmai-NL
Copy link
Contributor

#2071 --no-isolated seems irrelevant, that's as far as I got now.

@sanmai-NL
Copy link
Contributor

sanmai-NL commented Jun 30, 2023

@lofidevops --system-site-packages still exists, but it should be passed in a certain way like you do, without a -- in between.

The first work-around doesn't work for me during installation, though. During installation, dependencies that are already installed in my system site-packages like matplotlib and pandas are resolved again when generating a lockfile:

+ pdm config --local install.cache false
+ pdm config --verbose install.cache
False
+ pdm config --verbose python.use_venv
True
+ pdm info
python.use_venv is on, creating a virtualenv for this project...
Virtualenv is created successfully at /opt/ai/.venv
PDM version:
  2.7.4
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.3.8-200.fc38.x86_64",
  "platform_system": "Linux",
  "platform_version": "#1 SMP PREEMPT_DYNAMIC Thu Jun 15 02:15:40 UTC 2023",
  "python_full_version": "3.11.4",
  "platform_python_implementation": "CPython",
  "python_version": "3.11",
  "sys_platform": "linux"
}
+ sed -i -e 's/include-system-site-packages[[:space:]]*=[[:space:]]*false/include-system-site-packages = true/' .venv/pyvenv.cfg
+ cat .venv/pyvenv.cfg
home = /usr/bin
implementation = CPython
version_info = 3.11.4.final.0
virtualenv = 20.23.1
include-system-site-packages = true
base-prefix = /usr
base-exec-prefix = /usr
base-executable = /usr/bin/python
prompt = ai-3.11
+ pdm install --fail-fast --no-editable --production --verbose
Lock file does not exist
Updating the lock file...
STATUS: Resolving dependencies
pdm.termui: ======== Start resolving requirements ========
pdm.termui:   mysql-connector-python>=8.0.33
pdm.termui:   opencv-python>=4.7
pdm.termui:   python-dotenv>=1.0.0
pdm.termui:   supervision>=0.7
pdm.termui:   ultralytics>=8
pdm.termui:   python>=3.11,<3.12
pdm.termui:   Adding requirement mysql-connector-python>=8.0.33
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.7
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.7
unearth.collector: Failed to collect links from https://download.pytorch.org/whl/cpu/supervision/: Client Error(403): Forbidden
pdm.termui:   Adding requirement ultralytics>=8
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/a9/98/3cd603a0130a4bc088942b51c142ce13de3bf21a26b4f960527859a780da/mysql_connector_python-8.0.33-py2.py3-none-any.whl (from https://pypi.org/simple/mysql-connector-python/)> (390 kB)
unearth.preparer: Downloading <Link https://files.pythonhosted.org/packages/1a/12/a94f6e1aa2d03a483c641da4e8ec20d511a3ece2a087bb3232192e6c6987/opencv_python-4.7.0.72-cp37-abi3-macosx_10_16_x86_64.whl (from https://pypi.org/simple/opencv-python/)> (53.9 MB)
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<=3.20.3,>=3.11.0(from mysql-connector-python 8.0.33)
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.0.33
pdm.termui: Pinning: mysql-connector-python 8.0.33
pdm.termui: ======== Ending round 1 ========
pdm.termui: ======== Starting round 2 ========
unearth.preparer: Downloading <Link https://files.pythonhosted.org/packages/8d/14/619e24a4c70df2901e1f4dbc50a6291eb63a759172558df326347dce1f0d/protobuf-3.20.3-py2.py3-none-any.whl (from https://pypi.org/simple/protobuf/)> (162 kB)
pdm.termui:   Adding requirement numpy>=1.21.2; python_version >= "3.10"(from opencv-python 4.7.0.72)
pdm.termui:   Adding requirement numpy>=1.21.4; python_version >= "3.10" and platform_system == "Darwin"(from opencv-python 4.7.0.72)
pdm.termui:   Adding requirement numpy>=1.22.0; python_version >= "3.11"(from opencv-python 4.7.0.72)
pdm.termui:   Adding requirement numpy>=1.19.3; python_version >= "3.6" and platform_system == "Linux" and platform_machine == "aarch64"(from opencv-python 4.7.0.72)
pdm.termui:   Adding requirement numpy>=1.17.0; python_version >= "3.7"(from opencv-python 4.7.0.72)
pdm.termui:   Adding requirement numpy>=1.17.3; python_version >= "3.8"(from opencv-python 4.7.0.72)
pdm.termui:   Adding requirement numpy>=1.19.3; python_version >= "3.9"(from opencv-python 4.7.0.72)
STATUS: Resolving: new pin opencv-python 4.7.0.72
pdm.termui: Pinning: opencv-python 4.7.0.72
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 numpy>=1.20.0(from supervision 0.11.1)
pdm.termui:   Adding requirement opencv-python(from supervision 0.11.1)
unearth.collector: Failed to collect links from https://download.pytorch.org/whl/cpu/opencv-python/: Client Error(403): Forbidden
pdm.termui:   Adding requirement matplotlib(from supervision 0.11.1)
unearth.collector: Failed to collect links from https://download.pytorch.org/whl/cpu/matplotlib/: Client Error(403): Forbidden
pdm.termui:   Adding requirement pyyaml(from supervision 0.11.1)
unearth.collector: Failed to collect links from https://download.pytorch.org/whl/cpu/pyyaml/: Client Error(403): Forbidden
STATUS: Resolving: new pin supervision 0.11.1
pdm.termui: Pinning: supervision 0.11.1
pdm.termui: ======== Ending round 4 ========
pdm.termui: ======== Starting round 5 ========
unearth.preparer: Downloading <Link https://files.pythonhosted.org/packages/62/6d/3817522ca223796703b68ffd38577582f2dc7a0c0dd410d1803e36b5e1db/matplotlib-3.7.1-cp310-cp310-macosx_10_12_universal2.whl (from https://pypi.org/simple/matplotlib/)> (8.3 MB)
unearth.preparer: Downloading <Link https://files.pythonhosted.org/packages/44/e5/4fea13230bcebf24b28c0efd774a2dd65a0937a2d39e94a4503438b078ed/PyYAML-6.0-cp310-cp310-macosx_10_9_x86_64.whl (from https://pypi.org/simple/pyyaml/)> (197 kB)
pdm.termui:   Adding requirement matplotlib>=3.2.2(from ultralytics 8.0.124)
unearth.collector: Failed to collect links from https://download.pytorch.org/whl/cpu/matplotlib/: Client Error(403): Forbidden
pdm.termui:   Adding requirement opencv-python>=4.6.0(from ultralytics 8.0.124)
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.124)
pdm.termui:   Adding requirement PyYAML>=5.3.1(from ultralytics 8.0.124)
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.124)
pdm.termui:   Adding requirement scipy>=1.4.1(from ultralytics 8.0.124)
unearth.collector: Failed to collect links from https://download.pytorch.org/whl/cpu/scipy/: Client Error(403): Forbidden
pdm.termui:   Adding requirement torch>=1.7.0(from ultralytics 8.0.124)
pdm.termui:   Adding requirement torchvision>=0.8.1(from ultralytics 8.0.124)
pdm.termui:   Adding requirement tqdm>=4.64.0(from ultralytics 8.0.124)
pdm.termui:   Adding requirement pandas>=1.1.4(from ultralytics 8.0.124)
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.124)
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.124)
unearth.collector: Failed to collect links from https://download.pytorch.org/whl/cpu/psutil/: Client Error(403): Forbidden
STATUS: Resolving: new pin ultralytics 8.0.124
pdm.termui: Pinning: ultralytics 8.0.124
pdm.termui: ======== Ending round 5 ========
pdm.termui: ======== Starting round 6 ========
unearth.preparer: Using cached <Link https://files.pythonhosted.org/packages/44/e5/4fea13230bcebf24b28c0efd774a2dd65a0937a2d39e94a4503438b078ed/PyYAML-6.0-cp310-cp310-macosx_10_9_x86_64.whl (from https://pypi.org/simple/pyyaml/)>
unearth.preparer: Downloading <Link https://files.pythonhosted.org/packages/1e/e4/de633d85be3b3c770c554a37a89e8273069bd19c34b15a419c2795600310/Pillow-9.5.0-cp311-cp311-musllinux_1_1_x86_64.whl (from https://pypi.org/simple/pillow/)> (3.4 MB)
unearth.preparer: Downloading <Link https://download.pytorch.org/whl/cpu/torch-2.0.1%2Bcpu-cp311-cp311-linux_x86_64.whl (from https://download.pytorch.org/whl/cpu/torch/)> (195.4 MB)
unearth.preparer: Downloading <Link https://download.pytorch.org/whl/cpu/torchvision-0.15.2%2Bcpu-cp311-cp311-linux_x86_64.whl (from https://download.pytorch.org/whl/cpu/torchvision/)> (1.5 MB)
unearth.preparer: Downloading <Link https://files.pythonhosted.org/packages/e6/02/a2cff6306177ae6bc73bc0665065de51dfb3b9db7373e122e2735faf0d97/tqdm-4.65.0-py3-none-any.whl (from https://pypi.org/simple/tqdm/)> (77 kB)
unearth.preparer: Downloading <Link https://files.pythonhosted.org/packages/8f/2e/17bbb83fbf102687bb2aa3d808add39da820a7698159302a1a69bb82e01c/seaborn-0.12.2-py3-none-any.whl (from https://pypi.org/simple/seaborn/)> (293 kB)
unearth.preparer: Downloading <Link https://files.pythonhosted.org/packages/3b/e4/fee119c206545fd37be1e5fa4eeb0c729a52ec2ade4f728ae1fd1acb2a3a/psutil-5.9.5-cp27-cp27m-macosx_10_9_x86_64.whl (from https://pypi.org/simple/psutil/)> (244 kB)
STATUS: Resolving: new pin numpy 1.25.0
pdm.termui: Pinning: numpy 1.25.0
pdm.termui: ======== Ending round 6 ========
pdm.termui: ======== Starting round 7 ========
STATUS: Resolving: new pin protobuf 3.20.3
pdm.termui: Pinning: protobuf 3.20.3
pdm.termui: ======== Ending round 7 ========
pdm.termui: ======== Starting round 8 ========
pdm.termui:   Adding requirement contourpy>=1.0.1(from matplotlib 3.7.1)
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.7.1)
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.7.1)
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.7.1)
unearth.collector: Failed to collect links from https://download.pytorch.org/whl/cpu/kiwisolver/: Client Error(403): Forbidden
pdm.termui:   Adding requirement numpy>=1.20(from matplotlib 3.7.1)
pdm.termui:   Adding requirement packaging>=20.0(from matplotlib 3.7.1)
pdm.termui:   Adding requirement pillow>=6.2.0(from matplotlib 3.7.1)
pdm.termui:   Adding requirement pyparsing>=2.3.1(from matplotlib 3.7.1)
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.7.1)
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.7.1
pdm.termui: Pinning: matplotlib 3.7.1
pdm.termui: ======== Ending round 8 ========
pdm.termui: ======== Starting round 9 ========
unearth.preparer: Downloading <Link https://files.pythonhosted.org/packages/5c/f9/695d6bedebd747e5eb0fe8fad57b72fdf25411273a39791cde838d5a8f51/cycler-0.11.0-py3-none-any.whl (from https://pypi.org/simple/cycler/)> (6.4 kB)
unearth.preparer: Downloading <Link https://files.pythonhosted.org/packages/69/6c/8597155d3755337c7e39a7aaf54a07de0ad2572b109d904aeb70b4ab6f36/kiwisolver-1.4.4-cp311-cp311-musllinux_1_1_x86_64.whl (from https://pypi.org/simple/kiwisolver/)> (1.9 MB)
unearth.preparer: Downloading <Link https://files.pythonhosted.org/packages/ab/c3/57f0601a2d4fe15de7a553c00adbc901425661bf048f2a22dfc500caf121/packaging-23.1-py3-none-any.whl (from https://pypi.org/simple/packaging/)> (48 kB)
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 9.5.0
pdm.termui: Pinning: Pillow 9.5.0
pdm.termui: ======== Ending round 9 ========
pdm.termui: ======== Starting round 10 ========
pdm.termui:   Adding requirement python-dateutil>=2.8.2(from pandas 2.0.3)
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.0.3)
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.0.3)
unearth.collector: Failed to collect links from https://download.pytorch.org/whl/cpu/tzdata/: Client Error(403): Forbidden
pdm.termui:   Adding requirement numpy>=1.21.0; python_version >= "3.10"(from pandas 2.0.3)
pdm.termui:   Adding requirement numpy>=1.23.2; python_version >= "3.11"(from pandas 2.0.3)
STATUS: Resolving: new pin pandas 2.0.3
pdm.termui: Pinning: pandas 2.0.3
pdm.termui: ======== Ending round 10 ========
pdm.termui: ======== Starting round 11 ========
unearth.preparer: Downloading <Link https://files.pythonhosted.org/packages/7f/99/ad6bd37e748257dd70d6f85d916cafe79c0b0f5e2e95b11f7fbc82bf3110/pytz-2023.3-py2.py3-none-any.whl (from https://pypi.org/simple/pytz/)> (502 kB)
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)
STATUS: Resolving: new pin PyYAML 6.0
pdm.termui: Pinning: PyYAML 6.0
pdm.termui: ======== Ending round 11 ========
pdm.termui: ======== Starting round 12 ========
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 12 ========
pdm.termui: ======== Starting round 13 ========
unearth.preparer: Downloading <Link https://files.pythonhosted.org/packages/56/24/5f2dedcf3d0673931b6200c410832ae44b376848bc899dbf1fa6c91c4ebe/charset_normalizer-3.1.0-cp311-cp311-musllinux_1_1_x86_64.whl (from https://pypi.org/simple/charset-normalizer/)> (190 kB)
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)
unearth.preparer: Downloading <Link https://files.pythonhosted.org/packages/9d/19/59961b522e6757f0c9097e4493fa906031b95b3ebe9360b2c3083561a6b4/certifi-2023.5.7-py3-none-any.whl (from https://pypi.org/simple/certifi/)> (156 kB)
pdm.termui:   Adding requirement numpy<1.28.0,>=1.21.6(from scipy 1.11.1)
STATUS: Resolving: new pin scipy 1.11.1
pdm.termui: Pinning: scipy 1.11.1
pdm.termui: ======== Ending round 13 ========
pdm.termui: ======== Starting round 14 ========
pdm.termui:   Adding requirement numpy!=1.24.0,>=1.17(from seaborn 0.12.2)
pdm.termui:   Adding requirement pandas>=0.25(from seaborn 0.12.2)
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.1(from seaborn 0.12.2)
unearth.collector: Failed to collect links from https://download.pytorch.org/whl/cpu/matplotlib/: Client Error(403): Forbidden
STATUS: Resolving: new pin seaborn 0.12.2
pdm.termui: Pinning: seaborn 0.12.2
pdm.termui: ======== Ending round 14 ========
pdm.termui: ======== Starting round 15 ========
pdm.termui:   Adding requirement filelock(from torch 2.0.1+cpu)
pdm.termui:   Adding requirement typing-extensions(from torch 2.0.1+cpu)
pdm.termui:   Adding requirement sympy(from torch 2.0.1+cpu)
pdm.termui:   Adding requirement networkx(from torch 2.0.1+cpu)
pdm.termui:   Adding requirement jinja2(from torch 2.0.1+cpu)
STATUS: Resolving: new pin torch 2.0.1+cpu
pdm.termui: Pinning: torch 2.0.1+cpu
pdm.termui: ======== Ending round 15 ========
pdm.termui: ======== Starting round 16 ========
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/a8/05/9d4f9b78ead6b2661d6e8ea772e111fc4a9fbd866ad0c81906c11206b55e/networkx-3.1-py3-none-any.whl (from https://pypi.org/simple/networkx/)> (2.1 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.15.2+cpu)
pdm.termui:   Adding requirement requests(from torchvision 0.15.2+cpu)
pdm.termui:   Adding requirement torch==2.0.1(from torchvision 0.15.2+cpu)
pdm.termui:   Adding requirement pillow!=8.3.*,>=5.3.0(from torchvision 0.15.2+cpu)
STATUS: Resolving: new pin torchvision 0.15.2+cpu
pdm.termui: Pinning: torchvision 0.15.2+cpu
pdm.termui: ======== Ending round 16 ========
pdm.termui: ======== Starting round 17 ========
pdm.termui:   Adding requirement colorama; platform_system == "Windows"(from tqdm 4.65.0)
STATUS: Resolving: new pin tqdm 4.65.0
pdm.termui: Pinning: tqdm 4.65.0
pdm.termui: ======== Ending round 17 ========
pdm.termui: ======== Starting round 18 ========
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.5
pdm.termui: Pinning: psutil 5.9.5
pdm.termui: ======== Ending round 18 ========
pdm.termui: ======== Starting round 19 ========
STATUS: Resolving: new pin charset-normalizer 3.1.0
pdm.termui: Pinning: charset-normalizer 3.1.0
pdm.termui: ======== Ending round 19 ========
pdm.termui: ======== Starting round 20 ========
STATUS: Resolving: new pin idna 3.4
pdm.termui: Pinning: idna 3.4
pdm.termui: ======== Ending round 20 ========
pdm.termui: ======== Starting round 21 ========
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 21 ========
pdm.termui: ======== Starting round 22 ========
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.3
pdm.termui: Pinning: urllib3 2.0.3
pdm.termui: ======== Ending round 22 ========
pdm.termui: ======== Starting round 23 ========
STATUS: Resolving: new pin certifi 2023.5.7
pdm.termui: Pinning: certifi 2023.5.7
pdm.termui: ======== Ending round 23 ========
pdm.termui: ======== Starting round 24 ========
pdm.termui:   Adding requirement numpy>=1.16(from contourpy 1.1.0)
STATUS: Resolving: new pin contourpy 1.1.0
pdm.termui: Pinning: contourpy 1.1.0
pdm.termui: ======== Ending round 24 ========
pdm.termui: ======== Starting round 25 ========
STATUS: Resolving: new pin cycler 0.11.0
pdm.termui: Pinning: cycler 0.11.0
pdm.termui: ======== Ending round 25 ========
pdm.termui: ======== Starting round 26 ========
STATUS: Resolving: new pin fonttools 4.40.0
pdm.termui: Pinning: fonttools 4.40.0
pdm.termui: ======== Ending round 26 ========
pdm.termui: ======== Starting round 27 ========
STATUS: Resolving: new pin kiwisolver 1.4.4
pdm.termui: Pinning: kiwisolver 1.4.4
pdm.termui: ======== Ending round 27 ========
pdm.termui: ======== Starting round 28 ========
STATUS: Resolving: new pin packaging 23.1
pdm.termui: Pinning: packaging 23.1
pdm.termui: ======== Ending round 28 ========
pdm.termui: ======== Starting round 29 ========
STATUS: Resolving: new pin pyparsing 3.1.0
pdm.termui: Pinning: pyparsing 3.1.0
pdm.termui: ======== Ending round 29 ========
pdm.termui: ======== Starting round 30 ========
STATUS: Resolving: new pin pytz 2023.3
pdm.termui: Pinning: pytz 2023.3
pdm.termui: ======== Ending round 30 ========
pdm.termui: ======== Starting round 31 ========
STATUS: Resolving: new pin tzdata 2023.3
pdm.termui: Pinning: tzdata 2023.3
pdm.termui: ======== Ending round 31 ========
pdm.termui: ======== Starting round 32 ========
STATUS: Resolving: new pin colorama 0.4.6
pdm.termui: Pinning: colorama 0.4.6
pdm.termui: ======== Ending round 32 ========
pdm.termui: ======== Starting round 33 ========
STATUS: Resolving: new pin filelock 3.12.2
pdm.termui: Pinning: filelock 3.12.2
pdm.termui: ======== Ending round 33 ========
pdm.termui: ======== Starting round 34 ========
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 34 ========
pdm.termui: ======== Starting round 35 ========
STATUS: Resolving: new pin networkx 3.1
pdm.termui: Pinning: networkx 3.1
pdm.termui: ======== Ending round 35 ========
pdm.termui: ======== Starting round 36 ========
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 36 ========
pdm.termui: ======== Starting round 37 ========
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.7.0
pdm.termui: Pinning: typing-extensions 4.7.0
pdm.termui: ======== Ending round 37 ========
pdm.termui: ======== Starting round 38 ========
STATUS: Resolving: new pin MarkupSafe 2.1.3
pdm.termui: Pinning: MarkupSafe 2.1.3
pdm.termui: ======== Ending round 38 ========
pdm.termui: ======== Starting round 39 ========
STATUS: Resolving: new pin mpmath 1.3.0
pdm.termui: Pinning: mpmath 1.3.0
pdm.termui: ======== Ending round 39 ========
pdm.termui: ======== Starting round 40 ========
STATUS: Resolving: new pin six 1.16.0
pdm.termui: Pinning: six 1.16.0
pdm.termui: ======== Ending round 40 ========
pdm.termui: ======== Starting round 41 ========
pdm.termui: ======== Resolution Result ========
pdm.termui: Stable pins:
pdm.termui:                   python None
pdm.termui:   mysql-connector-python 8.0.33
pdm.termui:            opencv-python 4.7.0.72
pdm.termui:            python-dotenv 1.0.0
pdm.termui:              supervision 0.11.1
pdm.termui:              ultralytics 8.0.124
pdm.termui:                    numpy 1.25.0
pdm.termui:                 protobuf 3.20.3
pdm.termui:               matplotlib 3.7.1
pdm.termui:                   pillow 9.5.0
pdm.termui:                   pandas 2.0.3
pdm.termui:                   pyyaml 6.0
pdm.termui:                 requests 2.31.0
pdm.termui:                    scipy 1.11.1
pdm.termui:                  seaborn 0.12.2
pdm.termui:                    torch 2.0.1+cpu
pdm.termui:              torchvision 0.15.2+cpu
pdm.termui:                     tqdm 4.65.0
pdm.termui:                   psutil 5.9.5
pdm.termui:       charset-normalizer 3.1.0
pdm.termui:                     idna 3.4
pdm.termui:          python-dateutil 2.8.2
pdm.termui:                  urllib3 2.0.3
pdm.termui:                  certifi 2023.5.7
pdm.termui:                contourpy 1.1.0
pdm.termui:                   cycler 0.11.0
pdm.termui:                fonttools 4.40.0
pdm.termui:               kiwisolver 1.4.4
pdm.termui:                packaging 23.1
pdm.termui:                pyparsing 3.1.0
pdm.termui:                     pytz 2023.3
pdm.termui:                   tzdata 2023.3
pdm.termui:                 colorama 0.4.6
pdm.termui:                 filelock 3.12.2
pdm.termui:                   jinja2 3.1.2
pdm.termui:                 networkx 3.1
pdm.termui:                    sympy 1.12
pdm.termui:        typing-extensions 4.7.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/mysql-connector-python/: 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
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
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]
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]
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/protobuf/: Client Error(403): Forbidden
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]
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]+cpu
pdm.termui: Fetching hashes for [email protected]+cpu
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]
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/scipy/: Client Error(403): Forbidden
pdm.termui: Fetching hashes for [email protected]
unearth.collector: Failed to collect links from https://download.pytorch.org/whl/cpu/psutil/: Client Error(403): Forbidden
pdm.termui: Fetching hashes for [email protected]
unearth.collector: Failed to collect links from https://download.pytorch.org/whl/cpu/contourpy/: Client Error(403): Forbidden
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]
unearth.collector: Failed to collect links from https://download.pytorch.org/whl/cpu/fonttools/: Client Error(403): Forbidden
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
pdm.termui: Fetching hashes for [email protected]
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]
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]
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/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]
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]
🔒 Lock successful
Changes are written to pdm.lock.
STATUS: Resolving packages from lockfile...
STATUS: Fetching hashes for resolved packages...
Synchronizing working set with lock file: 39 to add, 0 to update, 0 to remove

unearth.preparer: Using cached <Link https://files.pythonhosted.org/packages/56/24/5f2dedcf3d0673931b6200c410832ae44b376848bc899dbf1fa6c91c4ebe/charset_normalizer-3.1.0-cp311-cp311-musllinux_1_1_x86_64.whl (from None)>
unearth.preparer: Using cached <Link https://files.pythonhosted.org/packages/9d/19/59961b522e6757f0c9097e4493fa906031b95b3ebe9360b2c3083561a6b4/certifi-2023.5.7-py3-none-any.whl (from None)>
  ✔ Install certifi 2023.5.7 successful
  ✔ Install charset-normalizer 3.1.0 successful
unearth.preparer: Using cached <Link https://files.pythonhosted.org/packages/5c/f9/695d6bedebd747e5eb0fe8fad57b72fdf25411273a39791cde838d5a8f51/cycler-0.11.0-py3-none-any.whl (from None)>
  ✔ Install cycler 0.11.0 successful
unearth.preparer: Downloading <Link https://files.pythonhosted.org/packages/80/4a/884f93efc62c8709354f6553063e87d9a29b080944d994af2098ad6fafb3/contourpy-1.1.0-cp311-cp311-musllinux_1_1_x86_64.whl (from None)> (817 kB)
unearth.preparer: Downloading <Link https://files.pythonhosted.org/packages/00/45/ec3407adf6f6b5bf867a4462b2b0af27597a26bd3cd6e2534cb6ab029938/filelock-3.12.2-py3-none-any.whl (from None)> (10 kB)
  ✔ Install filelock 3.12.2 successful
unearth.preparer: Downloading <Link https://files.pythonhosted.org/packages/4d/4d/237443165de031f222d8989fe5a4b71199bc927dbe31589a682feb169955/fonttools-4.40.0-cp311-cp311-musllinux_1_1_x86_64.whl (from None)> (4.2 MB)
  ✔ Install contourpy 1.1.0 successful
unearth.preparer: Using cached <Link https://download.pytorch.org/whl/idna-3.4-py3-none-any.whl (from None)>
  ✔ Install idna 3.4 successful
unearth.preparer: Using cached <Link https://download.pytorch.org/whl/Jinja2-3.1.2-py3-none-any.whl (from None)>
  ✔ Install jinja2 3.1.2 successful
unearth.preparer: Using cached <Link https://files.pythonhosted.org/packages/69/6c/8597155d3755337c7e39a7aaf54a07de0ad2572b109d904aeb70b4ab6f36/kiwisolver-1.4.4-cp311-cp311-musllinux_1_1_x86_64.whl (from None)>
  ✔ Install kiwisolver 1.4.4 successful
unearth.preparer: Downloading <Link https://files.pythonhosted.org/packages/bb/82/f88ccb3ca6204a4536cf7af5abdad7c3657adac06ab33699aa67279e0744/MarkupSafe-2.1.3-cp311-cp311-musllinux_1_1_x86_64.whl (from None)> (33 kB)
  ✔ Install markupsafe 2.1.3 successful
  ✖ Install matplotlib 3.7.1 failed
pdm.termui: Error occurs: 
Traceback (most recent call last):
  File "/usr/lib/python3.11/concurrent/futures/thread.py", line 58, in run
    result = self.fn(*self.args, **self.kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/ai/.local/share/pdm/venv/lib/python3.11/site-packages/pdm/installers/synchronizers.py", line 275, in install_candidate
    self.manager.install(can)
  File "/home/ai/.local/share/pdm/venv/lib/python3.11/site-packages/pdm/installers/manager.py", line 33, in install
    installer(str(prepared.build()), self.environment, prepared.direct_url())
                  ^^^^^^^^^^^^^^^^
  File "/home/ai/.local/share/pdm/venv/lib/python3.11/site-packages/pdm/models/candidates.py", line 375, in build
    self.obtain(allow_all=False)
  File "/home/ai/.local/share/pdm/venv/lib/python3.11/site-packages/pdm/models/candidates.py", line 416, in obtain
    raise CandidateNotFound(
pdm.exceptions.CandidateNotFound: No candidate is found for `matplotlib` that matches the environment or hashes
exception calling callback for <Future at 0x7f2b49fe29f0 state=cancelled>

@sanmai-NL
Copy link
Contributor

sanmai-NL commented Jun 30, 2023

@lofidevops I can say that the work-around don't work for me with PDM 2.7.4 on Linux. Somehow it keeps re-resolving packages that are already installed in the system site-packages with pyproject.toml with compatible, older versions. @frostming Do you have any ideas?

Successfully installed: PDM (2.7.4) at /home/ai/.local/bin/pdm
+ pdm config --local install.cache false
+ pdm config --verbose install.cache
False
+ pdm config --verbose python.use_venv
True
+ pdm venv create python3.11 --system-site-packages
STATUS: Creating virtualenv using virtualenv...
Virtualenv /opt/ai/.venv is created successfully
+ pdm sync --fail-fast --no-editable --production --verbose
STATUS: Resolving packages from lockfile...
Virtualenv /opt/ai/.venv is reused.
STATUS: Fetching hashes for resolved packages...
Synchronizing working set with lock file: 39 to add, 0 to update, 0 to remove

unearth.preparer: Downloading <Link https://files.pythonhosted.org/packages/9d/19/59961b522e6757f0c9097e4493fa906031b95b3ebe9360b2c3083561a6b4/certifi-2023.5.7-py3-none-any.whl (from None)> (156 kB)
unearth.preparer: Downloading <Link https://files.pythonhosted.org/packages/56/24/5f2dedcf3d0673931b6200c410832ae44b376848bc899dbf1fa6c91c4ebe/charset_normalizer-3.1.0-cp311-cp311-musllinux_1_1_x86_64.whl (from None)> (190 kB)
  ✔ Install certifi 2023.5.7 successful
  ✔ Install charset-normalizer 3.1.0 successful
unearth.preparer: Downloading <Link https://files.pythonhosted.org/packages/80/4a/884f93efc62c8709354f6553063e87d9a29b080944d994af2098ad6fafb3/contourpy-1.1.0-cp311-cp311-musllinux_1_1_x86_64.whl (from None)> (817 kB)
unearth.preparer: Downloading <Link https://files.pythonhosted.org/packages/5c/f9/695d6bedebd747e5eb0fe8fad57b72fdf25411273a39791cde838d5a8f51/cycler-0.11.0-py3-none-any.whl (from None)> (6.4 kB)
  ✔ Install cycler 0.11.0 successful
  ✔ Install contourpy 1.1.0 successful
unearth.preparer: Downloading <Link https://files.pythonhosted.org/packages/00/45/ec3407adf6f6b5bf867a4462b2b0af27597a26bd3cd6e2534cb6ab029938/filelock-3.12.2-py3-none-any.whl (from None)> (10 kB)
  ✔ Install filelock 3.12.2 successful
unearth.preparer: Downloading <Link https://files.pythonhosted.org/packages/4d/4d/237443165de031f222d8989fe5a4b71199bc927dbe31589a682feb169955/fonttools-4.40.0-cp311-cp311-musllinux_1_1_x86_64.whl (from None)> (4.2 MB)
  ✔ Install fonttools 4.40.0 successful
unearth.preparer: Downloading <Link https://download.pytorch.org/whl/Jinja2-3.1.2-py3-none-any.whl (from None)> (133 kB)
  ✔ Install jinja2 3.1.2 successful
unearth.preparer: Downloading <Link https://files.pythonhosted.org/packages/69/6c/8597155d3755337c7e39a7aaf54a07de0ad2572b109d904aeb70b4ab6f36/kiwisolver-1.4.4-cp311-cp311-musllinux_1_1_x86_64.whl (from None)> (1.9 MB)
unearth.preparer: Downloading <Link https://download.pytorch.org/whl/idna-3.4-py3-none-any.whl (from None)> (61 kB)
  ✔ Install idna 3.4 successful
unearth.preparer: Downloading <Link https://files.pythonhosted.org/packages/bb/82/f88ccb3ca6204a4536cf7af5abdad7c3657adac06ab33699aa67279e0744/MarkupSafe-2.1.3-cp311-cp311-musllinux_1_1_x86_64.whl (from None)> (33 kB)
  ✔ Install markupsafe 2.1.3 successful
  ✖ Install matplotlib 3.7.1 failed
pdm.termui: Error occurs: 
Traceback (most recent call last):
  File "/usr/lib/python3.11/concurrent/futures/thread.py", line 58, in run
    result = self.fn(*self.args, **self.kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/ai/.local/share/pdm/venv/lib/python3.11/site-packages/pdm/installers/synchronizers.py", line 275, in install_candidate
    self.manager.install(can)
  File "/home/ai/.local/share/pdm/venv/lib/python3.11/site-packages/pdm/installers/manager.py", line 33, in install
    installer(str(prepared.build()), self.environment, prepared.direct_url())
                  ^^^^^^^^^^^^^^^^
  File "/home/ai/.local/share/pdm/venv/lib/python3.11/site-packages/pdm/models/candidates.py", line 375, in build
    self.obtain(allow_all=False)
  File "/home/ai/.local/share/pdm/venv/lib/python3.11/site-packages/pdm/models/candidates.py", line 416, in obtain
    raise CandidateNotFound(
pdm.exceptions.CandidateNotFound: No candidate is found for `matplotlib` that matches the environment or hashes
unearth.preparer: Downloading <Link https://files.pythonhosted.org/packages/43/e3/7d92a15f894aa0c9c4b49b8ee9ac9850d6e63b03c9c32c0367a13ae62209/mpmath-1.3.0-py3-none-any.whl (from None)> (536 kB)

@sanmai-NL
Copy link
Contributor

See also the same requirement for Poetry: python-poetry/poetry#1393

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

No branches or pull requests

3 participants