Open jrab66 opened 7 months ago
Hi @jrab66 . It seems that the Homebrew version is left outdated. I renewed the version. So pls try this out by deleting the tap and adding the tap and installing again. Pls let me know if this works. Like pipx, you should get the right version this time.
Hi @jrab66 . It seems that the Homebrew version is left outdated. I renewed the version. So pls try this out by deleting the tap and adding the tap and installing again. Pls let me know if this works. Like pipx, you should get the right version this time.
@jrab66 Also checked pipx and workes fine on my end:
installed package strimzi-kafka-cli 0.1.0a75, installed using Python 3.11.5
These apps are now globally available
- kfk
done! ✨ 🌟 ✨```
it works @mabulgu closing this issue, thanks!
This still seems to be an issue for me.
pip seemed to fail to build package: PyYAML==6.0
Also, when I tried installing via pipx instead, it complains
pipx install ~/Downloads/strimzi-kafka-cli-0.1.0-alpha75.tar.gz strimzi-kafka-cli ERROR: Package 'strimzi-kafka-cli' requires a different Python: 3.12.2 not in '<=3.12.0,>=3.8'
Seems like not allowing a patch version to of python 3.12.2 over 3.12.0 seems overly restrictive.
@nrhvyc I've reopened the issue and looking into it. Thanks for the heads up @nrhvyc , and you are right about the version restriction. That happened after we switched the project to use pyproject.toml
. having <=3.12 should be fine I guess, I will try.
I found a bug regarding an inconsistency between the Language::Python::Virtualenv
library and python 3.12 so I updated the homebrew formula to use the python version 3.11 as max.
In order to use the hombrew installation properly do the following:
# Untap the repo
brew untap systemcraftsman/strimzi-kafka-cli
# Tap the repo
brew tap systemcraftsman/strimzi-kafka-cli
# Run the install
brew install systemcraftsman/strimzi-kafka-cli
@nrhvyc pipx install strimzi-kafka-cli
worked fine for me. I did a few version upgrades yesterday, which are not directly related because we already had the requires-python = ">=3.8,<3.13"
in the version you were trying to install. However it might worth giving it another try with the new version. Please be sure to remove any other installations first.
I did try both
homebrew
andpipx
installation but fails due to error with, I did build the cli from source and works with a local pipx install.pipx installation fails:
homebrew doesnt show error but folder is not created.
pipx installation working after build it from source.
kfk working :