crate / crate/cratedb-toolkit

[RUNTIME] Problem when "running" package from source using `uv run --with=`

Open
#655 6 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
10
Forks
5
Avg merge
7d 5h
Merged PRs (30d)
7

Description

## Problem
```shell
git clone https://github.com/crate/cratedb-toolkit
cd cratedb-toolkit
uv run --with='.[kinesis,test]' pytest -m kinesis
```
```
× No solution found when resolving dependencies for split (markers: python_full_version >= '3.10'):
╰─▶ Because cratedb-toolkit[io-ingestr] depends on sqlalchemy>=1,<2 and cratedb-toolkit[all] depends on sqlalchemy>=2, we can conclude that
cratedb-toolkit[all] and cratedb-toolkit[io-ingestr] are incompatible.
And because your project requires cratedb-toolkit[all] and cratedb-toolkit[io-ingestr], we can conclude that your project's requirements are
unsatisfiable.
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the failure from the issue with `uv run --with='.[kinesis,test]' pytest -m kinesis`, then inspect the project's dependency declarations for the conflicting SQLAlchemy ranges in the `all` and `io-ingestr` extras. Done means the command resolves dependencies successfully and starts the Kinesis-marked tests without the shown solver error.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, sqlalchemy
Domain
build-system, tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.