Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 611568 (pycryptodome-tracker) - dev-python/pycryptodome migration
Summary: dev-python/pycryptodome migration
Status: CONFIRMED
Alias: pycryptodome-tracker
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords: Tracker
Depends on: 611572 611594 611600 611602 611608 611610 611626 611642 611644 611648 613760 611570 611574 611576 611578 611580 611582 611584 611586 611588 611590 611592 611596 611598 611604 611606 611612 611614 611616 611618 611620 611622 611624 611628 611630 611632 611634 611636 611638 611640 611646 611650 669658
Blocks:
  Show dependency tree
 
Reported: 2017-03-03 23:08 UTC by Michał Górny
Modified: 2019-07-30 05:34 UTC (History)
2 users (show)

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-03-03 23:08:55 UTC
dev-python/pycryptodome is a fork of discontinued dev-python/pycrypto. Since the latter is dead since 2014, it'd be reasonable to replace its uses with the former.

As usual, the packages are partially compatible and block one another. What to do:

1. If the package works both with pycrypto and pycryptodome, and does not use pkg_resources or any other magic to enforce a particular package, you can just add ||-dep like:

  || ( dev-python/pycryptodome[${PYTHON_USEDEP}] dev-python/pycrypto[${PYTHON_USEDEP}] )

2. If the code works both with pycrypto and pycryptodome but pkg_resources enforce pycrypto, send a trivial patch upstream to switch to pycryptodome and then we can switch as well.

3. If the code does not work with pycryptodome, I'm afraid you'll end up having to prepare a bigger patch that updates the code to use the new APIs.
Comment 1 Chí-Thanh Christopher Nguyễn gentoo-dev 2017-03-06 13:11:48 UTC
commit 82c3d61152a5527a0f68869918c92ee2d0e46b51
Author: Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org>
Date:   Mon Mar 6 14:10:09 2017 +0100

    app-forensics/volatility: version bump, allow building against pycryptodome
    
    Bug: https://bugs.gentoo.org/show_bug.cgi?id=599056
    Bug: https://bugs.gentoo.org/show_bug.cgi?id=611582
    
    Package-Manager: Portage-2.3.3, Repoman-2.3.1
Comment 2 Jeroen Roovers gentoo-dev 2017-03-25 07:34:41 UTC
I see no keyword request for the remainder of the architectures. Only amd64 and x86 have keywords now. If you want to end the migration this year, you might want to start that up now.
Comment 3 Jeroen Roovers gentoo-dev 2017-03-25 07:36:58 UTC
(In reply to Jeroen Roovers from comment #2)
> If you want to end the migration this year

end => finish
Comment 4 ephemer0l 2017-06-02 20:50:34 UTC
620458 depends on this bug