apache / apache/caldera

Update packaging==24.0 required

Open Beginner friendly
#3,418 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
Python
Stars
7.3k
Forks
1.4k
Avg merge
33m
Merged PRs (30d)
3

Description

**Describe the bug**
pip3 install -r requirements.txt with error:
Using cached packaging-23.2-py3-none-any.whl (53 kB)
Installing collected packages: packaging
Attempting uninstall: packaging
Found existing installation: packaging 26.3
Uninstalling packaging-26.3:
Successfully uninstalled packaging-26.3
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
wheel 0.48.0 requires packaging>=24.0, but you have packaging 23.2 which is incompatible.
Successfully installed packaging-23.2

**To Reproduce**
Steps to reproduce the behavior:
1. Clone master branch:
git clone https://github.com/apache/caldera.git --recursive
cd caldera
pip3 install -r requirements.txt

**Expected behavior**
No such error for "pip3 install -r requirements.txt".

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Desktop (please complete the following information):**
- OS: Linux 7.1.5+kali-arm64

**Additional context**
Fixed with packaging==24.0 in requirements.txt.

Contributor guide

Open the contributing guide

Research direction

Start with requirements.txt and reproduce the issue using pip3 install -r requirements.txt in a fresh checkout. Update the packaging dependency so it satisfies wheel's stated requirement, then rerun the installation and confirm that no dependency conflict is reported.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
build-system
Issue type
Bug
Difficulty
1/5
Estimated time
Under an hour
Activity status
Active
Clarity
Clearly specified
Newbie friendliness
90/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.