Bug 1161516 - current version of python3-pyserial cannot be used as a dependency in setup.py files
Summary: current version of python3-pyserial cannot be used as a dependency in setup.p...
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: pyserial
Version: 22
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Paul P Komkoff Jr
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-11-07 09:41 UTC by Johnny Robeson
Modified: 2016-07-19 12:22 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2016-07-19 12:22:53 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Johnny Robeson 2014-11-07 09:41:54 UTC
Description of problem:

I'm very new to python packaging, so i might mess this description up, so bear with me.

The version of pyserial in fedora 20 includes a -py3k extra package tag which means that other python3 packags that simply require pyserial will not find the correct dependency (pyserial)

This problem is fixed in this commit: http://sourceforge.net/p/pyserial/code/466/

Can pyserial in fedora 20 be bumped to a version that includes this fix?

Version-Release number of selected component (if applicable):
python3-pyserial-2.6.7

How reproducible:


Steps to Reproduce:
1. write a python 3 package with pyserial as a dependency
2. create an rpm depending on python3-pyserial (with console entry point)
3. build/install rpm
4 . run console script

Actual results:

Traceback (most recent call last):
  File "/bin/htdataclient", line 5, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib/python3.3/site-packages/pkg_resources.py", line 2793, in <module>
    working_set.require(__requires__)
  File "/usr/lib/python3.3/site-packages/pkg_resources.py", line 673, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib/python3.3/site-packages/pkg_resources.py", line 576, in resolve
    raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: pyserial>=2.6

Comment 1 Johnny Robeson 2014-11-07 09:42:51 UTC
oh. i should mention that i discovered this by browsing site-packages and seeing pyserial_py3k-2.6-py3.3.egg-info

Comment 2 Fedora End Of Life 2015-05-29 13:14:45 UTC
This message is a reminder that Fedora 20 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 20. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '20'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 20 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 3 Johnny Robeson 2015-05-29 21:21:31 UTC
as far as i can tell, this doesn't seem to be fixed in Fedora 22 either.

Comment 4 Johnny Robeson 2015-09-25 07:41:11 UTC
ping?

Comment 5 Paul P Komkoff Jr 2015-09-25 08:34:03 UTC
This is interesting, because in https://bodhi.fedoraproject.org/updates/FEDORA-2015-3391 I submitted 2.7 which contains the fix.

Comment 6 Johnny Robeson 2015-09-25 10:14:49 UTC
i just pinged because the bug was still open. I had to roll my own rpm with the fix, so I haven't tested yours. If it's fixed in the fedora package, then you should close it.

BTW: pyserial upstream has moved to github: https://github.com/pyserial/pyserial

Comment 7 Johnny Robeson 2015-10-02 01:50:06 UTC
2.7 did not contain some fixes for python 3.x you need at least r503 http://sourceforge.net/p/pyserial/code/503/, but I'd suggest updating to r507 (or 508) until 3.x is released

Comment 8 Fedora End Of Life 2016-07-19 12:22:53 UTC
Fedora 22 changed to end-of-life (EOL) status on 2016-07-19. Fedora 22 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.


Note You need to log in before you can comment on or make changes to this bug.