fastdup icon indicating copy to clipboard operation
fastdup copied to clipboard

[Bug]: Failed to install fastdup in poetry

Open dbickson opened this issue 10 months ago • 1 comments

What happened?

Customer reported the following:

  RuntimeError

  Unable to find installation candidates for fastdup (2.14)

Cannot install fastdup.

What did you expect to see?

Smooth installation

What version of fastdup were you runnning on?

2.14

What version of Python were you running on?

Python 3.10

Operating System

Ubuntu?

Reproduction steps

No response

Relevant log output


Attach a screenshot [Optional]

No response

Contact Details [Optional]

No response

dbickson avatar Jan 27 '25 09:01 dbickson

The issue is not in poetry but in the python version or os architecture.

I have configured poetry on mac os 12.2.1 as follows:

   ~/Downloads  poetry init                                                                                                                                                                                                  ✔    11:26:59 

This command will guide you through creating your pyproject.toml config.

Package name [downloads]:
Version [0.1.0]:
Description []:
Author [Danny Bickson <[email protected]>, n to skip]:
License []:
Compatible Python versions [>=2.7]:  3.9.16

Would you like to define your main dependencies interactively? (yes/no) [yes] no
Would you like to define your development dependencies interactively? (yes/no) [yes] no
Generated file

[project]
name = "downloads"
version = "0.1.0"
description = ""
authors = [
    {name = "Danny Bickson",email = "[email protected]"}
]
readme = "README.md"
requires-python = "3.9.16"
dependencies = [
]


[build-system]
requires = ["poetry-core>=2.0.0,<3.0.0"]
build-backend = "poetry.core.masonry.api"


Do you confirm generation? (yes/no) [yes] yes
> poetry env use python3.9                                                                                                                                                                            
Creating virtualenv downloads-ZxHu3jUu-py3.9 in /Users/dannybickson/Library/Caches/pypoetry/virtualenvs
Using virtualenv: /Users/dannybickson/Library/Caches/pypoetry/virtualenvs/downloads-ZxHu3jUu-py3.9

> poetry add fastdup                                                                                                                                                                                          
Using version ^2.15 for fastdup

Updating dependencies
Resolving dependencies... (15.7s)

Package operations: 68 installs, 0 updates, 0 removals

  - Installing attrs (25.1.0)
  - Installing exceptiongroup (1.2.2)
  - Installing idna (3.10)
  - Installing pycparser (2.22)
  - Installing rpds-py (0.22.3)
  - Installing sniffio (1.3.1)
  - Installing typing-extensions (4.12.2)
  - Installing annotated-types (0.7.0)
  - Installing referencing (0.36.2)
  - Installing certifi (2024.12.14)
  - Installing cffi (1.17.1)
  - Installing h11 (0.14.0)
  - Installing numpy (1.23.5)
  - Installing pyasn1 (0.6.1)
  - Installing pydantic-core (2.20.1)
  - Installing anyio (3.7.1)
  - Installing six (1.17.0)
  - Installing cachetools (5.5.1)
  - Installing charset-normalizer (2.1.1)
  - Installing prometheus-client (0.12.0)
  - Installing cryptography (42.0.5)
  - Installing duckdb (1.0.0)
  - Installing greenlet (3.1.1)
  - Installing httpcore (1.0.7)
  - Installing joblib (1.2.0)
  - Installing jsonschema-specifications (2024.10.1)
  - Installing markupsafe (3.0.2)
  - Installing packaging (24.2)
  - Installing pillow (10.3.0)
  - Installing pyasn1-modules (0.4.1)
  - Installing click (8.1.8)
  - Installing pydantic (2.8.2)
  - Installing python-dateutil (2.9.0.post0)
  - Installing pytz (2024.2)
  - Installing rsa (4.9)
  - Installing scipy (1.13.1)
  - Installing sqlalchemy (2.0.37)
  - Installing starlette (0.27.0)
  - Installing threadpoolctl (3.5.0)
  - Installing tzdata (2025.1)
  - Installing urllib3 (1.26.20)
  - Installing aiofiles (24.1.0)
  - Installing duckdb-engine (0.13.6)
  - Installing fastapi (0.106.0)
  - Installing google-auth (2.29.0)
  - Installing httpx (0.26.0)
  - Installing jinja2 (3.1.3)
  - Installing jsonschema (4.22.0)
  - Installing nest-asyncio (1.6.0)
  - Installing opencv-python-headless (4.11.0.86)
  - Installing pandas (2.0.3)
  - Installing pillow-heif (0.21.0)
  - Installing polars (0.20.0)
  - Installing psutil (6.1.1)
  - Installing pyarrow (12.0.0)
  - Installing pyjwt (2.8.0)
  - Installing python-multipart (0.0.9)
  - Installing pyopenssl (25.0.0)
  - Installing pyyaml (6.0.2)
  - Installing requests (2.28.1)
  - Installing scikit-learn (1.3.0)
  - Installing sentry-sdk (1.43.0)
  - Installing setproctitle (1.3.3)
  - Installing setuptools (72.2.0)
  - Installing starlette-prometheus (0.9.0)
  - Installing tqdm (4.66.2)
  - Installing uvicorn (0.29.0)
  - Installing fastdup (2.15)

Writing lock file

dbickson avatar Jan 27 '25 09:01 dbickson