Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 619344 - dev-python/pickleshare: missing dep on pathlib2?
Summary: dev-python/pickleshare: missing dep on pathlib2?
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 619328
  Show dependency tree
 
Reported: 2017-05-22 08:33 UTC by Michał Górny
Modified: 2020-05-31 11:56 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2017-05-22 08:33:57 UTC
set(['pickleshare']) MISSING pathlib2

I'm going to guess someone bumped without rechecking deps...
Comment 1 Marius Brehler 2017-05-22 10:01:23 UTC
Actually, pickleshare.py tries to import pathlib and if it fails pathlib2 is imported, which is only required for python2_7, or rather python < 3_4. So far, the ebuild depended on pathlib. For version 0.7.4 this dependency now replaced by pathlib2 as intended by upstream.

However, as pathlib2 is not yet stabilized (and properly should be version bumped before), this is not possible for the stabilized pickleshare 0.7.3 version. It might be okay to rely on pathlib instead of pathlib2, but I am not fully aware of functional differences between the two packages.


https://github.com/gentoo/gentoo/pull/4710
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2017-05-22 12:01:58 UTC
Let's wait for upstream's reply. If it works with pathlib, there's really no point in forcing pathlib2 as well.
Comment 3 Marius Brehler 2017-05-31 11:29:08 UTC
Fixed now for the latest (unstable) version in the tree.


commit af88e1c95afd31d32eb977885aed2996bfad4ecf
Author:     Marius Brehler <marbre@linux.sungazer.de>
AuthorDate: Mon May 22 11:51:38 2017 +0200
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: Mon May 22 18:41:25 2017 +0200

    dev-python/pickleshare: Depend on pathlib2 instead of pathlib

    Bug: https://bugs.gentoo.org/619344
    Closes: https://github.com/gentoo/gentoo/pull/4710
    Package-Manager: Portage-2.3.5, Repoman-2.3.1