[Bug 1759985] [NEW] can python-crypto and pycryptodome co-exist?

Seth Arnold 1759985 at bugs.launchpad.net
Fri Mar 30 01:48:59 UTC 2018


Public bug reported:

Hello,

The pycryptodome docs have:

> The installation procedure depends on the package you want the library in.
> PyCryptodome can be used as:
>$
> #. **a drop-in replacement for the old PyCrypto library**.
>    You install it with::
>$
>        pip install pycryptodome
> $$$
>    In this case, all modules are installed under the ``Crypto`` package.
> $$$$
>    One must avoid having both PyCrypto and PyCryptodome installed
>    at the same time, as they will interfere with each other.
>$
>    This option is therefore recommended only when you are sure that
>    the whole application is deployed in a ``virtualenv``.
>$
> #. **a library independent of the old PyCrypto**.
>    You install it with::
>$
>        pip install pycryptodomex
> $$$
>    In this case, all modules are installed under the ``Cryptodome`` package.
>    PyCrypto and PyCryptodome can coexist.
>$

Currently there's no Breaks or Conflicts lines in either package:

$ grep -e Break -e Conflict pycryptodome/bionic/pycryptodome-3.4.7/debian/* python-crypto/bionic/python-crypto-2.6.1/debian/*
grep: pycryptodome/bionic/pycryptodome-3.4.7/debian/patches: Is a directory
grep: pycryptodome/bionic/pycryptodome-3.4.7/debian/source: Is a directory
grep: pycryptodome/bionic/pycryptodome-3.4.7/debian/tests: Is a directory
grep: pycryptodome/bionic/pycryptodome-3.4.7/debian/upstream: Is a directory
python-crypto/bionic/python-crypto-2.6.1/debian/changelog:    - Remove obsolete Breaks+Replaces
python-crypto/bionic/python-crypto-2.6.1/debian/changelog:  * Drop obsolete Conflicts/Replaces with python2.3-crypto and
python-crypto/bionic/python-crypto-2.6.1/debian/changelog:    - Add Breaks python{,3}-keyring (<= 0.7.1-1) to python{,3}-crypto.
grep: python-crypto/bionic/python-crypto-2.6.1/debian/patches: Is a directory
grep: python-crypto/bionic/python-crypto-2.6.1/debian/source: Is a directory
grep: python-crypto/bionic/python-crypto-2.6.1/debian/tests: Is a directory


Can these two packages be installed side-by-side? Or is this something 
that matters only to 'pip' installs?

Thanks

** Affects: pycryptodome (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: python-crypto (Ubuntu)
     Importance: Undecided
         Status: New

** Also affects: python-crypto (Ubuntu)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to pycryptodome in Ubuntu.
https://bugs.launchpad.net/bugs/1759985

Title:
  can python-crypto and pycryptodome co-exist?

Status in pycryptodome package in Ubuntu:
  New
Status in python-crypto package in Ubuntu:
  New

Bug description:
  Hello,

  The pycryptodome docs have:

  > The installation procedure depends on the package you want the library in.
  > PyCryptodome can be used as:
  >$
  > #. **a drop-in replacement for the old PyCrypto library**.
  >    You install it with::
  >$
  >        pip install pycryptodome
  > $$$
  >    In this case, all modules are installed under the ``Crypto`` package.
  > $$$$
  >    One must avoid having both PyCrypto and PyCryptodome installed
  >    at the same time, as they will interfere with each other.
  >$
  >    This option is therefore recommended only when you are sure that
  >    the whole application is deployed in a ``virtualenv``.
  >$
  > #. **a library independent of the old PyCrypto**.
  >    You install it with::
  >$
  >        pip install pycryptodomex
  > $$$
  >    In this case, all modules are installed under the ``Cryptodome`` package.
  >    PyCrypto and PyCryptodome can coexist.
  >$

  Currently there's no Breaks or Conflicts lines in either package:

  $ grep -e Break -e Conflict pycryptodome/bionic/pycryptodome-3.4.7/debian/* python-crypto/bionic/python-crypto-2.6.1/debian/*
  grep: pycryptodome/bionic/pycryptodome-3.4.7/debian/patches: Is a directory
  grep: pycryptodome/bionic/pycryptodome-3.4.7/debian/source: Is a directory
  grep: pycryptodome/bionic/pycryptodome-3.4.7/debian/tests: Is a directory
  grep: pycryptodome/bionic/pycryptodome-3.4.7/debian/upstream: Is a directory
  python-crypto/bionic/python-crypto-2.6.1/debian/changelog:    - Remove obsolete Breaks+Replaces
  python-crypto/bionic/python-crypto-2.6.1/debian/changelog:  * Drop obsolete Conflicts/Replaces with python2.3-crypto and
  python-crypto/bionic/python-crypto-2.6.1/debian/changelog:    - Add Breaks python{,3}-keyring (<= 0.7.1-1) to python{,3}-crypto.
  grep: python-crypto/bionic/python-crypto-2.6.1/debian/patches: Is a directory
  grep: python-crypto/bionic/python-crypto-2.6.1/debian/source: Is a directory
  grep: python-crypto/bionic/python-crypto-2.6.1/debian/tests: Is a directory

  
  Can these two packages be installed side-by-side? Or is this something 
  that matters only to 'pip' installs?

  Thanks

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pycryptodome/+bug/1759985/+subscriptions



More information about the Ubuntu-openstack-bugs mailing list