The following package(s) were not found, and no possible matches were
found in the package db: dev-python/confluent-kafka.
On Tue, 2022-02-22 at 10:02 +0300, Anatoly Oreshkin wrote:
The following package(s) were not found, and no possible matches were
found in the package db: dev-python/confluent-kafka.
I've never used a gentoo system with salt stack, but I had a thought.
Salt can be picky with package names sometimes.
Try specifying the package name this way, with the repository
explicitly specified:
dev-python/confluent-kafka::guru
Unfortunately specifying dev-python/confluent-kafka::guru hasn't
helped.
On Wed, 2022-02-23 at 11:28 +0300, Anatoly Oreshkin wrote:
Unfortunately specifying dev-python/confluent-kafka::guru hasn't
helped.
Unfortunately I don't have any better ideas. I've had more problems
with the pkg.installed state than any other single thing in Salt.
If you states don't need to be extended to other platforms, you could
just resort to cmd.run again. Seems you're already doing that with
emaint anyway.
Hello,
I am a newbie to Gentoo.
As end user I am using package confluent-kafka from guru repository.
To install it I have performed the following steps in command line:
[...]
6. modify /var/db/repos/guru/dev-python/confluent-kafka/confluent-kafka-1.7.0.ebuild change PYTHON_COMPAT=( python3_8 ) -> PYTHON_COMPAT=( python3_9 )
sed -i 's/python3_8/python3_9/g' /var/db/repos/guru/dev-python/confluent-kafka/confluent-kafka-1.7.0.ebuild
:
Il giorno mar 22 feb 2022 alle ore 08:02 Anatoly Oreshkin < anatoly.oreshkin@gmail.com> ha scritto:
Hello,
I am a newbie to Gentoo.
As end user I am using package confluent-kafka from guru repository.
To install it I have performed the following steps in command line:
[...]
6. modify
/var/db/repos/guru/dev-python/confluent-kafka/confluent-kafka-1.7.0.ebuild >> change PYTHON_COMPAT=( python3_8 ) -> PYTHON_COMPAT=( python3_9 )
sed -i 's/python3_8/python3_9/g'
/var/db/repos/guru/dev-python/confluent-kafka/confluent-kafka-1.7.0.ebuild >>
sorry but you can't do this, you have to stick with python3.8
I plan to update the openstack packages next month after I graduate
сб, 26 февр. 2022 г. в 03:40, Alessandro Barbieri < lssndrbarbieri@gmail.com>:
Il giorno mar 22 feb 2022 alle ore 08:02 Anatoly Oreshkin <
anatoly.oreshkin@gmail.com> ha scritto:
Hello,
I am a newbie to Gentoo.
As end user I am using package confluent-kafka from guru repository.
To install it I have performed the following steps in command line:
[...]
6. modify
/var/db/repos/guru/dev-python/confluent-kafka/confluent-kafka-1.7.0.ebuild >>> change PYTHON_COMPAT=( python3_8 ) -> PYTHON_COMPAT=( python3_9 )
sed -i 's/python3_8/python3_9/g'
/var/db/repos/guru/dev-python/confluent-kafka/confluent-kafka-1.7.0.ebuild >>>
sorry but you can't do this, you have to stick with python3.8
I plan to update the openstack packages next month after I graduate
If I don't change PYTHON_COMPAT=( python3_8 ) -> PYTHON_COMPAT=(
python3_9 ) then
I will not able to install dev-python/confluent-kafka using emerge.
By the way what is the link between openstack packages and dev-python/confluent-kafka ?
Il Dom 27 Feb 2022, 10:34 Anatoly Oreshkin <anatoly.oreshkin@gmail.com>
ha scritto:
сб, 26 февр. 2022 г. в 03:40, Alessandro Barbieri <
lssndrbarbieri@gmail.com>:
Il giorno mar 22 feb 2022 alle ore 08:02 Anatoly Oreshkin <
anatoly.oreshkin@gmail.com> ha scritto:
Hello,
I am a newbie to Gentoo.
As end user I am using package confluent-kafka from guru repository.
To install it I have performed the following steps in command line:
[...]
6. modify
/var/db/repos/guru/dev-python/confluent-kafka/confluent-kafka-1.7.0.ebuild >>>> change PYTHON_COMPAT=( python3_8 ) -> PYTHON_COMPAT=( python3_9 )
sed -i 's/python3_8/python3_9/g'
/var/db/repos/guru/dev-python/confluent-kafka/confluent-kafka-1.7.0.ebuild >>>>
sorry but you can't do this, you have to stick with python3.8
I plan to update the openstack packages next month after I graduate
If I don't change PYTHON_COMPAT=( python3_8 ) -> PYTHON_COMPAT=(
python3_9 ) then
I will not able to install dev-python/confluent-kafka using emerge.
This isn't true, I can install it as-is in my system and in my test chroot. You have to set your python targets to python3.8
Installing (42 of 42) dev-python/confluent-kafka-1.7.0::guru
Recording dev-python/confluent-kafka in "world" favorites file...
Auto-cleaning packages...
No outdated packages were found on your system.
By the way what is the link between openstack packages and
dev-python/confluent-kafka ?
confluent-kafka is a test dependency
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr">Il giorno mar 22 feb 2022 alle ore 08:02 Anatoly Oreshkin <<a href="mailto:anatoly.oreshkin@gmail.com" rel="noreferrer" target="_blank">anatoly.oreshkin@gmail.com</a>> ha scritto:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir=
<br></div><div>Now package dev-python/confluent-kafka with python 3.8 is installed</div><div><br></div><div>emerge --search confluent-kafka</div><div> dev-python/confluent-kafka<br> Latest version available: 1.7.0<br> Latest versioninstalled: 1.7.0<br> Size of files: 101 KiB<br> Homepage: <a href="https://pypi.org/project/confluent-kafka">https://pypi.org/project/confluent-kafka</a> <a href="https://github.com/confluentinc/confluent-kafka-python">https://
</div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto"><div dir="auto"></div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);
вт, 1 мар. 2022 г. в 03:18, Alessandro Barbieri <lssndrbarbieri@gmail.com
:
Il Dom 27 Feb 2022, 10:34 Anatoly Oreshkin <anatoly.oreshkin@gmail.com>The version of python installed in my local gentoo installation is
ha scritto:
сб, 26 февр. 2022 г. в 03:40, Alessandro Barbieri <
lssndrbarbieri@gmail.com>:
Il giorno mar 22 feb 2022 alle ore 08:02 Anatoly Oreshkin <
anatoly.oreshkin@gmail.com> ha scritto:
Hello,
I am a newbie to Gentoo.
As end user I am using package confluent-kafka from guru repository. >>>>> To install it I have performed the following steps in command line:
[...]
6. modify
/var/db/repos/guru/dev-python/confluent-kafka/confluent-kafka-1.7.0.ebuild
change PYTHON_COMPAT=( python3_8 ) -> PYTHON_COMPAT=( python3_9 )
sed -i 's/python3_8/python3_9/g'
/var/db/repos/guru/dev-python/confluent-kafka/confluent-kafka-1.7.0.ebuild
sorry but you can't do this, you have to stick with python3.8
I plan to update the openstack packages next month after I graduate
If I don't change PYTHON_COMPAT=( python3_8 ) -> PYTHON_COMPAT=(
python3_9 ) then
I will not able to install dev-python/confluent-kafka using emerge.
This isn't true, I can install it as-is in my system and in my test
chroot.
You have to set your python targets to python3.8
localhost ~ # python3 --version
Python 3.9.9
therefore I changed PYTHON_COMPAT=( python3_8 ) -> PYTHON_COMPAT=( python3_9 )
What is wrong with changing PYTHON_COMPAT=( python3_8 ) ->
PYTHON_COMPAT=( python3_9 ) ?
I have tested confluent-kafka installed with python3_9 and i works !
Nevertheless I have followed your advice.
As far as I understood you I did the following steps:
1. Created the file /etc/portage/package.use/confluent-kafka: dev-python/confluent-kafka PYTHON_TARGETS: -* python3_8
2. emerge --autounmask-write dev-python/confluent-kafka
Autounmask changes successfully written.
* IMPORTANT: config file '/etc/portage/package.use/grub' needs updating.
* See the CONFIGURATION FILES and CONFIGURATION FILES UPDATE TOOLS
* sections of the emerge man page to learn how to update config files.
3. etc-update
The following is the list of files which need updating, each
configuration file is followed by a list of possible replacement files.
1) /etc/portage/package.use/grub (1)
Please select a file to edit by entering the corresponding number.
(don't use -3, -5, -7 or -9 if you're unsure what to do)
(-1 to exit) (-3 to auto merge all files)
(-5 to auto-merge AND not use 'mv -i')
(-7 to discard all updates)
(-9 to discard all updates AND not use 'rm
-i'): -3
Replacing /etc/portage/package.use/grub with /etc/portage/package.use/._cfg0000_grub
mv: overwrite '/etc/portage/package.use/grub'? yes
Exiting: Nothing left to do; exiting. :)
4. emerge --autounmask-write dev-python/confluent-kafka
...
running install_scripts
* Using python3.8 in global scope
* python3_8: running distutils-r1_run_phase
distutils-r1_python_install_all
...Completed installing dev-python/confluent-kafka-1.7.0 into /var/tmp/portage/dev-python/confluent-kafka-1.7.0/image
Installing (42 of 42) dev-python/confluent-kafka-1.7.0::guru
Recording dev-python/confluent-kafka in "world" favorites file...
Auto-cleaning packages...
No outdated packages were found on your system.
Now package dev-python/confluent-kafka with python 3.8 is installed
emerge --search confluent-kafka
dev-python/confluent-kafka
Latest version available: 1.7.0
Latest version installed: 1.7.0
Size of files: 101 KiB
Homepage: https://pypi.org/project/confluent-kafka https://github.com/confluentinc/confluent-kafka-python
Description: Confluent's Kafka Python Client
License: Apache-2.0
Is this correct ?
By the way what is the link between openstack packages and
dev-python/confluent-kafka ?
confluent-kafka is a test dependency
<br></div><div>Now package dev-python/confluent-kafka with python 3.8 is installed</div><div><br></div><div>emerge --search confluent-kafka</div><div> dev-python/confluent-kafka<br> Latest version available: 1.7.0<br> Latest versioninstalled: 1.7.0<br> Size of files: 101 KiB<br> Homepage: <a href="https://pypi.org/project/confluent-kafka" target="_blank" rel="noreferrer">https://pypi.org/project/confluent-kafka</a> <a href="https://github.com/confluentinc/
</div></blockquote></div></div><div dir="auto"><br></div><div dir="auto">confluent-kafka is a test dependency</div></div></blockquote></div></div></blockquote></div></div><div dir="auto"><br></div><div dir="auto">BTW now confluent-kafka::guru is alsoavailable for python3.9</div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 302 |
Nodes: | 16 (2 / 14) |
Uptime: | 100:50:47 |
Calls: | 6,767 |
Calls today: | 5 |
Files: | 12,295 |
Messages: | 5,376,432 |
Posted today: | 1 |