Bug 24722

Summary: python-serial update request
Product: Mageia Reporter: Jybz <j.biernacki+mga>
Component: RPM PackagesAssignee: Mageia Bug Squad <bugsquad>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Normal CC: geiger.david68210, marja11
Version: 7   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Source RPM: python3-serial CVE:
Status comment:

Description Jybz 2019-04-26 13:44:35 CEST
Hi all !

I need some function of serial-py for a software.
This function is not currently in our package :

$ rpm -qa | grep python3-serial
python3-serial-2.7-6.mga7

From the web page :
2.7 : Oct 17, 2013
https://pypi.org/project/pyserial/#history

The current version of pyserial is :
3.4 : Jul 23, 2017

Is it possible to update it ?

Can I install it throw pip, without any conflict with rpm system ?
Comment 1 Jybz 2019-04-26 13:53:06 CEST
BTW,

after installing Mageia, I have python installed.
There is a "pip" command, but it is inconsistent.
I mean, pip file exist, but there is nothing behind.

More informations :


[root@localhost jybz]# whereis pip
pip: /usr/bin/pip /usr/bin/pip2.7
(Then, pip exist)

[root@localhost jybz]# ls /usr/bin/pip
/usr/bin/pip*
(pip is not a symbolic link)


[root@localhost jybz]# cat /usr/bin/pip
#!/usr/bin/python3
# -*- coding: utf-8 -*-
import re
import sys
from pip._internal import main
if __name__ == '__main__':
    sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])
    sys.exit(main())
(Pip is a python script, so we can think that it is installed.)


[root@localhost jybz]# pip -v
Traceback (most recent call last):
  File "/usr/bin/pip", line 7, in <module>
    from pip._internal import main
(The pip command failed)


[root@localhost jybz]# urpmi python3-pip
Pour satisfaire les dépendances, les paquetages suivants vont être installés :
  Paquetage                      Version      Révision      Arch    
(média « Core Release »)
  python3-pip                    19.0.3       1.mga7        noarch  
  python3-pkg-resources          41.0.0       1.mga7        noarch  
  python3-setuptools             41.0.0       1.mga7        noarch  
un espace additionnel de 10Mo sera utilisé.
2.2Mo de paquets seront récupérés.
Procéder à l'installation des 3 paquetages ? (O/n) 
(The pip package is not installed.)
Comment 2 David GEIGER 2019-04-26 15:04:02 CEST
Freeze push requested for Cauldron!

CC: (none) => geiger.david68210

Jani Välimaa 2019-04-26 15:30:23 CEST

Summary: update request => python-serial update request

Comment 3 Marja Van Waes 2019-04-26 21:17:32 CEST
(In reply to David GEIGER from comment #2)
> Freeze push requested for Cauldron!

Thanks, David.

python-serial-3.4-1.mga7 was pushed by Akien

Resolution: (none) => FIXED
Status: NEW => RESOLVED
CC: (none) => marja11