Update packaging==24.0 required

Open Beginner friendly
#3,418 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

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

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.

Description

bug

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.

Dominant language
Python
Stars
7.3k
Forks
1.4k
Avg merge
33m
Merged PRs (30d)
3

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from apache/caldera

All issues in apache/caldera

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.